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

jquery-inline-svg

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery-inline-svg - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

build/rollup-min.conf.js

21

package.json
{
"name": "jquery-inline-svg",
"version": "1.0.0",
"description": "Replace SVG images with inline SVG element ",
"version": "1.0.1",
"description": "Replace SVG images with inline SVG element",
"main": "dist/jquery-inline-svg.esm.js",
"scripts": {
"test": "eslint src/*.js",
"build": "npm run bundle && npm run bundle:min",
"bundle": "rollup -c build/rollup.conf.js",
"bundle:min": "rollup -c build/rollup-min.conf.js"
},
"keywords": [

@@ -19,9 +26,11 @@ "svg",

"devDependencies": {
"babel-core": "^6.26.0",
"babel-preset-env": "^1.6.1",
"eslint": "^4",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.9.0"
},
"scripts": {
"test": "eslint src/*.js"
"eslint-plugin-import": "^2.9.0",
"rollup": "^0.57.1",
"rollup-plugin-babel": "^3.0.3",
"rollup-plugin-uglify": "^3.0.0"
}
}

@@ -0,1 +1,4 @@

const cache = {};
(function wrapJquery($) {

@@ -8,5 +11,2 @@ $.fn.inlineSvg = function fnInlineSvg() {

const cache = {};
function imgToSvg() {

@@ -13,0 +13,0 @@ const $img = $(this);

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