@bonniernews/wichita
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -132,9 +132,7 @@ "use strict"; | ||
if (cache[scriptPath]) { | ||
return cache[scriptPath]; | ||
if (!cache[scriptPath]) { | ||
cache[scriptPath] = loadScript(scriptPath, referencingModule.context); | ||
} | ||
const module = await loadScript(scriptPath, referencingModule.context); | ||
cache[scriptPath] = module; | ||
return module; | ||
return await cache[scriptPath]; | ||
} | ||
@@ -141,0 +139,0 @@ |
{ | ||
"name": "@bonniernews/wichita", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Run your es6 modules with imports/exports in a vm sandbox", | ||
@@ -42,7 +42,7 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@bonniernews/md2html": "0.0.2", | ||
"@bonniernews/md2html": "0.0.8", | ||
"eslint": "^5.16.0", | ||
"mocha": "^6.1.1", | ||
"nyc": "^13.3.0", | ||
"smqp": "^1.3.0" | ||
"mocha": "^6.1.4", | ||
"nyc": "^14.1.1", | ||
"smqp": "^1.6.0" | ||
}, | ||
@@ -49,0 +49,0 @@ "nyc": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9992
126
1