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

svg-parser

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svg-parser - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

4

dist/svg-parser.es.js

@@ -43,3 +43,3 @@ function getLocator(source, options) {

var validNameCharacters = /[a-zA-Z0-9:-]/;
var validNameCharacters = /[a-zA-Z0-9:_-]/;
var whitespace = /[\s\t\r\n]/;

@@ -74,3 +74,3 @@ var quotemark = /['"]/;

throw new Error(
(message + " (" + line + ":" + column + "). If this is valid SVG, it's probably a bug in svg-parser. Please raise an issue at https://gitlab.com/Rich-Harris/svg-parser/issues – thanks!\n\n" + snippet)
(message + " (" + line + ":" + column + "). If this is valid SVG, it's probably a bug in svg-parser. Please raise an issue at https://github.com/Rich-Harris/svg-parser/issues – thanks!\n\n" + snippet)
);

@@ -77,0 +77,0 @@ }

@@ -49,3 +49,3 @@ (function (global, factory) {

var validNameCharacters = /[a-zA-Z0-9:-]/;
var validNameCharacters = /[a-zA-Z0-9:_-]/;
var whitespace = /[\s\t\r\n]/;

@@ -80,3 +80,3 @@ var quotemark = /['"]/;

throw new Error(
(message + " (" + line + ":" + column + "). If this is valid SVG, it's probably a bug in svg-parser. Please raise an issue at https://gitlab.com/Rich-Harris/svg-parser/issues – thanks!\n\n" + snippet)
(message + " (" + line + ":" + column + "). If this is valid SVG, it's probably a bug in svg-parser. Please raise an issue at https://github.com/Rich-Harris/svg-parser/issues – thanks!\n\n" + snippet)
);

@@ -83,0 +83,0 @@ }

{
"name": "svg-parser",
"version": "2.0.1",
"version": "2.0.2",
"description": "Create a JSON-friendly object from an SVG string",

@@ -26,3 +26,3 @@ "main": "dist/svg-parser.umd.js",

"type": "git",
"url": "git+https://gitlab.com/Rich-Harris/svg-parser.git"
"url": "git+https://github.com/Rich-Harris/svg-parser.git"
},

@@ -38,5 +38,5 @@ "keywords": [

"bugs": {
"url": "https://gitlab.com/Rich-Harris/svg-parser/issues"
"url": "https://github.com/Rich-Harris/svg-parser/issues"
},
"homepage": "https://gitlab.com/Rich-Harris/svg-parser#README",
"homepage": "https://github.com/Rich-Harris/svg-parser#README",
"devDependencies": {

@@ -43,0 +43,0 @@ "eslint": "^3.2.2",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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