deps: upgrade @rollup/plugin-commonjs to v22 to fix try/catch requires (#340)

- and build
- v21 broke `graphlib`'s internal usage of `lodash` with its breaking
  change, and v22 has another breaking change to fix that
  - notably, this was breaking rpt2 imports for some users because rpt2
    bundles in `graphlib` etc, meaning the nuances of the bundling got
    leaked to consumers, and, in fact, broke their builds
    - another upside to unbundling
This commit is contained in:
Anton Gilgur 2022-06-06 19:55:34 -04:00 committed by GitHub
parent 4411604475
commit d7cab2dbc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 53718 additions and 39437 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

19
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "rollup-plugin-typescript2",
"version": "0.32.0",
"version": "0.32.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "rollup-plugin-typescript2",
"version": "0.32.0",
"version": "0.32.1",
"license": "MIT",
"dependencies": {
"@rollup/pluginutils": "^4.1.2",
@ -17,7 +17,7 @@
},
"devDependencies": {
"@jest/globals": "^28.0.3",
"@rollup/plugin-commonjs": "21.1.0",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "13.2.1",
"@types/find-cache-dir": "^2.0.0",
"@types/fs-extra": "8.0.1",
@ -1269,9 +1269,10 @@
}
},
"node_modules/@rollup/plugin-commonjs": {
"version": "21.1.0",
"version": "22.0.0",
"resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-22.0.0.tgz",
"integrity": "sha512-Ktvf2j+bAO+30awhbYoCaXpBcyPmJbaEUYClQns/+6SNCYFURbvBiNbWgHITEsIgDDWCDUclWRKEuf8cwZCFoQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@rollup/pluginutils": "^3.1.0",
"commondir": "^1.0.1",
@ -1282,10 +1283,10 @@
"resolve": "^1.17.0"
},
"engines": {
"node": ">= 8.0.0"
"node": ">= 12.0.0"
},
"peerDependencies": {
"rollup": "^2.38.3"
"rollup": "^2.68.0"
}
},
"node_modules/@rollup/plugin-commonjs/node_modules/@rollup/pluginutils": {
@ -6896,7 +6897,9 @@
}
},
"@rollup/plugin-commonjs": {
"version": "21.1.0",
"version": "22.0.0",
"resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-22.0.0.tgz",
"integrity": "sha512-Ktvf2j+bAO+30awhbYoCaXpBcyPmJbaEUYClQns/+6SNCYFURbvBiNbWgHITEsIgDDWCDUclWRKEuf8cwZCFoQ==",
"dev": true,
"requires": {
"@rollup/pluginutils": "^3.1.0",

View File

@ -44,7 +44,7 @@
},
"devDependencies": {
"@jest/globals": "^28.0.3",
"@rollup/plugin-commonjs": "21.1.0",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "13.2.1",
"@types/find-cache-dir": "^2.0.0",
"@types/fs-extra": "8.0.1",