diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2020-03-28 13:52:57 +1000 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2020-03-28 13:52:57 +1000 |
commit | ba2948bfad00906ffa3ba5ea7ff15ac0be517445 (patch) | |
tree | 953b7ebfef53b8a3e594632d9d2b7458028c7170 /package.json | |
parent | 9beddac36db60c0e4097e01272b6faa04bdb1065 (diff) | |
download | svg.js-ba2948bfad00906ffa3ba5ea7ff15ac0be517445.tar.gz svg.js-ba2948bfad00906ffa3ba5ea7ff15ac0be517445.zip |
This is a big one...
### Fixed
- fixed `zoom()` method of runner which was passed a wrong parameter
- fixed positioning methods of `TSpan` to position them by its bounding box
- fixed `flip()` method which flips correctly by center by default now and accepts correct arguments
- fixed a case in `rbox()` where not always all values of the box were updated
- fixed `getOrigin()` function used by `transform()` so that all origin (#1085) popssibilities specified in the docs are working
- fixed positioning of text by its baseline when using `amove()`
- fixed tons of typings in the svg.d.ts file
### Added
- added second Parameter to `SVG(el, isHTML)` which allows to explicitely create elements in the HTML namespace (#1058)
- added `unlink()` and `linker()` to hyperlinked elements to remove or access the underling `<a>` element
- added `wrap()` method to `Dom` which lets you wrap an element by another one
- added `orient()` method to `Marker`
- added `options` parameter to `dispatch()` and `fire()` to allow for more special needs
- added `newLine()` constructor to `Text` to create a tspan marked as new line (#1088)
- added lots of tests in es6 format
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index 3ccde60..2b494dc 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "test": "npx karma start .config/karma.conf.js", "test:ci": "karma start .config/karma.conf.saucelabs.js", "test:svgdom": "node -r esm ./spec/runSVGDomTest.js || true", - "test:es6": "npx karma start .config/karma.es6.js --single-run", + "test:es6": "npx karma start .config/karma.es6.js --single-run || true", "zip": "zip -j dist/svg.js.zip -- LICENSE.txt README.md CHANGELOG.md dist/svg.js dist/svg.js.map dist/svg.min.js dist/svg.min.js.map dist/polyfills.js dist/polyfillsIE.js", "prepublishOnly": "rm -rf ./dist && npm run build && npm run build:polyfills && npm test", "postpublish": "npm run zip" @@ -110,6 +110,7 @@ "rollup-plugin-uglify": "^6.0.3", "rollup-plugin-uglify-es": "0.0.1", "svgdom": "0.0.21", + "typescript": "^3.8.3", "webpack": "^4.41.2", "webpack-cli": "^3.3.10", "webpack-dev-server": "^3.9.0", |