@nodert-win10/windows.storage
Advanced tools
Comparing version 0.2.91 to 0.2.95
@@ -12,2 +12,4 @@ // Copyright (c) Microsoft Corporation | ||
var npmScope = 'nodert-win10'; | ||
try { | ||
@@ -41,3 +43,8 @@ // this little trick makes node.js Tools for VS load intellisense for the module | ||
function requireNamespace(namespace) { | ||
var m = require(namespace.toLowerCase()); | ||
var moduleName = namespace.toLowerCase(); | ||
if (npmScope) { | ||
moduleName = '@' + npmScope + '/' + moduleName; | ||
} | ||
var m = require(moduleName); | ||
delete namespaceRegistry[namespace]; | ||
@@ -44,0 +51,0 @@ namespaceRegistry[namespace] = m; |
{ | ||
"name": "@nodert-win10/windows.storage", | ||
"version": "0.2.91", | ||
"version": "0.2.95", | ||
"description": "Use the Windows.Storage UWP API directly from Node.js", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
@@ -20,2 +20,3 @@ @nodert-win10/windows.storage | ||
* Visual Studio version 2015 and above. (Express Desktop versions also work!) | ||
* Python 2.7 (for node-gyp) | ||
* <b>Important:</b> Updated versions of npm and node-gyp. (Note that the ones that are bundled with node might not be up to date). In order to install latest npm, run: | ||
@@ -22,0 +23,0 @@ ``` |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
934236
2254
46