Comparing version 4.0.5 to 4.0.6
{ | ||
"name": "sheetify", | ||
"version": "4.0.5", | ||
"version": "4.0.6", | ||
"description": "Modular CSS bundler", | ||
@@ -33,2 +33,3 @@ "repository": "sheetify/sheetify", | ||
"resolve": "^1.1.7", | ||
"style-resolve": "0.0.0", | ||
"through2": "^2.0.0", | ||
@@ -35,0 +36,0 @@ "xtend": "^4.0.1" |
@@ -0,1 +1,2 @@ | ||
const cssResolve = require('style-resolve').sync | ||
const mapLimit = require('map-limit') | ||
@@ -12,3 +13,2 @@ const isStream = require('is-stream') | ||
const cssResolve = require('./lib/css-resolve') | ||
const sheetify = require('./index') | ||
@@ -143,3 +143,9 @@ | ||
// - check if local file | ||
const resolvePath = cssResolve(node.arguments[0].value, opts.basedir) | ||
try { | ||
var resolvePath = cssResolve(node.arguments[0].value, { basedir: opts.basedir }) | ||
} catch (err) { | ||
if (err.message.substring(0, 18) !== 'Cannot find module') { | ||
throw err | ||
} | ||
} | ||
const fnp = resolvePath || | ||
@@ -146,0 +152,0 @@ path.join(path.dirname(filename), node.arguments[0].value) |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
26501
12
34
539
+ Addedstyle-resolve@0.0.0
+ Addedresolve@0.6.3(transitive)
+ Addedstyle-resolve@0.0.0(transitive)
+ Addedxtend@2.2.0(transitive)