From 3609656b536ee54df25d998c6ad816a156c9a512 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Apr 2021 18:13:22 +0000 Subject: [PATCH 1/5] chore(deps): bump rollup-plugin-dts from 2.0.1 to 3.0.1 Bumps [rollup-plugin-dts](https://github.com/Swatinem/rollup-plugin-dts) from 2.0.1 to 3.0.1. - [Release notes](https://github.com/Swatinem/rollup-plugin-dts/releases) - [Changelog](https://github.com/Swatinem/rollup-plugin-dts/blob/master/CHANGELOG.md) - [Commits](https://github.com/Swatinem/rollup-plugin-dts/compare/v2.0.1...v3.0.1) Signed-off-by: dependabot[bot] --- packages/cli/package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index c94647ae25..a83d379854 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -95,7 +95,7 @@ "recursive-readdir": "^2.2.2", "replace-in-file": "^6.0.0", "rollup": "2.33.x", - "rollup-plugin-dts": "^2.0.1", + "rollup-plugin-dts": "^3.0.1", "rollup-plugin-esbuild": "2.6.x", "rollup-plugin-peer-deps-external": "^2.2.2", "rollup-plugin-postcss": "^4.0.0", diff --git a/yarn.lock b/yarn.lock index 4bf6d53619..12328d236b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -23146,14 +23146,14 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: hash-base "^3.0.0" inherits "^2.0.1" -rollup-plugin-dts@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/rollup-plugin-dts/-/rollup-plugin-dts-2.0.1.tgz#333f50a637e199a073d490b198746f3c6bd07701" - integrity sha512-y38NSXIY37YExCumbGBTL5dXg7pL7XD+Kbe98iEHWFN9yiKJf7t4kKBOkml5ylUDjQIXBnNClGDeRktc1T5dmA== +rollup-plugin-dts@^3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/rollup-plugin-dts/-/rollup-plugin-dts-3.0.1.tgz#4419efb51d935cc0cff6f577f8aad97a980ee524" + integrity sha512-sdTsd0tEIV1b5Bio1k4Ei3N4/7jbwcVRdlYotGYdJOKR59JH7DzqKTSCbfaKPzuAcKTp7k317z2BzYJ3bkhDTw== dependencies: magic-string "^0.25.7" optionalDependencies: - "@babel/code-frame" "^7.10.4" + "@babel/code-frame" "^7.12.13" rollup-plugin-esbuild@2.6.x: version "2.6.1" From 955c7683b905eb9c16eaad54f208cbcc78ae08ef Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 31 Mar 2021 04:45:02 +0000 Subject: [PATCH 2/5] chore(deps): bump rollup from 2.33.3 to 2.44.0 Bumps [rollup](https://github.com/rollup/rollup) from 2.33.3 to 2.44.0. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v2.33.3...v2.44.0) Signed-off-by: dependabot[bot] --- packages/cli/package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index a83d379854..9e105b1637 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -94,8 +94,8 @@ "react-hot-loader": "^4.12.21", "recursive-readdir": "^2.2.2", "replace-in-file": "^6.0.0", - "rollup": "2.33.x", "rollup-plugin-dts": "^3.0.1", + "rollup": "2.44.x", "rollup-plugin-esbuild": "2.6.x", "rollup-plugin-peer-deps-external": "^2.2.2", "rollup-plugin-postcss": "^4.0.0", diff --git a/yarn.lock b/yarn.lock index 12328d236b..18a2e69204 100644 --- a/yarn.lock +++ b/yarn.lock @@ -23195,12 +23195,12 @@ rollup-pluginutils@^2.8.2: dependencies: estree-walker "^0.6.1" -rollup@2.33.x: - version "2.33.3" - resolved "https://registry.npmjs.org/rollup/-/rollup-2.33.3.tgz#ae72ce31f992b09a580072951bfea76e9df17342" - integrity sha512-RpayhPTe4Gu/uFGCmk7Gp5Z9Qic2VsqZ040G+KZZvsZYdcuWaJg678JeDJJvJeEQXminu24a2au+y92CUWVd+w== +rollup@2.44.x: + version "2.44.0" + resolved "https://registry.npmjs.org/rollup/-/rollup-2.44.0.tgz#8da324d1c4fd12beef9ae6e12f4068265b6d95eb" + integrity sha512-rGSF4pLwvuaH/x4nAS+zP6UNn5YUDWf/TeEU5IoXSZKBbKRNTCI3qMnYXKZgrC0D2KzS2baiOZt1OlqhMu5rnQ== optionalDependencies: - fsevents "~2.1.2" + fsevents "~2.3.1" rollup@^0.63.4: version "0.63.5" From e58e8bf572ad0ffa645a9eaf9878c3356164693d Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Tue, 15 Jun 2021 14:30:33 +0200 Subject: [PATCH 3/5] yarn.lock: sync Signed-off-by: Patrik Oldsberg --- yarn.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn.lock b/yarn.lock index 18a2e69204..92a1e2918f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13512,7 +13512,7 @@ fsevents@^1.2.7: bindings "^1.5.0" nan "^2.12.1" -fsevents@^2.1.2, fsevents@~2.1.2: +fsevents@^2.1.2: version "2.1.2" resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.1.2.tgz#4c0a1fb34bc68e543b4b82a9ec392bfbda840805" integrity sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA== From 908750b472b8f0c2be6f4695b96ee0a036108c81 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Tue, 15 Jun 2021 14:36:16 +0200 Subject: [PATCH 4/5] scripts/check-type-dependencies: fix handling of duplicate imports Signed-off-by: Patrik Oldsberg --- scripts/check-type-dependencies.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/check-type-dependencies.js b/scripts/check-type-dependencies.js index f3862214a1..59594d9cda 100755 --- a/scripts/check-type-dependencies.js +++ b/scripts/check-type-dependencies.js @@ -85,9 +85,10 @@ function checkTypes(pkg) { resolvePath(pkg.location, 'dist/index.d.ts'), 'utf8', ); - const deps = (typeDecl.match(/from '.*'/g) || []) + const allDeps = (typeDecl.match(/from '.*'/g) || []) .map(match => match.replace(/from '(.*)'/, '$1')) .filter(n => !n.startsWith('.')); + const deps = Array.from(new Set(allDeps)); const errors = []; const typeDeps = []; From fd9a86b7ad5b51f91a32604a1149aace79bfe8d0 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Tue, 15 Jun 2021 15:33:05 +0200 Subject: [PATCH 5/5] cli: sort package.json deps Signed-off-by: Patrik Oldsberg --- packages/cli/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index 9e105b1637..f633e410ea 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -94,8 +94,8 @@ "react-hot-loader": "^4.12.21", "recursive-readdir": "^2.2.2", "replace-in-file": "^6.0.0", - "rollup-plugin-dts": "^3.0.1", "rollup": "2.44.x", + "rollup-plugin-dts": "^3.0.1", "rollup-plugin-esbuild": "2.6.x", "rollup-plugin-peer-deps-external": "^2.2.2", "rollup-plugin-postcss": "^4.0.0",