update deps
This commit is contained in:
parent
2b4aea4ffe
commit
75773ce192
4
Makefile
4
Makefile
@ -14,7 +14,7 @@ unittest: node_modules
|
||||
yarn -s run jest --color --watchAll
|
||||
|
||||
build: node_modules
|
||||
yarn -s run ncc build updates.js -q -m -o .
|
||||
yarn -s run ncc build updates.js -q -o .
|
||||
@mv index.js updates
|
||||
|
||||
publish: node_modules
|
||||
@ -23,8 +23,8 @@ publish: node_modules
|
||||
|
||||
update: node_modules build
|
||||
node updates -cu
|
||||
@$(MAKE) --no-print-directory deps
|
||||
@touch yarn.lock
|
||||
@$(MAKE) --no-print-directory deps
|
||||
|
||||
patch: node_modules test
|
||||
yarn -s run versions -Cc 'make build' patch
|
||||
|
@ -30,11 +30,11 @@
|
||||
"ansi-regex": "5.0.0",
|
||||
"del": "6.0.0",
|
||||
"eslint": "7.10.0",
|
||||
"eslint-config-silverwind": "20.0.0",
|
||||
"eslint-config-silverwind": "21.0.0",
|
||||
"execa": "4.0.3",
|
||||
"fetch-enhanced": "4.0.5",
|
||||
"fetch-enhanced": "4.2.1",
|
||||
"hosted-git-info": "3.0.5",
|
||||
"jest": "26.4.2",
|
||||
"jest": "26.5.0",
|
||||
"jest-extended": "0.11.5",
|
||||
"minimist": "1.2.5",
|
||||
"node-fetch": "2.6.1",
|
||||
|
8
test.js
8
test.js
@ -4,15 +4,13 @@ const del = require("del");
|
||||
const execa = require("execa");
|
||||
const restana = require("restana");
|
||||
const tempy = require("tempy");
|
||||
const {bin} = require("./package.json");
|
||||
const {join} = require("path");
|
||||
const {writeFile, readFile} = require("fs").promises;
|
||||
const {isIPv6} = require("net");
|
||||
|
||||
const testFile = "./fixtures/test.json";
|
||||
const testPkg = require(testFile);
|
||||
const testDir = tempy.directory();
|
||||
const script = join(__dirname, bin);
|
||||
const script = join(__dirname, "updates");
|
||||
|
||||
const dependencyTypes = [
|
||||
"dependencies",
|
||||
@ -29,8 +27,8 @@ for (const dependencyType of dependencyTypes) {
|
||||
}
|
||||
|
||||
function makeUrl(server) {
|
||||
const {address, port} = server.address();
|
||||
const hostname = isIPv6(address) ? `[${address}]` : address;
|
||||
const {port} = server.address();
|
||||
const hostname = "localhost";
|
||||
return Object.assign(new URL("http://x"), {hostname, port}).toString();
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env node
|
||||
const ansiRegex = require("ansi-regex");
|
||||
const dns = require("dns");
|
||||
const fetchEnhanced = require("fetch-enhanced");
|
||||
const fetchEnhanced = require("../fetch-enhanced");
|
||||
const minimist = require("minimist");
|
||||
const nodeFetch = require("node-fetch");
|
||||
const rat = require("registry-auth-token");
|
||||
|
24
yarn.lock
24
yarn.lock
@ -332,7 +332,7 @@
|
||||
jest-util "^26.5.0"
|
||||
slash "^3.0.0"
|
||||
|
||||
"@jest/core@^26.4.2", "@jest/core@^26.5.0":
|
||||
"@jest/core@^26.5.0":
|
||||
version "26.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@jest/core/-/core-26.5.0.tgz#32d7caf46a49d4a14cbbd3a2eb3ef39f149e984d"
|
||||
integrity sha512-hDtgfzYxnrQn54+0JlbqpXM4+bqDfK0ooMlNE4Nn3VBsB4RbmytAn4/kVVIcMa+aYwRr/fwzWuGJwBETVg1sDw==
|
||||
@ -1532,10 +1532,10 @@ eslint-ast-utils@^1.1.0:
|
||||
lodash.get "^4.4.2"
|
||||
lodash.zip "^4.2.0"
|
||||
|
||||
eslint-config-silverwind@20.0.0:
|
||||
version "20.0.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-config-silverwind/-/eslint-config-silverwind-20.0.0.tgz#48545d21ed17a52f0848c39df028dda6390d1e2a"
|
||||
integrity sha512-DSNmd0jY5mRF6apRrG8tBD49HF9n+kBu9FHlEYJPx6U+sy8ajAEBgR/cXCC79hV1h3ahyrkzepOCCuKS6mrBPA==
|
||||
eslint-config-silverwind@21.0.0:
|
||||
version "21.0.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-config-silverwind/-/eslint-config-silverwind-21.0.0.tgz#66ff26f05e7fe710268bd8593190dfecd91e80c7"
|
||||
integrity sha512-Grtu2CQ8mc/dRO2RZQJjkqpz1qQ76Ognz8CqX1pR6sDEzW2wk81t3ux8EJ9KUyGj1TelbZ14dk8eq7iXuPV4mQ==
|
||||
dependencies:
|
||||
eslint-plugin-import "^2.22.1"
|
||||
eslint-plugin-unicorn "^22.0.0"
|
||||
@ -2551,7 +2551,7 @@ jest-changed-files@^26.5.0:
|
||||
execa "^4.0.0"
|
||||
throat "^5.0.0"
|
||||
|
||||
jest-cli@^26.4.2:
|
||||
jest-cli@^26.5.0:
|
||||
version "26.5.0"
|
||||
resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-26.5.0.tgz#4404fb5cbdfb250946160374d5e3fc9655f9b57f"
|
||||
integrity sha512-bI0h6GQGbyN0SSZu3nPilwrkrZ8dBC93erwTiEoJ+kGjtNuXsB183hTZ0HCiHLzf88oE0SQB1hYp8RgyytH+Bg==
|
||||
@ -2971,14 +2971,14 @@ jest-worker@^26.5.0:
|
||||
merge-stream "^2.0.0"
|
||||
supports-color "^7.0.0"
|
||||
|
||||
jest@26.4.2:
|
||||
version "26.4.2"
|
||||
resolved "https://registry.yarnpkg.com/jest/-/jest-26.4.2.tgz#7e8bfb348ec33f5459adeaffc1a25d5752d9d312"
|
||||
integrity sha512-LLCjPrUh98Ik8CzW8LLVnSCfLaiY+wbK53U7VxnFSX7Q+kWC4noVeDvGWIFw0Amfq1lq2VfGm7YHWSLBV62MJw==
|
||||
jest@26.5.0:
|
||||
version "26.5.0"
|
||||
resolved "https://registry.yarnpkg.com/jest/-/jest-26.5.0.tgz#d973c13a3843587b89b02dab1fbcd1f3bf111f09"
|
||||
integrity sha512-yW1QTkdpxVWTV2M5cOwVdEww8dRGqL5bb7FOG3YQoMtf7oReCEawmU0+tOKkZUSfcOymbXmCfdBQLzuwOLCx0w==
|
||||
dependencies:
|
||||
"@jest/core" "^26.4.2"
|
||||
"@jest/core" "^26.5.0"
|
||||
import-local "^3.0.2"
|
||||
jest-cli "^26.4.2"
|
||||
jest-cli "^26.5.0"
|
||||
|
||||
js-tokens@^4.0.0:
|
||||
version "4.0.0"
|
||||
|
Loading…
Reference in New Issue
Block a user