From 6d68ce034f7fa49046ac95f3b1ec9d2e69764640 Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Sat, 19 Sep 2020 08:12:18 +0700 Subject: [PATCH] add jest and publish --- dist/__test__/index.d.ts | 1 - dist/__test__/index.js | 4 - dist/src/index.d.ts | 1 - dist/src/index.js | 8 -- dist/src/useCountdown.d.ts | 12 -- dist/src/useCountdown.js | 54 --------- package.json | 223 ++++++++++++++++++------------------- 7 files changed, 111 insertions(+), 192 deletions(-) delete mode 100644 dist/__test__/index.d.ts delete mode 100644 dist/__test__/index.js delete mode 100644 dist/src/index.d.ts delete mode 100644 dist/src/index.js delete mode 100644 dist/src/useCountdown.d.ts delete mode 100644 dist/src/useCountdown.js diff --git a/dist/__test__/index.d.ts b/dist/__test__/index.d.ts deleted file mode 100644 index d8dae6f..0000000 --- a/dist/__test__/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare function sumTest(): void; diff --git a/dist/__test__/index.js b/dist/__test__/index.js deleted file mode 100644 index 2156781..0000000 --- a/dist/__test__/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -function sumTest() { - console.log(1 + 2); -} diff --git a/dist/src/index.d.ts b/dist/src/index.d.ts deleted file mode 100644 index 0174f99..0000000 --- a/dist/src/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export { default as useCountdown } from './useCountdown'; diff --git a/dist/src/index.js b/dist/src/index.js deleted file mode 100644 index 03a1634..0000000 --- a/dist/src/index.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.useCountdown = void 0; -var useCountdown_1 = require("./useCountdown"); -Object.defineProperty(exports, "useCountdown", { enumerable: true, get: function () { return __importDefault(useCountdown_1).default; } }); diff --git a/dist/src/useCountdown.d.ts b/dist/src/useCountdown.d.ts deleted file mode 100644 index d1c80e9..0000000 --- a/dist/src/useCountdown.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -interface useCountdownOptions { - now?: () => Date; - onEnd?: () => void; - onCount?: (timeLeft: number) => void; - step?: number; -} -interface CountdownHookResult { - timeleft: number; - start: (timeLeft: number) => void; -} -declare function useCountdown(options?: useCountdownOptions): CountdownHookResult; -export default useCountdown; diff --git a/dist/src/useCountdown.js b/dist/src/useCountdown.js deleted file mode 100644 index e1c8f47..0000000 --- a/dist/src/useCountdown.js +++ /dev/null @@ -1,54 +0,0 @@ -"use strict"; -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -var react_1 = __importDefault(require("react")); -var DEFAULT_OPTIONS = { - step: 1000, -}; -function useCountdown(options) { - var _a = react_1.default.useState(), timeleft = _a[0], setTimeleft = _a[1]; - var _b = react_1.default.useState(), targetDatetime = _b[0], setTargetDatetime = _b[1]; - var _c = __assign(__assign({}, DEFAULT_OPTIONS), options), step = _c.step, onCount = _c.onCount, onEnd = _c.onEnd; - var start = function (countAsM) { - setTimeleft(countAsM); - }; - var varTimeout = null; - react_1.default.useEffect(function () { - return function () { return clearTimeout(varTimeout); }; - }, []); - react_1.default.useEffect(function () { - if (timeleft === undefined) { - return; - } - var newTimeleft = timeleft - step; - if (newTimeleft < 0) { - setTimeleft(0); - onEnd === null || onEnd === void 0 ? void 0 : onEnd(); - } - else { - onCount === null || onCount === void 0 ? void 0 : onCount(timeleft); - varTimeout = setTimeout(function () { - setTimeleft(newTimeleft); - }, step); - } - }, [timeleft]); - var result = { - timeleft: timeleft || 0, - start: start, - }; - return result; -} -exports.default = useCountdown; diff --git a/package.json b/package.json index 4252418..da454d8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cubetiq/react-use-countdown", - "version": "1.0.1", + "version": "1.0.6", "description": "Count down with trigger", "main": "./dist/index.js", "types": "./dist/index.d.ts", @@ -23,8 +23,7 @@ "build": "tsc", "test": "jest", "build:test": "yarn test && yarn build", - "publish": "yarn build:test && npm publish --registry https://npm.osa.cubetiqs.com", - "publish:npm": "yarn build && npm publish --registry https://registry.npmjs.com", + "publish": "yarn build:test && npm publish --registry https://registry.npmjs.com", "run:example": "cd example && yarn start" }, "devDependencies": { @@ -66,8 +65,9 @@ }, "dependencies": { "abab": "^2.0.5", - "acorn-jsx": "^5.3.1", + "acorn": "^7.4.0", "acorn-globals": "^6.0.0", + "acorn-jsx": "^5.3.1", "acorn-walk": "^7.2.0", "aggregate-error": "^3.1.0", "ajv": "^6.12.5", @@ -75,91 +75,91 @@ "ansi-escapes": "^4.3.1", "ansi-regex": "^5.0.0", "ansi-styles": "^4.2.1", - "arr-diff": "^4.0.0", "anymatch": "^3.1.1", + "argparse": "^1.0.10", + "arr-diff": "^4.0.0", "arr-flatten": "^1.1.0", "arr-union": "^3.1.0", "array-unique": "^0.3.2", - "argparse": "^1.0.10", - "assert-plus": "^1.0.0", "asn1": "^0.2.4", + "assert-plus": "^1.0.0", "assign-symbols": "^1.0.0", "astral-regex": "^2.0.0", - "atob": "^2.1.2", "asynckit": "^0.4.0", + "atob": "^2.1.2", "aws-sign2": "^0.7.0", "aws4": "^1.10.1", "babel-plugin-dynamic-import-node": "^2.3.3", "babel-plugin-istanbul": "^6.0.0", "babel-plugin-jest-hoist": "^26.2.0", - "babel-preset-jest": "^26.3.0", "babel-preset-current-node-syntax": "^0.1.3", + "babel-preset-jest": "^26.3.0", "balanced-match": "^1.0.0", "base": "^0.11.2", "bcrypt-pbkdf": "^1.0.2", "brace-expansion": "^1.1.11", "braces": "^3.0.2", "browser-process-hrtime": "^1.0.0", - "bs-logger": "^0.2.6", "browserslist": "^4.14.2", + "bs-logger": "^0.2.6", "bser": "^2.1.1", "buffer-from": "^1.1.1", "cache-base": "^1.0.1", - "camelcase": "^5.3.1", "callsites": "^3.1.0", + "camelcase": "^5.3.1", "caniuse-lite": "^1.0.30001131", "capture-exit": "^2.0.0", "caseless": "^0.12.0", + "chalk": "^4.1.0", "char-regex": "^1.0.2", "ci-info": "^2.0.0", - "chalk": "^4.1.0", "class-utils": "^0.3.6", "clean-stack": "^2.2.0", + "cli-cursor": "^3.1.0", "cli-truncate": "^2.1.0", "cliui": "^6.0.0", - "cli-cursor": "^3.1.0", + "co": "^4.6.0", "collect-v8-coverage": "^1.0.1", "collection-visit": "^1.0.0", - "co": "^4.6.0", "color-convert": "^2.0.1", + "color-name": "^1.1.4", "combined-stream": "^1.0.8", "commander": "^6.1.0", - "component-emitter": "^1.3.0", "compare-versions": "^3.6.0", + "component-emitter": "^1.3.0", "concat-map": "^0.0.1", - "copy-descriptor": "^0.1.1", "convert-source-map": "^1.7.0", + "copy-descriptor": "^0.1.1", "core-js-compat": "^3.6.5", "core-util-is": "^1.0.2", "cosmiconfig": "^7.0.0", - "color-name": "^1.1.4", "cross-spawn": "^7.0.3", "cssom": "^0.4.4", "cssstyle": "^2.3.0", "csstype": "^3.0.3", "dashdash": "^1.14.1", "data-urls": "^2.0.0", - "decamelize": "^1.2.0", "debug": "^4.1.1", - "decode-uri-component": "^0.2.0", + "decamelize": "^1.2.0", "decimal.js": "^10.2.0", + "decode-uri-component": "^0.2.0", "dedent": "^0.7.0", "deep-is": "^0.1.3", "deepmerge": "^4.2.2", "define-properties": "^1.1.3", "define-property": "^0.2.5", - "detect-newline": "^3.1.0", "delayed-stream": "^1.0.0", + "detect-newline": "^3.1.0", "diff-sequences": "^26.3.0", + "doctrine": "^3.0.0", "domexception": "^2.0.1", "ecc-jsbn": "^0.1.2", - "doctrine": "^3.0.0", "electron-to-chromium": "^1.3.570", - "emoji-regex": "^8.0.0", "emittery": "^0.7.1", - "error-ex": "^1.3.2", + "emoji-regex": "^8.0.0", "end-of-stream": "^1.4.4", "enquirer": "^2.3.6", + "error-ex": "^1.3.2", "es-abstract": "^1.18.0-next.0", "es-to-primitive": "^1.2.1", "escalade": "^3.1.0", @@ -167,11 +167,11 @@ "escodegen": "^1.14.3", "eslint-scope": "^5.1.1", "eslint-utils": "^2.1.0", - "espree": "^7.3.0", "eslint-visitor-keys": "^1.3.0", + "espree": "^7.3.0", + "esprima": "^4.0.1", "esquery": "^1.3.1", "esrecurse": "^4.3.0", - "esprima": "^4.0.1", "estraverse": "^4.3.0", "esutils": "^2.0.3", "exec-sh": "^0.3.4", @@ -180,8 +180,8 @@ "expand-brackets": "^2.1.4", "expect": "^26.4.2", "extend": "^3.0.2", - "extglob": "^2.0.4", "extend-shallow": "^2.0.1", + "extglob": "^2.0.4", "extsprintf": "^1.3.0", "fast-deep-equal": "^3.1.3", "fast-diff": "^1.2.0", @@ -191,11 +191,12 @@ "figures": "^3.2.0", "file-entry-cache": "^5.0.1", "fill-range": "^7.0.1", + "find-up": "^4.1.0", + "find-versions": "^3.2.0", "flat-cache": "^2.0.1", "flatted": "^2.0.2", "for-in": "^1.0.2", "forever-agent": "^0.6.1", - "find-up": "^4.1.0", "form-data": "^2.3.3", "fragment-cache": "^0.2.1", "fs.realpath": "^1.0.0", @@ -203,10 +204,9 @@ "functional-red-black-tree": "^1.0.1", "gensync": "^1.0.0-beta.1", "get-caller-file": "^2.0.5", - "find-versions": "^3.2.0", "get-own-enumerable-property-symbols": "^3.0.2", - "get-stdin": "^6.0.0", "get-package-type": "^0.1.0", + "get-stdin": "^6.0.0", "get-stream": "^5.2.0", "get-value": "^2.0.6", "getpass": "^0.1.7", @@ -219,9 +219,9 @@ "har-validator": "^5.1.5", "has": "^1.0.3", "has-flag": "^4.0.0", + "has-symbols": "^1.0.1", "has-value": "^1.0.0", "has-values": "^1.0.0", - "has-symbols": "^1.0.1", "hosted-git-info": "^2.8.8", "html-encoding-sniffer": "^2.0.1", "html-escaper": "^2.0.2", @@ -229,8 +229,8 @@ "human-signals": "^1.1.1", "iconv-lite": "^0.4.24", "ignore": "^4.0.6", - "import-local": "^3.0.2", "import-fresh": "^3.2.1", + "import-local": "^3.0.2", "imurmurhash": "^0.1.4", "indent-string": "^4.0.0", "inflight": "^1.0.6", @@ -240,15 +240,15 @@ "is-accessor-descriptor": "^1.0.0", "is-arrayish": "^0.2.1", "is-buffer": "^1.1.6", - "is-ci": "^2.0.0", "is-callable": "^1.2.1", + "is-ci": "^2.0.0", "is-data-descriptor": "^1.0.0", - "is-descriptor": "^1.0.2", "is-date-object": "^1.0.2", - "is-extendable": "^0.1.1", + "is-descriptor": "^1.0.2", "is-docker": "^2.1.1", - "is-fullwidth-code-point": "^3.0.0", + "is-extendable": "^0.1.1", "is-extglob": "^2.1.1", + "is-fullwidth-code-point": "^3.0.0", "is-generator-fn": "^2.1.0", "is-glob": "^4.0.1", "is-negative-zero": "^2.0.0", @@ -262,8 +262,8 @@ "is-symbol": "^1.0.3", "is-typedarray": "^1.0.0", "is-windows": "^1.0.2", - "isarray": "^1.0.0", "is-wsl": "^2.2.0", + "isarray": "^1.0.0", "isexe": "^2.0.0", "isobject": "^3.0.1", "isstream": "^0.1.2", @@ -271,15 +271,15 @@ "istanbul-lib-instrument": "^4.0.3", "istanbul-lib-report": "^3.0.0", "istanbul-lib-source-maps": "^4.0.0", - "jest-changed-files": "^26.3.0", "istanbul-reports": "^3.0.2", + "jest-changed-files": "^26.3.0", "jest-cli": "^26.4.2", - "jest-diff": "^26.4.2", "jest-config": "^26.4.2", + "jest-diff": "^26.4.2", "jest-docblock": "^26.0.0", - "jest-environment-node": "^26.3.0", "jest-each": "^26.4.2", "jest-environment-jsdom": "^26.3.0", + "jest-environment-node": "^26.3.0", "jest-get-type": "^26.3.0", "jest-haste-map": "^26.3.0", "jest-jasmine2": "^26.4.2", @@ -287,14 +287,14 @@ "jest-matcher-utils": "^26.4.2", "jest-message-util": "^26.3.0", "jest-mock": "^26.3.0", - "jest-regex-util": "^26.0.0", "jest-pnp-resolver": "^1.2.2", + "jest-regex-util": "^26.0.0", "jest-resolve": "^26.4.0", - "jest-runner": "^26.4.2", "jest-resolve-dependencies": "^26.4.2", + "jest-runner": "^26.4.2", "jest-runtime": "^26.4.2", - "jest-snapshot": "^26.4.2", "jest-serializer": "^26.3.0", + "jest-snapshot": "^26.4.2", "jest-util": "^26.3.0", "jest-validate": "^26.4.2", "jest-watcher": "^26.3.0", @@ -303,44 +303,45 @@ "js-yaml": "^3.14.0", "jsbn": "^0.1.1", "jsdom": "^16.4.0", - "json-parse-even-better-errors": "^2.3.1", "jsesc": "^2.5.2", + "json-parse-even-better-errors": "^2.3.1", "json-schema": "^0.2.3", "json-schema-traverse": "^0.4.1", "json-stable-stringify-without-jsonify": "^1.0.1", "json-stringify-safe": "^5.0.1", - "jsprim": "^1.4.1", "json5": "^2.1.3", + "jsprim": "^1.4.1", "kind-of": "^3.2.2", "kleur": "^3.0.3", "leven": "^3.1.0", + "levenary": "^1.1.1", "levn": "^0.4.1", "lines-and-columns": "^1.1.6", "listr2": "^2.6.2", "locate-path": "^5.0.0", - "lodash.memoize": "^4.1.2", "lodash": "^4.17.20", + "lodash.memoize": "^4.1.2", "lodash.sortby": "^4.7.0", - "log-update": "^4.0.0", "log-symbols": "^4.0.0", + "log-update": "^4.0.0", "loose-envify": "^1.4.0", - "make-error": "^1.3.6", "make-dir": "^3.1.0", + "make-error": "^1.3.6", + "makeerror": "^1.0.11", "map-cache": "^0.2.2", "map-visit": "^1.0.0", "merge-stream": "^2.0.0", "micromatch": "^4.0.2", "mime-db": "^1.44.0", - "makeerror": "^1.0.11", "mime-types": "^2.1.27", - "minimatch": "^3.0.4", "mimic-fn": "^2.1.0", + "minimatch": "^3.0.4", "minimist": "^1.2.5", "mixin-deep": "^1.3.2", "mkdirp": "^1.0.4", "ms": "^2.1.2", - "natural-compare": "^1.4.0", "nanomatch": "^1.2.13", + "natural-compare": "^1.4.0", "nice-try": "^1.0.5", "node-int64": "^0.4.0", "node-modules-regexp": "^1.0.0", @@ -352,21 +353,21 @@ "nwsapi": "^2.2.0", "oauth-sign": "^0.9.0", "object-copy": "^0.1.0", - "object-visit": "^1.0.1", "object-inspect": "^1.8.0", "object-keys": "^1.1.1", + "object-visit": "^1.0.1", + "object.assign": "^4.1.1", "object.pick": "^1.3.0", "once": "^1.4.0", - "object.assign": "^4.1.1", "onetime": "^5.1.2", "opencollective-postinstall": "^2.0.3", "optionator": "^0.9.1", "p-each-series": "^2.1.0", - "p-limit": "^2.3.0", "p-finally": "^1.0.0", + "p-limit": "^2.3.0", "p-locate": "^4.1.0", - "p-try": "^2.2.0", "p-map": "^4.0.0", + "p-try": "^2.2.0", "parent-module": "^1.0.1", "parse-json": "^5.1.0", "parse5": "^5.1.1", @@ -380,138 +381,138 @@ "picomatch": "^2.2.2", "pirates": "^4.0.1", "pkg-dir": "^4.2.0", - "prelude-ls": "^1.1.2", "please-upgrade-node": "^3.2.0", + "posix-character-classes": "^0.1.1", + "prelude-ls": "^1.1.2", "prettier-linter-helpers": "^1.0.0", "pretty-format": "^26.4.2", - "posix-character-classes": "^0.1.1", + "progress": "^2.0.3", "prompts": "^2.3.2", "psl": "^1.8.0", "pump": "^3.0.0", "punycode": "^2.1.1", "qs": "^6.5.2", "react-is": "^16.13.1", - "read-pkg-up": "^7.0.1", "read-pkg": "^5.2.0", - "regenerate-unicode-properties": "^8.2.0", + "read-pkg-up": "^7.0.1", "regenerate": "^1.4.1", + "regenerate-unicode-properties": "^8.2.0", "regenerator-runtime": "^0.13.7", - "regex-not": "^1.0.2", "regenerator-transform": "^0.14.5", + "regex-not": "^1.0.2", "regexpp": "^3.1.0", - "progress": "^2.0.3", "regexpu-core": "^4.7.0", "regjsgen": "^0.5.2", "regjsparser": "^0.6.4", - "repeat-string": "^1.6.1", + "remove-trailing-separator": "^1.1.0", "repeat-element": "^1.1.3", + "repeat-string": "^1.6.1", "request": "^2.88.2", "request-promise-core": "^1.1.4", - "resolve": "^1.17.0", - "require-directory": "^2.1.1", "request-promise-native": "^1.0.9", + "require-directory": "^2.1.1", "require-main-filename": "^2.0.0", - "resolve-from": "^5.0.0", + "resolve": "^1.17.0", "resolve-cwd": "^3.0.0", - "ret": "^0.1.15", + "resolve-from": "^5.0.0", "resolve-url": "^0.2.1", "restore-cursor": "^3.1.0", - "rsvp": "^4.8.5", + "ret": "^0.1.15", "rimraf": "^3.0.2", + "rsvp": "^4.8.5", "rxjs": "^6.6.3", - "safe-regex": "^1.1.0", "safe-buffer": "^5.2.1", + "safe-regex": "^1.1.0", "safer-buffer": "^2.1.2", - "semver-regex": "^2.0.0", - "saxes": "^5.0.1", "sane": "^4.1.0", + "saxes": "^5.0.1", "semver": "^5.7.1", + "semver-compare": "^1.0.0", + "semver-regex": "^2.0.0", "set-blocking": "^2.0.0", - "shebang-command": "^2.0.0", "set-value": "^2.0.1", + "shebang-command": "^2.0.0", "shebang-regex": "^3.0.0", "shellwords": "^0.1.1", - "slash": "^3.0.0", - "sisteransi": "^1.0.5", "signal-exit": "^3.0.3", - "snapdragon": "^0.8.2", + "sisteransi": "^1.0.5", + "slash": "^3.0.0", "slice-ansi": "^2.1.0", + "snapdragon": "^0.8.2", "snapdragon-node": "^2.1.1", "snapdragon-util": "^3.0.1", - "semver-compare": "^1.0.0", "source-map": "^0.6.1", - "levenary": "^1.1.1", "source-map-resolve": "^0.5.3", - "spdx-correct": "^3.1.1", - "spdx-exceptions": "^2.3.0", "source-map-support": "^0.5.19", "source-map-url": "^0.4.0", + "spdx-correct": "^3.1.1", + "spdx-exceptions": "^2.3.0", "spdx-expression-parse": "^3.0.1", - "split-string": "^3.1.0", "spdx-license-ids": "^3.0.6", + "split-string": "^3.1.0", + "sprintf-js": "^1.0.3", + "sshpk": "^1.16.1", "stack-utils": "^2.0.2", "static-extend": "^0.1.2", - "sshpk": "^1.16.1", - "sprintf-js": "^1.0.3", - "string-argv": "^0.3.1", "stealthy-require": "^1.1.1", + "string-argv": "^0.3.1", "string-length": "^4.0.1", - "string.prototype.trimstart": "^1.0.1", + "string-width": "^4.2.0", "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1", "stringify-object": "^3.3.0", "strip-ansi": "^6.0.0", - "string-width": "^4.2.0", - "strip-eof": "^1.0.0", "strip-bom": "^4.0.0", - "strip-json-comments": "^3.1.1", + "strip-eof": "^1.0.0", "strip-final-newline": "^2.0.0", + "strip-json-comments": "^3.1.1", "supports-color": "^7.2.0", "supports-hyperlinks": "^2.1.0", - "table": "^5.4.6", "symbol-tree": "^3.2.4", - "text-table": "^0.2.0", - "test-exclude": "^6.0.0", - "throat": "^5.0.0", + "table": "^5.4.6", "terminal-link": "^2.1.1", - "tmpl": "^1.0.4", - "to-regex": "^3.0.2", + "test-exclude": "^6.0.0", + "text-table": "^0.2.0", + "throat": "^5.0.0", "through": "^2.3.8", - "to-object-path": "^0.3.0", - "to-regex-range": "^5.0.1", + "tmpl": "^1.0.4", "to-fast-properties": "^2.0.0", - "tr46": "^2.0.2", + "to-object-path": "^0.3.0", + "to-regex": "^3.0.2", + "to-regex-range": "^5.0.1", "tough-cookie": "^2.5.0", + "tr46": "^2.0.2", "tslib": "^1.13.0", - "tunnel-agent": "^0.6.0", "tsutils": "^3.17.1", + "tunnel-agent": "^0.6.0", + "tweetnacl": "^0.14.5", "type-check": "^0.3.2", "type-detect": "^4.0.8", "type-fest": "^0.8.1", "typedarray-to-buffer": "^3.1.5", - "tweetnacl": "^0.14.5", "unicode-canonical-property-names-ecmascript": "^1.0.4", "unicode-match-property-ecmascript": "^1.0.4", - "union-value": "^1.0.1", - "unset-value": "^1.0.0", "unicode-match-property-value-ecmascript": "^1.2.0", "unicode-property-aliases-ecmascript": "^1.1.0", - "urix": "^0.1.0", + "union-value": "^1.0.1", + "unset-value": "^1.0.0", "uri-js": "^4.4.0", + "urix": "^0.1.0", "use": "^3.1.1", + "uuid": "^8.3.0", "v8-compile-cache": "^2.1.1", "v8-to-istanbul": "^5.0.1", - "verror": "^1.10.0", - "uuid": "^8.3.0", - "w3c-hr-time": "^1.0.2", - "walker": "^1.0.7", - "whatwg-encoding": "^1.0.5", - "w3c-xmlserializer": "^2.0.0", "validate-npm-package-license": "^3.0.4", + "verror": "^1.10.0", + "w3c-hr-time": "^1.0.2", + "w3c-xmlserializer": "^2.0.0", + "walker": "^1.0.7", + "webidl-conversions": "^6.1.0", + "whatwg-encoding": "^1.0.5", "whatwg-mimetype": "^2.3.0", "whatwg-url": "^8.2.2", "which": "^2.0.2", "which-module": "^2.0.0", - "webidl-conversions": "^6.1.0", "which-pm-runs": "^1.0.0", "word-wrap": "^1.2.3", "wrap-ansi": "^6.2.0", @@ -519,13 +520,11 @@ "write": "^1.0.3", "write-file-atomic": "^3.0.3", "ws": "^7.3.1", - "y18n": "^4.0.0", - "xmlchars": "^2.2.0", "xml-name-validator": "^3.0.0", - "yargs": "^15.4.1", + "xmlchars": "^2.2.0", + "y18n": "^4.0.0", "yaml": "^1.10.0", - "yargs-parser": "^18.1.3", - "acorn": "^7.4.0", - "remove-trailing-separator": "^1.1.0" + "yargs": "^15.4.1", + "yargs-parser": "^18.1.3" } }