globables 2.0.1 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "globables",
3
- "version": "2.0.1",
3
+ "version": "3.0.0",
4
4
  "description": "CLI/ENV constants for Node.js-like runtimes, supports: Node.js, Deno, Bun, QuickJS, and QuickJS-NG",
5
5
  "homepage": "https://github.com/fetchTe/globables",
6
6
  "license": "MIT",
@@ -1 +0,0 @@
1
- var c=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var d=(o,e)=>{for(var r in e)c(o,r,{get:e[r],enumerable:!0})},h=(o,e,r,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of b(e))!y.call(o,n)&&n!==r&&c(o,n,{get:()=>e[n],enumerable:!(t=f(e,n))||t.enumerable});return o};var u=o=>h(c({},"__esModule",{value:!0}),o);var j={};d(j,{ARGS:()=>x,ARGV:()=>v,ENV:()=>P,GLOBAL_THIS:()=>s});module.exports=u(j);var s=typeof globalThis=="object"?globalThis:((function(o){function e(){let r=this||self;r.globalThis=r,delete o.prototype._T_}typeof globalThis!="object"&&(this?e():(o.defineProperty(o.prototype,"_T_",{configurable:!0,get:e}),_T_))})(Object),typeof globalThis=="object"?globalThis:{}),v=(()=>{var o,e,r,t;return typeof process>"u"?typeof scriptArgs<"u"?scriptArgs:[]:(t=s!=null&&s.Deno?(r=(o=s==null?void 0:s.Deno)==null?void 0:o.args)!=null?r:(e=process.args)!=null&&e.length?process.args:process.argv:process.argv)!=null?t:[]})(),x=v,P=(()=>{var o,e,r,t;return typeof process>"u"?typeof((o=s==null?void 0:s.std)==null?void 0:o.getenviron)=="function"?(t=(r=(e=s.std).getenviron)==null?void 0:r.call(e))!=null?t:{}:{}:s!=null&&s.Deno?(()=>{var n,p,a,g,i,l;try{return(l=(a=(p=(n=s==null?void 0:s.Deno)==null?void 0:n.env)==null?void 0:p.toObject)==null?void 0:a.call(p))!=null?l:(g=process.env)!=null&&g.toObject?(i=process.env)==null?void 0:i.toObject():process.env}catch{}return{}})():process.env})();0&&(module.exports={ARGS,ARGV,ENV,GLOBAL_THIS});
package/dist/index.min.js DELETED
@@ -1 +0,0 @@
1
- var e=typeof globalThis=="object"?globalThis:((function(o){function s(){let r=this||self;r.globalThis=r,delete o.prototype._T_}typeof globalThis!="object"&&(this?s():(o.defineProperty(o.prototype,"_T_",{configurable:!0,get:s}),_T_))})(Object),typeof globalThis=="object"?globalThis:{}),l=(()=>{var o,s,r,t;return typeof process>"u"?typeof scriptArgs<"u"?scriptArgs:[]:(t=e!=null&&e.Deno?(r=(o=e==null?void 0:e.Deno)==null?void 0:o.args)!=null?r:(s=process.args)!=null&&s.length?process.args:process.argv:process.argv)!=null?t:[]})(),f=l,b=(()=>{var o,s,r,t;return typeof process>"u"?typeof((o=e==null?void 0:e.std)==null?void 0:o.getenviron)=="function"?(t=(r=(s=e.std).getenviron)==null?void 0:r.call(s))!=null?t:{}:{}:e!=null&&e.Deno?(()=>{var p,n,c,a,g,i;try{return(i=(c=(n=(p=e==null?void 0:e.Deno)==null?void 0:p.env)==null?void 0:n.toObject)==null?void 0:c.call(n))!=null?i:(a=process.env)!=null&&a.toObject?(g=process.env)==null?void 0:g.toObject():process.env}catch{}return{}})():process.env})();export{f as ARGS,l as ARGV,b as ENV,e as GLOBAL_THIS};