npm update
parent
bb88a6d9db
commit
9a8b573ca5
|
@ -2393,9 +2393,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@rollup/plugin-babel": {
|
"@rollup/plugin-babel": {
|
||||||
"version": "5.2.0",
|
"version": "5.2.1",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.2.1.tgz",
|
||||||
"integrity": "sha512-CPABsajaKjINgBQ3it+yMnfVO3ibsrMBxRzbUOUw2cL1hsZJ7aogU8mgglQm3S2hHJgjnAmxPz0Rq7DVdmHsTw==",
|
"integrity": "sha512-Jd7oqFR2dzZJ3NWANDyBjwTtX/lYbZpVcmkHrfQcpvawHs9E4c0nYk5U2mfZ6I/DZcIvy506KZJi54XK/jxH7A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/helper-module-imports": "^7.10.4",
|
"@babel/helper-module-imports": "^7.10.4",
|
||||||
|
@ -8275,9 +8275,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"eslint-plugin-html": {
|
"eslint-plugin-html": {
|
||||||
"version": "6.0.3",
|
"version": "6.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-html/-/eslint-plugin-html-6.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-html/-/eslint-plugin-html-6.1.0.tgz",
|
||||||
"integrity": "sha512-1KV2ebQHywlXkfpXOGjxuEyoq+g6AWvD6g9TB28KsGhbM5rJeHXAEpHOev6LqZv6ylcfa9BWokDsNVKyYefzGw==",
|
"integrity": "sha512-xcqithhnjUxoEDRL0hYci4RSS8EZ1NGr3/H8x3BxJvxgbu4R3YaEUea9i93j95NuAgoAbOUfNmybta8fqi4UbA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"htmlparser2": "^4.1.0"
|
"htmlparser2": "^4.1.0"
|
||||||
|
@ -8317,9 +8317,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eslint-plugin-jsdoc": {
|
"eslint-plugin-jsdoc": {
|
||||||
"version": "30.3.2",
|
"version": "30.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-30.3.2.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-30.4.0.tgz",
|
||||||
"integrity": "sha512-52p1xlKNm2Rodo51jUPIQ1ytKXH6Uj88mDJgmZ1znRKjynDQOO4ZS9cx5FqFoRXk/iqHv15QxHkQCBVeWViIog==",
|
"integrity": "sha512-eb22QADWcISPQJwFJ+rUAl1NXdyOq3qy0Cp0+MZzpwlqFgJ+eJ7Fd/jYTfwDuN8QyFWumuyzSpwQBnF4PfM9Wg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"comment-parser": "^0.7.6",
|
"comment-parser": "^0.7.6",
|
||||||
|
@ -9899,6 +9899,17 @@
|
||||||
"entities": "^2.0.0"
|
"entities": "^2.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"dom-serializer": {
|
||||||
|
"version": "1.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.0.1.tgz",
|
||||||
|
"integrity": "sha512-1Aj1Qy3YLbdslkI75QEOfdp9TkQ3o8LRISAzxOibjBs/xWwr1WxZFOQphFkZuepHFGo+kB8e5FVJSS0faAJ4Rw==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"domelementtype": "^2.0.1",
|
||||||
|
"domhandler": "^3.0.0",
|
||||||
|
"entities": "^2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"domelementtype": {
|
"domelementtype": {
|
||||||
"version": "2.0.1",
|
"version": "2.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.0.1.tgz",
|
||||||
|
@ -9906,12 +9917,12 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"domutils": {
|
"domutils": {
|
||||||
"version": "2.1.0",
|
"version": "2.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/domutils/-/domutils-2.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/domutils/-/domutils-2.2.0.tgz",
|
||||||
"integrity": "sha512-CD9M0Dm1iaHfQ1R/TI+z3/JWp/pgub0j4jIQKH89ARR4ATAV2nbaOQS5XxU9maJP5jHaPdDDQSEHuE2UmpUTKg==",
|
"integrity": "sha512-0haAxVr1PR0SqYwCH7mxMpHZUwjih9oPPedqpR/KufsnxPyZ9dyVw1R5093qnJF3WXSbjBkdzRWLw/knJV/fAg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"dom-serializer": "^0.2.1",
|
"dom-serializer": "^1.0.1",
|
||||||
"domelementtype": "^2.0.1",
|
"domelementtype": "^2.0.1",
|
||||||
"domhandler": "^3.0.0"
|
"domhandler": "^3.0.0"
|
||||||
}
|
}
|
||||||
|
@ -9994,15 +10005,15 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
"version": "4.2.5",
|
"version": "4.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/husky/-/husky-4.2.5.tgz",
|
"resolved": "https://registry.npmjs.org/husky/-/husky-4.3.0.tgz",
|
||||||
"integrity": "sha512-SYZ95AjKcX7goYVZtVZF2i6XiZcHknw50iXvY7b0MiGoj5RwdgRQNEHdb+gPDPCXKlzwrybjFjkL6FOj8uRhZQ==",
|
"integrity": "sha512-tTMeLCLqSBqnflBZnlVDhpaIMucSGaYyX6855jM4AguGeWCeSzNdb1mfyWduTZ3pe3SJVvVWGL0jO1iKZVPfTA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"chalk": "^4.0.0",
|
"chalk": "^4.0.0",
|
||||||
"ci-info": "^2.0.0",
|
"ci-info": "^2.0.0",
|
||||||
"compare-versions": "^3.6.0",
|
"compare-versions": "^3.6.0",
|
||||||
"cosmiconfig": "^6.0.0",
|
"cosmiconfig": "^7.0.0",
|
||||||
"find-versions": "^3.2.0",
|
"find-versions": "^3.2.0",
|
||||||
"opencollective-postinstall": "^2.0.2",
|
"opencollective-postinstall": "^2.0.2",
|
||||||
"pkg-dir": "^4.2.0",
|
"pkg-dir": "^4.2.0",
|
||||||
|
@ -10047,16 +10058,16 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"cosmiconfig": {
|
"cosmiconfig": {
|
||||||
"version": "6.0.0",
|
"version": "7.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz",
|
||||||
"integrity": "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==",
|
"integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@types/parse-json": "^4.0.0",
|
"@types/parse-json": "^4.0.0",
|
||||||
"import-fresh": "^3.1.0",
|
"import-fresh": "^3.2.1",
|
||||||
"parse-json": "^5.0.0",
|
"parse-json": "^5.0.0",
|
||||||
"path-type": "^4.0.0",
|
"path-type": "^4.0.0",
|
||||||
"yaml": "^1.7.2"
|
"yaml": "^1.10.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"find-up": {
|
"find-up": {
|
||||||
|
@ -10104,14 +10115,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parse-json": {
|
"parse-json": {
|
||||||
"version": "5.0.1",
|
"version": "5.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz",
|
||||||
"integrity": "sha512-ztoZ4/DYeXQq4E21v169sC8qWINGpcosGv9XhTDvg9/hWvx/zrFkc9BiWxR58OJLHGk28j5BL0SDLeV2WmFZlQ==",
|
"integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/code-frame": "^7.0.0",
|
"@babel/code-frame": "^7.0.0",
|
||||||
"error-ex": "^1.3.1",
|
"error-ex": "^1.3.1",
|
||||||
"json-parse-better-errors": "^1.0.1",
|
"json-parse-even-better-errors": "^2.3.0",
|
||||||
"lines-and-columns": "^1.1.6"
|
"lines-and-columns": "^1.1.6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -10143,9 +10154,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"supports-color": {
|
"supports-color": {
|
||||||
"version": "7.1.0",
|
"version": "7.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
||||||
"integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==",
|
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"has-flag": "^4.0.0"
|
"has-flag": "^4.0.0"
|
||||||
|
@ -11426,9 +11437,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"jspdf": {
|
"jspdf": {
|
||||||
"version": "2.1.0",
|
"version": "2.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/jspdf/-/jspdf-2.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/jspdf/-/jspdf-2.1.1.tgz",
|
||||||
"integrity": "sha512-NQygqZEKhSw+nExySJxB72Ge/027YEyIM450Vh/hgay/H9cgZNnkXXOQPRspe9EuCW4sq92zg8hpAXyyBdnaIQ==",
|
"integrity": "sha512-aEZmTr8SgR7Dy2zjFLu6pbg93urA7nZdbS3MIAXs8PSXn1ee7LSpm0JVMYZ+0qS6ZIUI5NriFSTdpVI4QArAXQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"atob": "^2.1.2",
|
"atob": "^2.1.2",
|
||||||
"btoa": "^1.2.1",
|
"btoa": "^1.2.1",
|
||||||
|
@ -16232,9 +16243,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rollup": {
|
"rollup": {
|
||||||
"version": "2.26.10",
|
"version": "2.26.11",
|
||||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-2.26.10.tgz",
|
"resolved": "https://registry.npmjs.org/rollup/-/rollup-2.26.11.tgz",
|
||||||
"integrity": "sha512-dUnjCWOA0h9qNX6qtcHidyatz8FAFZxVxt1dbcGtKdlJkpSxGK3G9+DLCYvtZr9v94D129ij9zUhG+xbRoqepw==",
|
"integrity": "sha512-xyfxxhsE6hW57xhfL1I+ixH8l2bdoIMaAecdQiWF3N7IgJEMu99JG+daBiSZQjnBpzFxa0/xZm+3pbCdAQehHw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"fsevents": "~2.1.2"
|
"fsevents": "~2.1.2"
|
||||||
|
|
13
package.json
13
package.json
|
@ -58,7 +58,6 @@
|
||||||
"remark": "remark -q -f .",
|
"remark": "remark -q -f .",
|
||||||
"install-offline": "npm install --prefer-offline --no-audit",
|
"install-offline": "npm install --prefer-offline --no-audit",
|
||||||
"prepublishOnly": "run-s license-badges copy prep build-docs",
|
"prepublishOnly": "run-s license-badges copy prep build-docs",
|
||||||
|
|
||||||
"open-tests": "run-s cypress:instrument cypress:open",
|
"open-tests": "run-s cypress:instrument cypress:open",
|
||||||
"cypress:merge": "mochawesome-merge \"cypress/results/mochaw*.json\" > mochawesome.json && marge mochawesome.json && mbg --file ./mochawesome.json --badge_output badges/tests-badge.svg",
|
"cypress:merge": "mochawesome-merge \"cypress/results/mochaw*.json\" > mochawesome.json && marge mochawesome.json && mbg --file ./mochawesome.json --badge_output badges/tests-badge.svg",
|
||||||
"cypress:run-only": "rimraf \"cypress/results/mochaw*.json\" && rimraf \".nyc_output/*\" && cypress run",
|
"cypress:run-only": "rimraf \"cypress/results/mochaw*.json\" && rimraf \".nyc_output/*\" && cypress run",
|
||||||
|
@ -136,7 +135,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/polyfill": "^7.11.5",
|
"@babel/polyfill": "^7.11.5",
|
||||||
"core-js": "^3.6.5",
|
"core-js": "^3.6.5",
|
||||||
"jspdf": "^2.1.0",
|
"jspdf": "^2.1.1",
|
||||||
"regenerator-runtime": "^0.13.7",
|
"regenerator-runtime": "^0.13.7",
|
||||||
"svg2pdf.js": "^2.0.0"
|
"svg2pdf.js": "^2.0.0"
|
||||||
},
|
},
|
||||||
|
@ -154,7 +153,7 @@
|
||||||
"@fintechstudios/eslint-plugin-chai-as-promised": "^3.0.2",
|
"@fintechstudios/eslint-plugin-chai-as-promised": "^3.0.2",
|
||||||
"@hkdobrev/run-if-changed": "^0.3.1",
|
"@hkdobrev/run-if-changed": "^0.3.1",
|
||||||
"@mysticatea/eslint-plugin": "^13.0.0",
|
"@mysticatea/eslint-plugin": "^13.0.0",
|
||||||
"@rollup/plugin-babel": "^5.2.0",
|
"@rollup/plugin-babel": "^5.2.1",
|
||||||
"@rollup/plugin-commonjs": "^15.0.0",
|
"@rollup/plugin-commonjs": "^15.0.0",
|
||||||
"@rollup/plugin-dynamic-import-vars": "^1.1.0",
|
"@rollup/plugin-dynamic-import-vars": "^1.1.0",
|
||||||
"@rollup/plugin-node-resolve": "^9.0.0",
|
"@rollup/plugin-node-resolve": "^9.0.0",
|
||||||
|
@ -184,9 +183,9 @@
|
||||||
"eslint-plugin-compat": "^3.8.0",
|
"eslint-plugin-compat": "^3.8.0",
|
||||||
"eslint-plugin-cypress": "^2.11.1",
|
"eslint-plugin-cypress": "^2.11.1",
|
||||||
"eslint-plugin-eslint-comments": "^3.2.0",
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
||||||
"eslint-plugin-html": "^6.0.3",
|
"eslint-plugin-html": "^6.1.0",
|
||||||
"eslint-plugin-import": "^2.22.0",
|
"eslint-plugin-import": "^2.22.0",
|
||||||
"eslint-plugin-jsdoc": "^30.3.2",
|
"eslint-plugin-jsdoc": "^30.4.0",
|
||||||
"eslint-plugin-markdown": "^1.0.2",
|
"eslint-plugin-markdown": "^1.0.2",
|
||||||
"eslint-plugin-mocha": "^8.0.0",
|
"eslint-plugin-mocha": "^8.0.0",
|
||||||
"eslint-plugin-mocha-cleanup": "^1.8.0",
|
"eslint-plugin-mocha-cleanup": "^1.8.0",
|
||||||
|
@ -197,7 +196,7 @@
|
||||||
"eslint-plugin-sonarjs": "^0.5.0",
|
"eslint-plugin-sonarjs": "^0.5.0",
|
||||||
"eslint-plugin-standard": "^4.0.1",
|
"eslint-plugin-standard": "^4.0.1",
|
||||||
"eslint-plugin-unicorn": "^21.0.0",
|
"eslint-plugin-unicorn": "^21.0.0",
|
||||||
"husky": "^4.2.5",
|
"husky": "^4.3.0",
|
||||||
"imageoptim-cli": "^3.0.2",
|
"imageoptim-cli": "^3.0.2",
|
||||||
"jamilih": "^0.53.2",
|
"jamilih": "^0.53.2",
|
||||||
"jsdoc": "^3.6.5",
|
"jsdoc": "^3.6.5",
|
||||||
|
@ -220,7 +219,7 @@
|
||||||
"remark-lint-ordered-list-marker-value": "^2.0.1",
|
"remark-lint-ordered-list-marker-value": "^2.0.1",
|
||||||
"requirejs": "^2.3.6",
|
"requirejs": "^2.3.6",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"rollup": "2.26.10",
|
"rollup": "2.26.11",
|
||||||
"rollup-plugin-copy": "^3.3.0",
|
"rollup-plugin-copy": "^3.3.0",
|
||||||
"rollup-plugin-node-polyfills": "^0.2.1",
|
"rollup-plugin-node-polyfills": "^0.2.1",
|
||||||
"rollup-plugin-re": "^1.0.7",
|
"rollup-plugin-re": "^1.0.7",
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
/* eslint-env node */
|
/* eslint-env node */
|
||||||
// This rollup script is run by the command:
|
// This rollup script is run by the command:
|
||||||
// 'npm run build'
|
// 'npm run build'
|
||||||
// For developers, it's advised to run the command in watch mode:
|
|
||||||
// 'npm run build -- -w"
|
|
||||||
|
|
||||||
import {join, basename} from 'path';
|
import {join, basename} from 'path';
|
||||||
import {lstatSync, readdirSync} from 'fs';
|
import {lstatSync, readdirSync} from 'fs';
|
||||||
|
@ -94,7 +92,7 @@ const config = [{
|
||||||
dynamicImportVars({include: './src/editor/locale.js'}),
|
dynamicImportVars({include: './src/editor/locale.js'}),
|
||||||
babel({babelHelpers: 'bundled', exclude: [/\/core-js\//]}), // exclude core-js to avoid circular dependencies.
|
babel({babelHelpers: 'bundled', exclude: [/\/core-js\//]}), // exclude core-js to avoid circular dependencies.
|
||||||
nodePolyfills(),
|
nodePolyfills(),
|
||||||
terser({keep_fnames: true})
|
terser({keep_fnames: true}) // keep_fnames is needed to avoid an error when calling extensions.
|
||||||
]
|
]
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
@ -127,7 +125,7 @@ extensionDirs.forEach((extensionDir) => {
|
||||||
browser: true,
|
browser: true,
|
||||||
preferBuiltins: true
|
preferBuiltins: true
|
||||||
}),
|
}),
|
||||||
commonjs(),
|
commonjs({exclude: `src/editor/extensions/${extensionName}/${extensionName}.js`}),
|
||||||
dynamicImportVars({include: `src/editor/extensions/${extensionName}/${extensionName}.js`}),
|
dynamicImportVars({include: `src/editor/extensions/${extensionName}/${extensionName}.js`}),
|
||||||
babel({babelHelpers: 'bundled', exclude: [/\/core-js\//]}),
|
babel({babelHelpers: 'bundled', exclude: [/\/core-js\//]}),
|
||||||
nodePolyfills(),
|
nodePolyfills(),
|
||||||
|
|
Loading…
Reference in New Issue