Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

svg.js

Package Overview
Dependencies
Maintainers
3
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svg.js - npm Package Versions

124

2.3.0

Diff

Changelog

Source

[2.3.0] - 2016-03-30

Added

  • added SVG.Point which serves as Wrapper to the native SVGPoint (#437)
  • added element.point(x,y) which transforms a point from screen coordinates to the elements space (#403)
  • added element.is() which helps to check for the object instance faster (instanceof check)
  • added more fx specs

Changed

  • textpath now is a parent element, the lines method of text will return the tspans inside the textpath (#450)
  • fx module rewritten to support animation chaining and several other stuff (see docs)

Fixed

  • fixed svgjs:data attribute which was not set properly in all browsers (#428)
  • fixed isNumber and numberAndUnit regex (#405)
  • fixed error where a parent node is not found when loading an image but the canvas was cleared (#447)
  • fixed absolute transformation animations (not perfect but better)
  • fixed event listeners which didnt work correctly when identic funtions used
fuzzyma
published 1.1.1 •

fuzzyma
published 2.2.5 •

Changelog

Source

[2.2.5] - 2015-12-29

Added

  • added check for existence of node (#431)

Changed

  • group.move() now allows string numbers as input (#433)
  • matrixify() will not apply the calculated matrix to the node anymore
fuzzyma
published 2.2.4 •

Changelog

Source

[2.2.4] - 2015-12-12

Fixed

  • fixed transform() which returns the matrix values (a-f) now, too (#423)
  • double newlines (\n\n) are correctly handled as blank line from text()
  • fixed use of scrollX vs pageXOffset in rbox() (#425)
  • fixed target array in mask and clip which was removed instead of reinitialized (#429)
fuzzyma
published 2.2.3 •

Changelog

Source

[2.2.3] - 2015-11-30

Fixed

  • fixed null check in image (see 2.2.2)
  • fixed bug related to the new path parser (see 2.2.2)
  • fixed amd loader (#412)
fuzzyma
published 2.2.2 •

Changelog

Source

[2.2.2] - 2015-11-28

Added

  • added null check in image onload callback (#415)

Changed

  • documentation rework (#407) [thanks @snowyplover]

Fixed

  • fixed leading point bug in path parsing (#416)
fuzzyma
published 2.2.0 •

Changelog

Source

[2.2.0] - 2015-11-06

Added

  • added ungroup()/flatten() (#238), toParent() and toDoc()
  • added UMD-Wrapper with possibility to pass custom window object (#352)
  • added morph() method for paths via plugin svg.pathmorphing.js
  • added support for css selectors within the parent() method
  • added parents() method to get an array of all parenting elements

Changed

  • svgjs now saves crucial data in the dom before export and restores them when element is adopted

Fixed

  • fixed pattern and gradient animation (#385)
  • fixed mask animation in Firefox (#287)
  • fixed return value of text() after import/clone (#393)
fuzzyma
published 2.1.1 •

Changelog

Source

[2.1.1] - 2015-10-03

Added

  • added custom context binding to event callback (default is the element the event is bound to)
fuzzyma
published 2.0.5 •

fuzzyma
published 2.0.4 •

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc