Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuzzyma committed Oct 31, 2019
1 parent 30eea62 commit 0748382
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 22 deletions.
13 changes: 7 additions & 6 deletions .config/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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))
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -824,6 +832,8 @@ The document follows the conventions described in [“Keep a CHANGELOG”](http:


<!-- Headings above link to the releases listed here -->
[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
Expand Down
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -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/",
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 0748382

Please sign in to comment.