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 Compare versions

Comparing version 2.6.2 to 2.6.3

bench/tests/10000-pathArray-bbox.js

6

CHANGELOG.md

@@ -31,2 +31,7 @@ # Change Log

## [2.6.3] - 2017-07-21
### Fixed
- fixed error in parent method when hitting document node (#720)
## [2.6.2] - 2017-06-05

@@ -611,2 +616,3 @@

<!-- Headings above link to the releases listed here -->
[2.6.3]: https://github.com/svgdotjs/svg.js/releases/tag/2.6.3
[2.6.2]: https://github.com/svgdotjs/svg.js/releases/tag/2.6.2

@@ -613,0 +619,0 @@ [2.6.1]: https://github.com/svgdotjs/svg.js/releases/tag/2.6.1

2

package.json
{
"name": "svg.js",
"version": "2.6.2",
"version": "2.6.3",
"description": "A lightweight library for manipulating and animating SVG.",

@@ -5,0 +5,0 @@ "url": "https://svgdotjs.github.io/",

@@ -60,3 +60,3 @@ SVG.Doc = SVG.invent({

// https://bugzilla.mozilla.org/show_bug.cgi?id=608812
, spof: function(spof) {
, spof: function() {
var pos = this.node.getScreenCTM()

@@ -63,0 +63,0 @@

@@ -181,2 +181,3 @@

if(typeof type === 'string' ? parent.matches(type) : parent instanceof type) return parent
if(parent.node.parentNode.nodeName == '#document') return null // #720
parent = SVG.adopt(parent.node.parentNode)

@@ -183,0 +184,0 @@ }

@@ -753,2 +753,4 @@ SVG.easing = {

if(SVG.Color.isColor(to)) return new SVG.Color(from).morph(to)
// prepare value list for morphing
if(SVG.regex.delimiter.test(from)) return new SVG.Array(from).morph(to)
// prepare number for morphing

@@ -755,0 +757,0 @@ if(SVG.regex.numberAndUnit.test(to)) return new SVG.Number(from).morph(to)

@@ -219,3 +219,3 @@ export = svgjs;

parent(): HTMLElement;
spof(spof): this;
spof(): this;
remove(): this;

@@ -368,3 +368,3 @@ }

fill(): string;
fill(...any): never;
fill(...params: any[]): never;
toString(): string;

@@ -398,3 +398,3 @@ from(x: number, y: number): this;

show(): string;
show(...any): never;
show(...params: any[]): never;
target(target: string): this;

@@ -644,3 +644,3 @@ target(): string;

fill(): string;
fill(...any): never;
fill(...rest: any[]): never;
update(block: (pattern: Pattern) => void): this;

@@ -923,3 +923,3 @@ toString(): string;

export interface Transformation {
new (...Transform): Transformation;
new (...transform: Transform[]): Transformation;
new (source: Transform, inversed?: boolean): Transformation;

@@ -926,0 +926,0 @@ at(pos: number): Matrix;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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