Comparing version 1.0.0-y.100 to 1.0.0-y.101
@@ -1,2 +0,3 @@ | ||
export declare const importAsset: (id: string) => any; | ||
/// <reference types="node" /> | ||
export declare const importAsset: ((id: string) => undefined) | NodeRequire; | ||
//# sourceMappingURL=import-asset.d.ts.map |
@@ -8,10 +8,6 @@ "use strict"; | ||
exports.importAsset = void 0; | ||
const importAsset = (id) => { | ||
if (process.release.name === 'node') { | ||
return undefined; | ||
} | ||
// eslint-disable-next-line import/no-dynamic-require | ||
return require(id); | ||
}; | ||
exports.importAsset = importAsset; | ||
exports.importAsset = typeof process !== 'undefined' && process.release.name === 'node' | ||
? // eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
(id) => undefined | ||
: require; | ||
//# sourceMappingURL=import-asset.js.map |
{ | ||
"name": "remotion", | ||
"version": "1.0.0-y.100", | ||
"version": "1.0.0-y.101", | ||
"description": "Render videos in React", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
114219
1496