From 19e60d3eac7bca81e14ee07d82aa36055d788e9f Mon Sep 17 00:00:00 2001 From: isaacs Date: Sun, 7 Jul 2024 17:03:25 -0700 Subject: [PATCH] update tshy, remove 'source' export Fix: https://github.com/isaacs/node-lru-cache/issues/339 --- package-lock.json | 45 +++++++++++++++++++++++++++++++++++++++++---- package.json | 4 +--- 2 files changed, 42 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index bb8bf44..0169e93 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "mkdirp": "^2.1.5", "prettier": "^2.6.2", "tap": "^20.0.3", - "tshy": "^1.17.0", + "tshy": "^2.0.0", "tslib": "^2.4.0", "typedoc": "^0.25.3", "typescript": "^5.2.2" @@ -1788,6 +1788,18 @@ "balanced-match": "^1.0.0" } }, + "node_modules/@tapjs/test/node_modules/chalk": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", + "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", + "dev": true, + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, "node_modules/@tapjs/test/node_modules/glob": { "version": "10.4.3", "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.3.tgz", @@ -1877,6 +1889,31 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/@tapjs/test/node_modules/tshy": { + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/tshy/-/tshy-1.18.0.tgz", + "integrity": "sha512-FQudIujBazHRu7CVPHKQE9/Xq1Wc7lezxD/FCnTXx2PTcnoSN32DVpb/ZXvzV2NJBTDB3XKjqX8Cdm+2UK1DlQ==", + "dev": true, + "dependencies": { + "chalk": "^5.3.0", + "chokidar": "^3.6.0", + "foreground-child": "^3.1.1", + "minimatch": "^9.0.4", + "mkdirp": "^3.0.1", + "polite-json": "^5.0.0", + "resolve-import": "^1.4.5", + "rimraf": "^5.0.1", + "sync-content": "^1.0.2", + "typescript": "5", + "walk-up-path": "^3.0.1" + }, + "bin": { + "tshy": "dist/esm/index.js" + }, + "engines": { + "node": "16 >=16.17 || 18 >=18.15.0 || >=20.6.1" + } + }, "node_modules/@tapjs/test/node_modules/typescript": { "version": "5.5.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz", @@ -5804,9 +5841,9 @@ } }, "node_modules/tshy": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/tshy/-/tshy-1.17.0.tgz", - "integrity": "sha512-95BrHQTZCrJ3LnoGQoDCv7PtyNKyIIY9A9FPgY04IpsmV0URmlI8OWjMkQWRONUAJqJeJCij9p8REXLuv+7MXg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/tshy/-/tshy-2.0.0.tgz", + "integrity": "sha512-0CUJqcunyDdTakoKbuRJC2SiUBgKneksAzbj/eO0q943Vl9nyUw6on4to1PU+zzJYwtc6diZpufA0YgTqOnAMw==", "dev": true, "dependencies": { "chalk": "^5.3.0", diff --git a/package.json b/package.json index e19abec..23d17fb 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "mkdirp": "^2.1.5", "prettier": "^2.6.2", "tap": "^20.0.3", - "tshy": "^1.17.0", + "tshy": "^2.0.0", "tslib": "^2.4.0", "typedoc": "^0.25.3", "typescript": "^5.2.2" @@ -92,12 +92,10 @@ "exports": { ".": { "import": { - "source": "./src/index.ts", "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { - "source": "./src/index.ts", "types": "./dist/commonjs/index.d.ts", "default": "./dist/commonjs/index.js" }