Comparing version 3.0.14 to 3.0.15
@@ -1,1 +0,1 @@ | ||
"use strict";const{defineProperty:e}=Reflect,{freeze:t}=Object,{versions:r}=process,n=r.chakracore,o=r.v8||n,c=process.version,{filename:u,id:l}=module,a=l.startsWith("internal/")?N("internal/bootstrap/loaders"):void 0,{Script:i}=require("vm"),{runInNewContext:s,runInThisContext:d}=i.prototype,{existsSync:_,mkdirSync:f,readFileSync:m,unlinkSync:p,writeFileSync:h}=require("fs"),{resolve:y}=require("path"),q=require("module"),v=a&&a.NativeModule,b=new q(l,null),x=module.constructor.length>1;let S;b.filename=u,b.parent=module.parent;let g=require;function D(){let e,t,r,u,l,a="esm.js";if(v)u=v._source["internal/esm/loader"];else{const n=w(c+"\0"+o)+".blob",i=y(__dirname,"esm/loader.js");l=y(__dirname,"node_modules"),r=y(l,".cache"),t=y(r,n),e=I(t),u=I(i,"utf8"),a=y(__dirname,a)}const f=new i("(function (require, module, __shared__) { "+u+"\n});",{__proto__:null,cachedData:e,filename:a,produceCachedData:!v});let m=!1,p=null;const{cachedDataRejected:h}=f;if(f.cachedDataProduced&&!h?(m=!e,p=f.cachedData):e&&h&&(m=!0),m)if(p){let e=!1;_(l)?e=!0:C(l)&&C(r)&&(e=!0),e&&P(t,p)}else F(t);const q={__proto__:null,filename:a};if(n)return d.call(f,q);const b={__proto__:null,global:global};return s.call(f,b,q)}function j(){return R(g,b,__shared__),b.exports}function k(e,t){return j()(e,t)}function w(e){return S||(S=require("crypto").createHash),S("md5").update(e).digest("hex")}function C(e){try{return f(e),!0}catch(e){}return!1}function I(e,t){try{return m(e,t)}catch(e){}}function F(e){try{return p(e)}catch(e){}}function N(e){try{return require(e)}catch(e){}}function P(e,t){try{return h(e,t)}catch(e){}}x||v||"function"!=typeof b.require||(g=(e=>b.require(e)));const R=D();let __shared__;__shared__=j(),e(k,__shared__.symbol.package,{__proto__:null,value:!0}),e(k,__shared__.customInspectKey,{__proto__:null,value:()=>"esm enabled"}),t(k),module.exports=k; | ||
"use strict";const{defineProperty:e}=Reflect,{freeze:t}=Object,{versions:r}=process,n=r.chakracore,o=r.v8||n,c=process.version,{filename:u,id:l}=module,a=l.startsWith("internal/")?N("internal/bootstrap/loaders"):void 0,{Script:i}=require("vm"),{runInNewContext:s,runInThisContext:d}=i.prototype,{existsSync:_,mkdirSync:f,readFileSync:m,unlinkSync:p,writeFileSync:h}=require("fs"),{resolve:y}=require("path"),q=require("module"),v=a&&a.NativeModule,b=new q(l,null),x=module.constructor.length>1;let S;b.filename=u,b.parent=module.parent;let g=require;function D(){let e,t,r,u,l,a="esm.js";if(v)u=v._source["internal/esm/loader"];else{const n=w(c+"\0"+o)+".blob",i=y(__dirname,"esm/loader.js");l=y(__dirname,"node_modules"),r=y(l,".cache"),t=y(r,n),e=I(t),u=I(i,"utf8"),a=y(__dirname,a)}const f=new i("(function (require, module, __shared__) { "+u+"\n});",{__proto__:null,cachedData:e,filename:a,produceCachedData:!v});let m=!1,p=null;const{cachedDataRejected:h}=f;if(f.cachedDataProduced&&!h?(m=!e,p=f.cachedData):e&&h&&(m=!0),m)if(p){let e=!1;_(l)?e=!0:C(l)&&C(r)&&(e=!0),e&&P(t,p)}else F(t);const q={__proto__:null,filename:a};if(n)return d.call(f,q);const b={__proto__:null,global:global};return s.call(f,b,q)}function j(){return R(g,b,z),b.exports}function k(e,t){return j()(e,t)}function w(e){return S||(S=require("crypto").createHash),S("md5").update(e).digest("hex")}function C(e){try{return f(e),!0}catch(e){}return!1}function I(e,t){try{return m(e,t)}catch(e){}}function F(e){try{return p(e)}catch(e){}}function N(e){try{return require(e)}catch(e){}}function P(e,t){try{return h(e,t)}catch(e){}}x||v||"function"!=typeof b.require||(g=(e=>b.require(e)));const R=D();let z;z=j(),e(k,z.symbol.package,{__proto__:null,value:!0}),e(k,z.customInspectKey,{__proto__:null,value:()=>"esm enabled"}),t(k),module.exports=k; |
{ | ||
"name": "esm", | ||
"version": "3.0.14", | ||
"version": "3.0.15", | ||
"description": "Tomorrow's ESM today!", | ||
@@ -5,0 +5,0 @@ "keywords": "commonjs, ecmascript, export, import, modules, node, require", |
Sorry, the diff of this file is too big to display
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
223422
13