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

css-imports

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-imports - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

coverage/coverage.json

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

{"/Users/popomore/code/popomore/css-imports/index.js":{"path":"/Users/popomore/code/popomore/css-imports/index.js","s":{"1":1,"2":1,"3":4,"4":2,"5":4,"6":1,"7":3,"8":3,"9":3,"10":3,"11":3,"12":10,"13":3,"14":1,"15":1,"16":4,"17":1,"18":1,"19":3},"b":{"1":[2,2],"2":[1,3],"3":[10,5]},"f":{"1":4,"2":1,"3":4,"4":3},"fnMap":{"1":{"name":"imports","line":5,"loc":{"start":{"line":5,"column":0},"end":{"line":5,"column":26}}},"2":{"name":"map","line":24,"loc":{"start":{"line":24,"column":0},"end":{"line":24,"column":22}}},"3":{"name":"(anonymous_3)","line":25,"loc":{"start":{"line":25,"column":23},"end":{"line":25,"column":34}}},"4":{"name":"removeComment","line":32,"loc":{"start":{"line":32,"column":0},"end":{"line":32,"column":28}}}},"statementMap":{"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":25}},"2":{"start":{"line":5,"column":0},"end":{"line":22,"column":1}},"3":{"start":{"line":6,"column":2},"end":{"line":6,"column":50}},"4":{"start":{"line":6,"column":29},"end":{"line":6,"column":50}},"5":{"start":{"line":7,"column":2},"end":{"line":7,"column":30}},"6":{"start":{"line":7,"column":10},"end":{"line":7,"column":30}},"7":{"start":{"line":8,"column":2},"end":{"line":8,"column":70}},"8":{"start":{"line":9,"column":2},"end":{"line":9,"column":15}},"9":{"start":{"line":10,"column":2},"end":{"line":10,"column":8}},"10":{"start":{"line":12,"column":2},"end":{"line":12,"column":27}},"11":{"start":{"line":13,"column":2},"end":{"line":19,"column":3}},"12":{"start":{"line":14,"column":4},"end":{"line":18,"column":7}},"13":{"start":{"line":21,"column":2},"end":{"line":21,"column":13}},"14":{"start":{"line":24,"column":0},"end":{"line":30,"column":1}},"15":{"start":{"line":25,"column":2},"end":{"line":27,"column":5}},"16":{"start":{"line":26,"column":4},"end":{"line":26,"column":39}},"17":{"start":{"line":29,"column":2},"end":{"line":29,"column":13}},"18":{"start":{"line":32,"column":0},"end":{"line":34,"column":1}},"19":{"start":{"line":33,"column":2},"end":{"line":33,"column":46}}},"branchMap":{"1":{"line":6,"type":"if","locations":[{"start":{"line":6,"column":2},"end":{"line":6,"column":2}},{"start":{"line":6,"column":2},"end":{"line":6,"column":2}}]},"2":{"line":7,"type":"if","locations":[{"start":{"line":7,"column":2},"end":{"line":7,"column":2}},{"start":{"line":7,"column":2},"end":{"line":7,"column":2}}]},"3":{"line":16,"type":"binary-expr","locations":[{"start":{"line":16,"column":12},"end":{"line":16,"column":16}},{"start":{"line":16,"column":20},"end":{"line":16,"column":24}}]}}}}
{"/Users/popomore/code/popomore/css-imports/index.js":{"path":"/Users/popomore/code/popomore/css-imports/index.js","s":{"1":1,"2":1,"3":4,"4":2,"5":4,"6":1,"7":3,"8":3,"9":3,"10":3,"11":3,"12":12,"13":3,"14":1,"15":1,"16":5,"17":1,"18":1,"19":3},"b":{"1":[2,2],"2":[1,3],"3":[12,5]},"f":{"1":4,"2":1,"3":5,"4":3},"fnMap":{"1":{"name":"imports","line":5,"loc":{"start":{"line":5,"column":0},"end":{"line":5,"column":26}}},"2":{"name":"map","line":24,"loc":{"start":{"line":24,"column":0},"end":{"line":24,"column":22}}},"3":{"name":"(anonymous_3)","line":25,"loc":{"start":{"line":25,"column":23},"end":{"line":25,"column":34}}},"4":{"name":"removeComment","line":32,"loc":{"start":{"line":32,"column":0},"end":{"line":32,"column":28}}}},"statementMap":{"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":25}},"2":{"start":{"line":5,"column":0},"end":{"line":22,"column":1}},"3":{"start":{"line":6,"column":2},"end":{"line":6,"column":50}},"4":{"start":{"line":6,"column":29},"end":{"line":6,"column":50}},"5":{"start":{"line":7,"column":2},"end":{"line":7,"column":30}},"6":{"start":{"line":7,"column":10},"end":{"line":7,"column":30}},"7":{"start":{"line":8,"column":2},"end":{"line":8,"column":72}},"8":{"start":{"line":9,"column":2},"end":{"line":9,"column":15}},"9":{"start":{"line":10,"column":2},"end":{"line":10,"column":8}},"10":{"start":{"line":12,"column":2},"end":{"line":12,"column":27}},"11":{"start":{"line":13,"column":2},"end":{"line":19,"column":3}},"12":{"start":{"line":14,"column":4},"end":{"line":18,"column":7}},"13":{"start":{"line":21,"column":2},"end":{"line":21,"column":13}},"14":{"start":{"line":24,"column":0},"end":{"line":30,"column":1}},"15":{"start":{"line":25,"column":2},"end":{"line":27,"column":5}},"16":{"start":{"line":26,"column":4},"end":{"line":26,"column":39}},"17":{"start":{"line":29,"column":2},"end":{"line":29,"column":13}},"18":{"start":{"line":32,"column":0},"end":{"line":34,"column":1}},"19":{"start":{"line":33,"column":2},"end":{"line":33,"column":46}}},"branchMap":{"1":{"line":6,"type":"if","locations":[{"start":{"line":6,"column":2},"end":{"line":6,"column":2}},{"start":{"line":6,"column":2},"end":{"line":6,"column":2}}]},"2":{"line":7,"type":"if","locations":[{"start":{"line":7,"column":2},"end":{"line":7,"column":2}},{"start":{"line":7,"column":2},"end":{"line":7,"column":2}}]},"3":{"line":16,"type":"binary-expr","locations":[{"start":{"line":16,"column":12},"end":{"line":16,"column":16}},{"start":{"line":16,"column":20},"end":{"line":16,"column":24}}]}}}}

@@ -5,2 +5,6 @@ # History

## 0.2.1
url() can ignore quote
## 0.2.0

@@ -7,0 +11,0 @@

@@ -8,3 +8,3 @@ 'use strict';

if (fn) return map(str, fn);
var re = /@import *(?:url\(['"]([^'"]+)['"]\)|['"]([^'"]+)['"]);?/g;
var re = /@import *(?:url\(['"]?([^'"]+)['"]?\)|['"]([^'"]+)['"]);?/g;
var ret = [];

@@ -11,0 +11,0 @@ var m;

{
"name": "css-imports",
"version": "0.2.0",
"version": "0.2.1",
"description": "find all @import in css",

@@ -5,0 +5,0 @@ "main": "index",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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