@nodert-win10/windows.devices.enumeration
Advanced tools
Comparing version 0.2.2 to 0.2.9
// Copyright (c) Microsoft Corporation | ||
// All rights reserved. | ||
// All rights reserved. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the ""License""); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
// Licensed under the Apache License, Version 2.0 (the ""License""); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. | ||
// THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. | ||
// | ||
@@ -17,3 +17,3 @@ // See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. | ||
} | ||
module.exports = require('../build/release/binding.node'); | ||
module.exports = require('../build/Release/binding.node'); | ||
} | ||
@@ -49,8 +49,10 @@ catch(e) { | ||
var ns = externalReferencedNamespaces[i]; | ||
Object.defineProperty(namespaceRegistry, ns, { | ||
configurable: true, | ||
enumerable: true, | ||
get: requireNamespace.bind(null, ns) | ||
}); | ||
if (!namespaceRegistry.hasOwnProperty(ns)) { | ||
Object.defineProperty(namespaceRegistry, ns, { | ||
configurable: true, | ||
enumerable: true, | ||
get: requireNamespace.bind(null, ns) | ||
}); | ||
} | ||
} | ||
} |
{ | ||
"name": "@nodert-win10/windows.devices.enumeration", | ||
"version": "0.2.2", | ||
"version": "0.2.9", | ||
"description": "Use the Windows.Devices.Enumeration UWP API directly from Node.js", | ||
@@ -9,2 +9,5 @@ "main": "lib/main.js", | ||
}, | ||
"os": [ | ||
"win32" | ||
], | ||
"keywords": [ | ||
@@ -11,0 +14,0 @@ "Windows.Devices.Enumeration", |
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
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
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
500546
1039