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

@nodert-win10-rs4/windows.media.transcoding

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodert-win10-rs4/windows.media.transcoding - npm Package Compare versions

Comparing version 0.1.0 to 0.3.2

90

lib/main.js

@@ -1,63 +0,67 @@

// Copyright (c) Microsoft Corporation
// Copyright (c) Microsoft Corporation, Nadav Bar, and Felix Rieseberg
// 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.
//
// See the Apache Version 2.0 License for specific language governing permissions and limitations under the License.
// See the Apache Version 2.0 License for specific language governing permissions
// and limitations under the License.
var path = require('path');
var fs = require('fs');
var npmScope = '';
var npmScope = 'nodert-win10-rs4';
try {
// this little trick makes node.js Tools for VS load intellisense for the module
if (fs.existsSync(path.join(__dirname, 'NodeRT_Windows_Media_Transcoding.d.js)'))) {
module.exports = require('./NodeRT_Windows_Media_Transcoding.d.js');
}
// this little trick makes node.js Tools for VS load intellisense for the module
if (fs.existsSync(path.join(__dirname, 'NodeRT_Windows_Media_Transcoding.d.js)'))) {
module.exports = require('./NodeRT_Windows_Media_Transcoding.d.js');
} else {
module.exports = require('../build/Release/binding.node');
}
catch(e) {
throw e;
}
var externalReferencedNamespaces = ['Windows.Storage', 'Windows.Media.MediaProperties', 'Windows.Storage.Streams', 'Windows.Media.Core'];
if (externalReferencedNamespaces.length > 0) {
var namespaceRegistry = global.__winRtNamespaces__;
var namespaceRegistry = global.__winRtNamespaces__;
if (!namespaceRegistry) {
namespaceRegistry = {};
Object.defineProperty(global, '__winRtNamespaces__', {
configurable: true,
writable: false,
enumerable: false,
value: namespaceRegistry
});
}
if (!namespaceRegistry) {
namespaceRegistry = {};
Object.defineProperty(global, '__winRtNamespaces__', {
configurable: true,
writable: false,
enumerable: false,
value: namespaceRegistry
});
}
function requireNamespace(namespace) {
var moduleName = namespace.toLowerCase();
if (npmScope) {
moduleName = '@' + npmScope + '/' + moduleName;
}
function requireNamespace(namespace) {
var moduleName = namespace.toLowerCase();
var m = require(moduleName);
delete namespaceRegistry[namespace];
namespaceRegistry[namespace] = m;
return m;
if (npmScope) {
moduleName = '@' + npmScope + '/' + moduleName;
}
for (var i in externalReferencedNamespaces) {
var ns = externalReferencedNamespaces[i];
if (!namespaceRegistry.hasOwnProperty(ns)) {
Object.defineProperty(namespaceRegistry, ns, {
configurable: true,
enumerable: true,
get: requireNamespace.bind(null, ns)
});
}
var m = require(moduleName);
delete namespaceRegistry[namespace];
namespaceRegistry[namespace] = m;
return m;
}
for (var i in externalReferencedNamespaces) {
var ns = externalReferencedNamespaces[i];
if (!namespaceRegistry.hasOwnProperty(ns)) {
Object.defineProperty(namespaceRegistry, ns, {
configurable: true,
enumerable: true,
get: requireNamespace.bind(null, ns)
});
}
}
}
}

@@ -0,0 +0,0 @@ _MediaVideoProcessingAlgorithm = function () {

@@ -0,0 +0,0 @@ declare module "windows.media.transcoding" {

{
"name": "@nodert-win10-rs4/windows.media.transcoding",
"version": "0.1.0",
"version": "0.3.2",
"description": "Use the Windows.Media.Transcoding UWP API directly from Node.js",
"main": "lib/main.js",
"scripts" : {
"install" : "node-gyp rebuild --msvs_version=2017"
},
"os": [
"win32"
],
"keywords": [

@@ -24,3 +18,3 @@ "Windows.Media.Transcoding",

"Microsoft"
],
],
"dependencies" : {

@@ -35,5 +29,8 @@ "nan" : "latest"

"author": "Generated by NodeRT",
"contributors": ["nadavbar <nadavbar@gmail.com> (http://www.nadavos.com)", "sidneys <sidneys.github.io@outlook.com> (https://sidneys.github.io)"],
"contributors": [
"nadavbar <nadavbar@gmail.com> (http://www.nadavos.com)",
"Felix Rieseberg <felix@felixrieseberg.com> (https://www.felix.fun)"
],
"gypfile": true,
"license": "Apache-2.0"
}

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

windows.media.transcoding
@nodert-win10-rs4/windows.media.transcoding
=====

@@ -36,3 +36,3 @@

```
npm install windows.media.transcoding
npm install @nodert-win10-rs4/windows.media.transcoding
```

@@ -39,0 +39,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

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

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

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