From dfcced2d734a67e9cad885887cf44f1c8570b21d Mon Sep 17 00:00:00 2001 From: spencer kelly Date: Wed, 31 Jul 2024 14:18:27 -0400 Subject: [PATCH] update rollup plugin, 14.14.0rc2 --- changelog.md | 2 +- package-lock.json | 21 +++++++++++---------- package.json | 2 +- rollup.config.js | 10 +++++----- 4 files changed, 18 insertions(+), 17 deletions(-) diff --git a/changelog.md b/changelog.md index 0003fa256..63eea205e 100644 --- a/changelog.md +++ b/changelog.md @@ -31,7 +31,7 @@ While all _Major_ releases should be reviewed, our only _large_ releases are **v - **[change]** - typescript export update #1104 - **[update]** - eslint config format - **[update]** - github actions -- **[update]** - deps +- **[update]** - dependencies #### 14.13.0 [Apr 2024] diff --git a/package-lock.json b/package-lock.json index 9a8e42c51..1bfea6bc2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "compromise", - "version": "14.13.0", + "version": "14.14.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "compromise", - "version": "14.13.0", + "version": "14.14.0", "license": "MIT", "dependencies": { "efrt": "2.7.0", @@ -22,7 +22,7 @@ "eslint-plugin-regexp": "2.6.0", "nlp-corpus": "4.4.0", "rollup": "4.19.1", - "rollup-plugin-filesize-check": "^0.0.2", + "rollup-plugin-filesize-check": "1.2.0", "shelljs": "0.8.5", "tap-dancer": "0.3.4", "tape": "5.8.1" @@ -2887,12 +2887,13 @@ } }, "node_modules/rollup-plugin-filesize-check": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/rollup-plugin-filesize-check/-/rollup-plugin-filesize-check-0.0.2.tgz", - "integrity": "sha512-4CTEMQ8DEDE+NJGVKvRayFxX4vmMmzmgrFAjBqPJmM5zmccBbW4Im/AZeNejn2RaxRdYALJCUXuhFz5zlUCPIw==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-filesize-check/-/rollup-plugin-filesize-check-1.2.0.tgz", + "integrity": "sha512-d6ZX4BLz6gCvkqkoH+PqwVZCRmakX9DFXgUJYDWjspv0hla5B1wJDT3NY3vYWVNKqmngigaJeS83HcNfhGOjbA==", "dev": true, + "license": "MIT", "peerDependencies": { - "rollup": "^3.2.3" + "rollup": "*" } }, "node_modules/run-parallel": { @@ -5532,9 +5533,9 @@ } }, "rollup-plugin-filesize-check": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/rollup-plugin-filesize-check/-/rollup-plugin-filesize-check-0.0.2.tgz", - "integrity": "sha512-4CTEMQ8DEDE+NJGVKvRayFxX4vmMmzmgrFAjBqPJmM5zmccBbW4Im/AZeNejn2RaxRdYALJCUXuhFz5zlUCPIw==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-filesize-check/-/rollup-plugin-filesize-check-1.2.0.tgz", + "integrity": "sha512-d6ZX4BLz6gCvkqkoH+PqwVZCRmakX9DFXgUJYDWjspv0hla5B1wJDT3NY3vYWVNKqmngigaJeS83HcNfhGOjbA==", "dev": true, "requires": {} }, diff --git a/package.json b/package.json index 55a3f439a..26fd1fd78 100644 --- a/package.json +++ b/package.json @@ -122,7 +122,7 @@ "eslint-plugin-regexp": "2.6.0", "nlp-corpus": "4.4.0", "rollup": "4.19.1", - "rollup-plugin-filesize-check": "^0.0.2", + "rollup-plugin-filesize-check": "1.2.0", "shelljs": "0.8.5", "tap-dancer": "0.3.4", "tape": "5.8.1" diff --git a/rollup.config.js b/rollup.config.js index 99c212b02..7ff5029a1 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -9,7 +9,7 @@ export default [ { input: 'src/three.js', output: [{ file: 'builds/compromise.js', format: 'umd', name: 'nlp' }], - plugins: [nodeResolve(), terser(opts), sizeCheck({ expect: 277, warn: 15 })], + plugins: [nodeResolve(), terser(opts), sizeCheck({ expect: 277, warn: 30 })], }, // === One == @@ -28,24 +28,24 @@ export default [ { input: 'src/two.js', output: [{ file: 'builds/two/compromise-two.cjs', format: 'umd', name: 'nlp' }], - plugins: [nodeResolve(), terser(opts), sizeCheck({ expect: 226, warn: 15 })], + plugins: [nodeResolve(), terser(opts), sizeCheck({ expect: 226, warn: 30 })], }, { input: 'src/two.js', output: [{ file: 'builds/two/compromise-two.mjs', format: 'esm' }], - plugins: [nodeResolve(), terser(opts), sizeCheck({ expect: 226, warn: 15 })], + plugins: [nodeResolve(), terser(opts), sizeCheck({ expect: 226, warn: 30 })], }, // === Three == { input: 'src/three.js', output: [{ file: 'builds/three/compromise-three.cjs', format: 'umd', name: 'nlp' }], - plugins: [nodeResolve(), terser(opts), sizeCheck({ expect: 277, warn: 15 })], + plugins: [nodeResolve(), terser(opts), sizeCheck({ expect: 277, warn: 30 })], }, { input: 'src/three.js', output: [{ file: 'builds/three/compromise-three.mjs', format: 'esm' }], - plugins: [nodeResolve(), terser(opts), sizeCheck({ expect: 277, warn: 15 })], + plugins: [nodeResolve(), terser(opts), sizeCheck({ expect: 277, warn: 30 })], }, ]