From 8925a127e4bcf7e9a2e0cf5e443076f4473eedd0 Mon Sep 17 00:00:00 2001 From: Anton Golub Date: Thu, 28 Mar 2024 09:34:17 +0300 Subject: [PATCH 1/2] refactor: drop webpod ssh API (#750) --- package-lock.json | 393 --------------------- package.json | 1 - scripts/build-dts.mjs | 1 - src/globals.ts | 1 - src/index.ts | 2 +- src/vendor.ts | 1 - test/fixtures/js-project/package-lock.json | 1 - test/index.test.js | 2 - 8 files changed, 1 insertion(+), 401 deletions(-) diff --git a/package-lock.json b/package-lock.json index 079ae94d84..b2ee303445 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,7 +34,6 @@ "prettier": "^3.2.5", "tsd": "^0.30.7", "typescript": "^5.4.3", - "webpod": "^1", "which": "^4.0.0", "yaml": "^2.4.1", "zurk": "^0.0.32" @@ -882,18 +881,6 @@ "@jridgewell/sourcemap-codec": "1.4.14" } }, - "node_modules/@ljharb/through": { - "version": "2.3.13", - "resolved": "https://registry.npmjs.org/@ljharb/through/-/through-2.3.13.tgz", - "integrity": "sha512-/gKJun8NNiWGZJkGzI/Ragc53cOdcLNdzjLaIa+GEjguQs0ulsurx8WN0jijdK9yPqDvziX995sMRLyLt1uZMQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.7" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -6229,386 +6216,6 @@ "integrity": "sha512-V8X6hPIzY1juvrSVREmtRhK9AHn/8c2z8XxaibESU+jyG/RinZ9x9x6aw8qEuFAi7R6Kl/EWGbU2Yq/9u6TTjw==", "dev": true }, - "node_modules/webpod": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/webpod/-/webpod-1.0.0.tgz", - "integrity": "sha512-NDXNb52O5vljuxKCsVlzf81zczL1ESgT38dY6ca8r1gR6mxWUC7KXEmiBK/WOq254PaPjSMVzyC+gj6KsHuScg==", - "dev": true, - "dependencies": { - "chalk": "^5.2.0", - "indent-string": "^5.0.0", - "inquirer": "^9.2.7", - "minimist": "^1.2.8" - }, - "bin": { - "webpod": "dist/src/cli.js" - } - }, - "node_modules/webpod/node_modules/ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "dev": true, - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/webpod/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/webpod/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/webpod/node_modules/bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "dev": true, - "dependencies": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "node_modules/webpod/node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "node_modules/webpod/node_modules/cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", - "dev": true, - "dependencies": { - "restore-cursor": "^3.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/webpod/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/webpod/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true - }, - "node_modules/webpod/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/webpod/node_modules/figures": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", - "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", - "dev": true, - "dependencies": { - "escape-string-regexp": "^1.0.5" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/webpod/node_modules/indent-string": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", - "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/webpod/node_modules/inquirer": { - "version": "9.2.16", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-9.2.16.tgz", - "integrity": "sha512-qzgbB+yNjgSzk2omeqMDtO9IgJet/UL67luT1MaaggRpGK73DBQct5Q4pipwFQcIKK1GbMODYd4UfsRCkSP1DA==", - "dev": true, - "dependencies": { - "@ljharb/through": "^2.3.13", - "ansi-escapes": "^4.3.2", - "chalk": "^5.3.0", - "cli-cursor": "^3.1.0", - "cli-width": "^4.1.0", - "external-editor": "^3.1.0", - "figures": "^3.2.0", - "lodash": "^4.17.21", - "mute-stream": "1.0.0", - "ora": "^5.4.1", - "run-async": "^3.0.0", - "rxjs": "^7.8.1", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^6.2.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/webpod/node_modules/is-interactive": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/webpod/node_modules/is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/webpod/node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "dev": true, - "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/webpod/node_modules/log-symbols/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/webpod/node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/webpod/node_modules/mute-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-1.0.0.tgz", - "integrity": "sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==", - "dev": true, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/webpod/node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/webpod/node_modules/ora": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", - "dev": true, - "dependencies": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/webpod/node_modules/ora/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/webpod/node_modules/restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "dev": true, - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/webpod/node_modules/run-async": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-3.0.0.tgz", - "integrity": "sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/webpod/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/webpod/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/webpod/node_modules/type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/webpod/node_modules/wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/which": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", diff --git a/package.json b/package.json index 007a6f62af..ba957385cb 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,6 @@ "prettier": "^3.2.5", "tsd": "^0.30.7", "typescript": "^5.4.3", - "webpod": "^1", "which": "^4.0.0", "yaml": "^2.4.1", "zurk": "^0.0.32" diff --git a/scripts/build-dts.mjs b/scripts/build-dts.mjs index 37197fcc74..8482a23c58 100644 --- a/scripts/build-dts.mjs +++ b/scripts/build-dts.mjs @@ -32,7 +32,6 @@ const entry = { 'node-fetch-native', 'chalk', 'globby', - 'webpod', '@types/minimist', '@types/which', 'zurk', diff --git a/src/globals.ts b/src/globals.ts index c3b9b5433b..d268a25108 100644 --- a/src/globals.ts +++ b/src/globals.ts @@ -42,7 +42,6 @@ declare global { var retry: typeof _.retry var sleep: typeof _.sleep var spinner: typeof _.spinner - var ssh: typeof _.ssh var stdin: typeof _.stdin var which: typeof _.which var within: typeof _.within diff --git a/src/index.ts b/src/index.ts index 4dccfde412..fdce09a501 100644 --- a/src/index.ts +++ b/src/index.ts @@ -16,7 +16,7 @@ import { ProcessPromise } from './core.js' export * from './core.js' export * from './goods.js' -export { minimist, chalk, fs, which, YAML, ssh, ps } from './vendor.js' +export { minimist, chalk, fs, which, YAML, ps } from './vendor.js' export { type Duration, quote, quotePowerShell } from './util.js' diff --git a/src/vendor.ts b/src/vendor.ts index ed9ef8eef0..5a60e486ed 100644 --- a/src/vendor.ts +++ b/src/vendor.ts @@ -56,4 +56,3 @@ export { default as chalk, type ChalkInstance } from 'chalk' export { default as which } from 'which' export { default as minimist } from 'minimist' export { default as ps } from '@webpod/ps' -export { ssh } from 'webpod' diff --git a/test/fixtures/js-project/package-lock.json b/test/fixtures/js-project/package-lock.json index fc38622e1b..138d47364d 100644 --- a/test/fixtures/js-project/package-lock.json +++ b/test/fixtures/js-project/package-lock.json @@ -37,7 +37,6 @@ "prettier": "^3.2.5", "tsd": "^0.30.7", "typescript": "^5.4.3", - "webpod": "^1", "which": "^4.0.0", "yaml": "^2.4.1", "zurk": "^0.0.32" diff --git a/test/index.test.js b/test/index.test.js index 9f896b840c..fab297bf2c 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -29,7 +29,6 @@ import { fs, which, YAML, - ssh, ps, quote, quotePowerShell, @@ -88,7 +87,6 @@ describe('index', () => { assert(fs) assert(which) assert(YAML) - assert(ssh) assert(ps) // utils From 8a7a8feb829c71ad623195f2c8391c3203c7a58e Mon Sep 17 00:00:00 2001 From: Anton Golub Date: Thu, 28 Mar 2024 09:35:20 +0300 Subject: [PATCH 2/2] refactor: rm experimental toggle (#751) * refactor: rm experimental toggle * chore: rm experimental typeref --- package.json | 4 ---- src/cli.ts | 14 +------------- src/experimental.ts | 16 ---------------- test/all.test.js | 1 - test/experimental.test.js | 18 ------------------ 5 files changed, 1 insertion(+), 52 deletions(-) delete mode 100644 src/experimental.ts delete mode 100644 test/experimental.test.js diff --git a/package.json b/package.json index ba957385cb..ae6ce2b582 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,6 @@ "globals": [ "./build/globals.d.ts" ], - "experimental": [ - "./build/experimental.d.ts" - ], "cli": [ "./build/cli.d.ts" ], @@ -27,7 +24,6 @@ "exports": { ".": "./build/index.js", "./globals": "./build/globals.js", - "./experimental": "./build/experimental.js", "./cli": "./build/cli.js", "./core": "./build/core.js", "./package.json": "./package.json" diff --git a/src/cli.ts b/src/cli.ts index 6c35e15409..17d3252e1f 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -44,7 +44,6 @@ function printUsage() { --prefix= prefix all commands --eval=, -e evaluate script --install, -i install dependencies - --experimental enable experimental features --version, -v print current zx version --help, -h print help --repl start repl @@ -53,15 +52,7 @@ function printUsage() { const argv = minimist(process.argv.slice(2), { string: ['shell', 'prefix', 'eval'], - boolean: [ - 'version', - 'help', - 'quiet', - 'verbose', - 'install', - 'repl', - 'experimental', - ], + boolean: ['version', 'help', 'quiet', 'verbose', 'install', 'repl'], alias: { e: 'eval', i: 'install', v: 'version', h: 'help' }, stopEarly: true, }) @@ -73,9 +64,6 @@ await (async function main() { if (argv.quiet) $.verbose = false if (argv.shell) $.shell = argv.shell if (argv.prefix) $.prefix = argv.prefix - if (argv.experimental) { - Object.assign(global, await import('./experimental.js')) - } if (argv.version) { console.log(getVersion()) return diff --git a/src/experimental.ts b/src/experimental.ts deleted file mode 100644 index f9da9a1f66..0000000000 --- a/src/experimental.ts +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2021 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// TODO(antonmedv): Remove this export in next v8 release. -export { spinner, retry, expBackoff, echo } from './goods.js' diff --git a/test/all.test.js b/test/all.test.js index 0d27faf776..db208ae452 100644 --- a/test/all.test.js +++ b/test/all.test.js @@ -15,7 +15,6 @@ import './cli.test.js' import './core.test.js' import './deps.test.js' -import './experimental.test.js' import './extra.test.js' import './global.test.js' import './goods.test.js' diff --git a/test/experimental.test.js b/test/experimental.test.js deleted file mode 100644 index 2a3d60e511..0000000000 --- a/test/experimental.test.js +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -import { describe, before } from 'node:test' -import '../build/globals.js' - -describe('experimental', () => {})