Socket
Socket
Sign inDemoInstall

svg.js

Package Overview
Dependencies
0
Maintainers
3
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
234Next

2.7.1

Diff

Changelog

Source

[2.7.1] - 2018-11-30

Fixed

  • CustomEvent-polyfill was not used (needed in IE) (#938)
fuzzyma
published 2.7.0 •

Changelog

Source

[2.7.0] - 2018-11-13

Fixed

  • fixed calling parent() on documentFragments children (#927)
  • parser is not focusable anymore (#908)
  • SVG.Element.click(null) correctly unbinds the event (#878)
  • fix memory leak (#905)

Added

  • SVG.Set now accepts another Set as input (#893)
  • on()/off() accepts multiple event names as input (backport from 3.0)
fuzzyma
published 2.6.6 •

Changelog

Source

[2.6.6] - 2018-08-30

Added

  • added global reference to support 'window' in bundlers (#767)
fuzzyma
published 2.6.5 •

Changelog

Source

[2.6.5] - 2018-05-26

Fixed

  • fixed element.parent() which sometimes failed when used on detached documents (#759)
  • fixed SVG.Text.y() which didnt work correctly with SVG.Number (#778)
  • fixed SVG.Doc.clone() which throwed an error (#782)
  • fixed SVG.Mask.clone() which throwed an error (#782)
  • fixed SVG.PointArray having a reference to outside array in some cases (#803)
  • fixed reference() which failed when trying to use a reference which does not exist in the attribuets (#840)
  • fixed animate().attr() method which doenst work for d attribute of paths (#847)
  • fixed problems with CustomEvent polyfill in IE11 (#852)

Added

  • added possibility to pass an array of point objects to SVG.PointArray (#803)
fuzzyma
published 2.6.4 •

Changelog

Source

[2.6.4] - 2018-02-07

Fixed

  • fixed memory leak when creating images (#805)
fuzzyma
published 2.6.3 •

Changelog

Source

[2.6.3] - 2017-07-21

Fixed

  • fixed error in parent method when hitting document node (#720)
fuzzyma
published 2.6.2 •

Changelog

Source

[2.6.2] - 2017-06-05

Added

  • added width() and height() methods to SVG.FX
  • added the intended functionality to call animate functions with multiple parameter (#671)

Changed

  • updated Jasmine from 2.5.2 to 2.6.0
  • removed the typeof check in the initialisation of SVG.Matrix

Fixed

  • fixed SVG.FX.once so that it add its callback on the last situation instead of the current one
  • fixed SVG.FX.step so that the animation doesn't stop if an afterAll callback call animate (#677)
fuzzyma
published 2.6.1 •

Changelog

Source

[2.6.1] - 2017-04-25

Fixed

  • fixed a bug in path parser which made it stop parsing when hitting z command (#665)
fuzzyma
published 2.6.0 •

Changelog

Source

[2.6.0] - 2017-04-21

Added

  • added options object to SVG.on() and el.on() (#661)

Changed

  • back to sloppy mode because of problems with plugins (#660)
fuzzyma
published 2.5.3 •

Changelog

Source

[2.5.3] - 2017-04-15

Added

  • added gitter badge in readme

Fixed

  • fixed svg.js.d.ts (#644 #648)
  • fixed bug in el.flip() which causes an error when calling flip without any argument

Removed

  • component.json (#652)
234Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc