From 0748382e9859c31253d93b0c258487da362bcade Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulrich-Matthias=20Sch=C3=A4fer?= Date: Thu, 31 Oct 2019 21:10:30 +0100 Subject: [PATCH] bump version --- .config/rollup.config.js | 13 +++++++------ CHANGELOG.md | 10 ++++++++++ package.json | 32 ++++++++++++++++---------------- 3 files changed, 33 insertions(+), 22 deletions(-) diff --git a/.config/rollup.config.js b/.config/rollup.config.js index c056776..04c8ff5 100644 --- a/.config/rollup.config.js +++ b/.config/rollup.config.js @@ -70,13 +70,14 @@ const classes = [ 'Use' ] -const config = (node, min) => ({ - input: node ? './src/main.js' : './src/svg.js', +const config = (node, min, esm = false) => ({ + input: (node || esm) ? './src/main.js' : './src/svg.js', output: { - file: node ? './dist/svg.node.js' + file: esm ? './dist/svg.esm.js' + : node ? './dist/svg.node.js' : min ? './dist/svg.min.js' - : './dist/svg.js', - format: node ? 'cjs' : 'iife', + : './dist/svg.js', + format: esm ? 'esm' : node ? 'cjs' : 'iife', name: 'SVG', sourcemap: true, banner: headerLong, @@ -104,6 +105,6 @@ const config = (node, min) => ({ }) // [node, minified] -const modes = [[false], [false, true], [true]] +const modes = [[false], [false, true], [true], [false, false, true]] export default modes.map(m => config(...m)) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f2974f..bc68961 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ The document follows the conventions described in [“Keep a CHANGELOG”](http: ==== +## [3.0.14] - 2019-10-31 + +### Fixed +- hide parser from screen readers (#1023) + +### Added +- added transpiled esm bundle for webpack und co and faster import + ## [3.0.13] - 2019-06-12 ### Fixed @@ -824,6 +832,8 @@ The document follows the conventions described in [“Keep a CHANGELOG”](http: +[3.0.14]: https://github.com/svgdotjs/svg.js/releases/tag/3.0.14 +[3.0.13]: https://github.com/svgdotjs/svg.js/releases/tag/3.0.13 [3.0.12]: https://github.com/svgdotjs/svg.js/releases/tag/3.0.12 [3.0.11]: https://github.com/svgdotjs/svg.js/releases/tag/3.0.11 [3.0.10]: https://github.com/svgdotjs/svg.js/releases/tag/3.0.10 diff --git a/package.json b/package.json index f8da696..c55e82e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@svgdotjs/svg.js", - "version": "3.0.13", + "version": "3.0.14", "description": "A lightweight library for manipulating and animating SVG.", "url": "https://svgdotjs.github.io/", "homepage": "https://svgdotjs.github.io/", @@ -14,7 +14,7 @@ "main": "dist/svg.node.js", "unpkg": "dist/svg.min.js", "jsdelivr": "dist/svg.min.js", - "browser": "src/main.js", + "browser": "dist/svg.esm.js", "module": "src/main.js", "files": [ "/dist", @@ -82,38 +82,38 @@ "@babel/runtime-corejs2": "^7.1.5", "@target/custom-event-polyfill": "github:Adobe-Marketing-Cloud/custom-event-polyfill", "babel-eslint": "^10.0.1", - "core-js": "^2.5.7", + "core-js": "^3.3.6", "coveralls": "^3.0.2", - "eslint": "^5.9.0", - "eslint-config-standard": "^12.0.0", + "eslint": "^6.6.0", + "eslint-config-standard": "^14.1.0", "eslint-plugin-import": "^2.14.0", - "eslint-plugin-node": "^8.0.0", + "eslint-plugin-node": "^10.0.0", "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0", "esm": "^3.0.84", "http-server": "^0.11.1", "jasmine": "^3.3.0", "jasmine-core": "^3.3.0", - "karma": "^3.1.3", - "karma-chrome-launcher": "^2.2.0", - "karma-coverage": "^1.1.2", + "karma": "^4.4.1", + "karma-chrome-launcher": "^3.1.0", + "karma-coverage": "^2.0.1", "karma-firefox-launcher": "^1.1.0", "karma-jasmine": "^2.0.1", - "karma-sauce-launcher": "^1.2.0", - "rollup": "^0.67.4", + "karma-sauce-launcher": "^2.0.2", + "rollup": "^1.26.2", "rollup-plugin-babel": "^4.0.3", - "rollup-plugin-commonjs": "^9.2.0", - "rollup-plugin-filesize": "^5.0.1", + "rollup-plugin-commonjs": "^10.1.0", + "rollup-plugin-filesize": "^6.2.1", "rollup-plugin-multi-entry": "^2.0.2", - "rollup-plugin-node-resolve": "^3.4.0", - "rollup-plugin-terser": "^3.0.0", + "rollup-plugin-node-resolve": "^5.2.0", + "rollup-plugin-terser": "^5.1.2", "rollup-plugin-uglify": "^6.0.0", "rollup-plugin-uglify-es": "0.0.1", "svgdom": "latest", "webpack": "^4.26.1", "webpack-cli": "^3.1.2", "webpack-dev-server": "^3.1.10", - "yargs": "^12.0.5" + "yargs": "^14.2.0" }, "browserslist": [ "last 1 version", -- 2.39.5