diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ce5e00..acbc453 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: jobs: test-firefox: name: Firefox Browser Tests - runs-on: ubuntu-latest + runs-on: windows-latest strategy: matrix: firefox: ['89.0'] @@ -30,7 +30,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: chomp test env: - CI_BROWSER: /opt/hostedtoolcache/firefox/${{ matrix.firefox }}/x64/firefox + CI_BROWSER: C:\Program Files\Firefox_${{ matrix.firefox }}\firefox.exe CI_BROWSER_FLAGS: -headless test-chrome: @@ -57,6 +57,8 @@ jobs: - run: npm ci - name: Setup Chomp uses: guybedford/chomp-action@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: chomp test env: CI_BROWSER_FLAGS: --headless --screenshot diff --git a/nodelibs/browser/_stream_duplex.js b/nodelibs/browser/_stream_duplex.js index e035385..0a639c7 100644 --- a/nodelibs/browser/_stream_duplex.js +++ b/nodelibs/browser/_stream_duplex.js @@ -1,12 +1,12 @@ -import { e as exports } from './chunk-bae46e69.js'; +import { e as exports } from './chunk-6c718bbe.js'; import './events.js'; -import './chunk-001ff647.js'; -import './chunk-c1749ca1.js'; -import './chunk-739d4e67.js'; -import './chunk-566596b9.js'; -import './chunk-32df7659.js'; -import './chunk-6ad9b8b8.js'; -import './chunk-605e2a90.js'; +import './chunk-4bd36a8f.js'; +import './chunk-44e51b61.js'; +import './chunk-ce0fbc82.js'; +import './chunk-b4205b57.js'; +import './chunk-5decc758.js'; +import './chunk-2eac56ff.js'; +import './chunk-4ccc3a29.js'; var _stream_duplex = exports.Duplex; var from = exports.Duplex.from; diff --git a/nodelibs/browser/_stream_passthrough.js b/nodelibs/browser/_stream_passthrough.js index 8025ace..963b23e 100644 --- a/nodelibs/browser/_stream_passthrough.js +++ b/nodelibs/browser/_stream_passthrough.js @@ -1,12 +1,12 @@ -import { e as exports } from './chunk-bae46e69.js'; +import { e as exports } from './chunk-6c718bbe.js'; import './events.js'; -import './chunk-001ff647.js'; -import './chunk-c1749ca1.js'; -import './chunk-739d4e67.js'; -import './chunk-566596b9.js'; -import './chunk-32df7659.js'; -import './chunk-6ad9b8b8.js'; -import './chunk-605e2a90.js'; +import './chunk-4bd36a8f.js'; +import './chunk-44e51b61.js'; +import './chunk-ce0fbc82.js'; +import './chunk-b4205b57.js'; +import './chunk-5decc758.js'; +import './chunk-2eac56ff.js'; +import './chunk-4ccc3a29.js'; var _stream_passthrough = exports.PassThrough; diff --git a/nodelibs/browser/_stream_readable.js b/nodelibs/browser/_stream_readable.js index 459d10f..8505822 100644 --- a/nodelibs/browser/_stream_readable.js +++ b/nodelibs/browser/_stream_readable.js @@ -1,14 +1,14 @@ import { Readable } from './stream.js'; export { Readable as default } from './stream.js'; -import './chunk-bae46e69.js'; +import './chunk-6c718bbe.js'; import './events.js'; -import './chunk-001ff647.js'; -import './chunk-c1749ca1.js'; -import './chunk-739d4e67.js'; -import './chunk-566596b9.js'; -import './chunk-32df7659.js'; -import './chunk-6ad9b8b8.js'; -import './chunk-605e2a90.js'; +import './chunk-4bd36a8f.js'; +import './chunk-44e51b61.js'; +import './chunk-ce0fbc82.js'; +import './chunk-b4205b57.js'; +import './chunk-5decc758.js'; +import './chunk-2eac56ff.js'; +import './chunk-4ccc3a29.js'; import './util.js'; var ReadableState = Readable.ReadableState; diff --git a/nodelibs/browser/_stream_transform.js b/nodelibs/browser/_stream_transform.js index 948d5b2..3dfff3c 100644 --- a/nodelibs/browser/_stream_transform.js +++ b/nodelibs/browser/_stream_transform.js @@ -1,12 +1,12 @@ -import { e as exports } from './chunk-bae46e69.js'; +import { e as exports } from './chunk-6c718bbe.js'; import './events.js'; -import './chunk-001ff647.js'; -import './chunk-c1749ca1.js'; -import './chunk-739d4e67.js'; -import './chunk-566596b9.js'; -import './chunk-32df7659.js'; -import './chunk-6ad9b8b8.js'; -import './chunk-605e2a90.js'; +import './chunk-4bd36a8f.js'; +import './chunk-44e51b61.js'; +import './chunk-ce0fbc82.js'; +import './chunk-b4205b57.js'; +import './chunk-5decc758.js'; +import './chunk-2eac56ff.js'; +import './chunk-4ccc3a29.js'; var _stream_transform = exports.Transform; diff --git a/nodelibs/browser/_stream_writable.js b/nodelibs/browser/_stream_writable.js index 3a698d9..6fbab49 100644 --- a/nodelibs/browser/_stream_writable.js +++ b/nodelibs/browser/_stream_writable.js @@ -1,12 +1,12 @@ -import { e as exports } from './chunk-bae46e69.js'; +import { e as exports } from './chunk-6c718bbe.js'; import './events.js'; -import './chunk-001ff647.js'; -import './chunk-c1749ca1.js'; -import './chunk-739d4e67.js'; -import './chunk-566596b9.js'; -import './chunk-32df7659.js'; -import './chunk-6ad9b8b8.js'; -import './chunk-605e2a90.js'; +import './chunk-4bd36a8f.js'; +import './chunk-44e51b61.js'; +import './chunk-ce0fbc82.js'; +import './chunk-b4205b57.js'; +import './chunk-5decc758.js'; +import './chunk-2eac56ff.js'; +import './chunk-4ccc3a29.js'; var _stream_writable = exports.Writable; var WritableState = exports.Writable.WritableState; diff --git a/nodelibs/browser/assert.js b/nodelibs/browser/assert.js index c061c9c..958eba0 100644 --- a/nodelibs/browser/assert.js +++ b/nodelibs/browser/assert.js @@ -1,5 +1,5 @@ -import { X as X$1 } from './chunk-566596b9.js'; -import { T as T$1 } from './chunk-32df7659.js'; +import { X as X$1 } from './chunk-b4205b57.js'; +import { T as T$1 } from './chunk-5decc758.js'; function e(e,r){if(null==e)throw new TypeError("Cannot convert first argument to object");for(var t=Object(e),n=1;n=0&&"[object Function]"===e$1.call(t.callee)),n};if(!Object.keys){var n=Object.prototype.hasOwnProperty,o=Object.prototype.toString,c=r$1,l=Object.prototype.propertyIsEnumerable,i=!l.call({toString:null},"toString"),a=l.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(t){var e=t.constructor;return e&&e.prototype===t},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},s=function(){if("undefined"==typeof window)return !1;for(var t in window)try{if(!p["$"+t]&&n.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{f(window[t]);}catch(t){return !0}}catch(t){return !0}return !1}();t=function(t){var e=null!==t&&"object"==typeof t,r="[object Function]"===o.call(t),l=c(t),p=e&&"[object String]"===o.call(t),y=[];if(!e&&!r&&!l)throw new TypeError("Object.keys called on a non-object");var b=a&&r;if(p&&t.length>0&&!n.call(t,0))for(var g=0;g0)for(var h=0;h2?arguments[2]:{},c=r$2(o);e$2&&(c=n$1.call(c,Object.getOwnPropertySymbols(o)));for(var u=0;u1&&"boolean"!=typeof e)throw new TypeError('"allowMissing" argument must be a boolean');for(var n=v(r),y=P("%"+(n.length>0?n[0]:"")+"%",e),a=1;a=n.length){var i=t$3(y,n[a]);if(!e&&!(n[a]in y))throw new o$3("base intrinsic for "+r+" exists, but the property is not available.");y=i?i.get||i.value:y[n[a]];}else y=y[n[a]];return y};var t$4,p$1=e$4,o$4=c$2("%Function%"),i$2=o$4.apply,a$3=o$4.call;(t$4=function(){return p$1.apply(a$3,arguments)}).apply=function(){return p$1.apply(i$2,arguments)};var l$4=t$4;var r$4,n$4,i$3=function(t){return t!=t},o$5=(r$4=function(t,e){return 0===t&&0===e?1/t==1/e:t===e||!(!i$3(t)||!i$3(e))},r$4),c$3=(n$4=function(){return "function"==typeof Object.is?Object.is:o$5},n$4),f$4=f$1,u$3=f$1,s$1=r$4,a$4=n$4,l$5=function(){var t=c$3();return f$4(Object,{is:t},{is:function(){return Object.is!==t}}),t},p$2=l$4(a$4(),Object);u$3(p$2,{getPolyfill:a$4,implementation:s$1,shim:l$5});var m=p$2;N=function(r){return r!=r};var N,e$5,i$4=N,n$5=(e$5=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:i$4},f$1),t$5=e$5,u$4=f$1,a$5=N,m$1=e$5,o$6=function(){var r=t$5();return n$5(Number,{isNaN:r},{isNaN:function(){return Number.isNaN!==r}}),r},s$2=m$1();u$4(s$2,{getPolyfill:m$1,implementation:a$5,shim:o$6});var f$5=s$2;var c$4={},a$6=!1;function i$5(){if(a$6)return c$4;function e(t){return (e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,n){return !n||"object"!==e(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function r(t){return (r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function o(t,e){return (o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}a$6=!0;var i,u,l={};function f(t,e,c){c||(c=Error);var a=function(c){function a(o,c,i){var u;return !function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(u=n(this,r(a).call(this,function(t,n,r){return "string"==typeof e?e:e(t,n,r)}(o,c,i)))).code=t,u}return !function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e);}(a,c),a}(c);l[t]=a;}function s(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map((function(t){return String(t)})),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return "of ".concat(e," ").concat(String(t))}return f("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),f("ERR_INVALID_ARG_TYPE",(function(t,n,r){var o,c,u;if(void 0===i&&(i=tt()),i("string"==typeof t,"'name' must be a string"),"string"==typeof n&&(c="not ",n.substr(0,c.length)===c)?(o="must not be",n=n.replace(/^not /,"")):o="must be",function(t,e,n){return (void 0===n||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}(t," argument"))u="The ".concat(t," ").concat(o," ").concat(s(n,"type"));else {var l=function(t,e,n){return "number"!=typeof n&&(n=0),!(n+e.length>t.length)&&-1!==t.indexOf(e,n)}(t,".")?"property":"argument";u='The "'.concat(t,'" ').concat(l," ").concat(o," ").concat(s(n,"type"));}return u+=". Received type ".concat(e(r))}),TypeError),f("ERR_INVALID_ARG_VALUE",(function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===u&&(u=X$1);var o=u.inspect(n);return o.length>128&&(o="".concat(o.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(o)}),TypeError),f("ERR_INVALID_RETURN_VALUE",(function(t,n,r){var o;return o=r&&r.constructor&&r.constructor.name?"instance of ".concat(r.constructor.name):"type ".concat(e(r)),"Expected ".concat(t,' to be returned from the "').concat(n,'"')+" function but got ".concat(o,".")}),TypeError),f("ERR_MISSING_ARGS",(function(){for(var t=arguments.length,e=new Array(t),n=0;n0,"At least one arg needs to be specified");var r="The ",o=e.length;switch(e=e.map((function(t){return '"'.concat(t,'"')})),o){case 1:r+="".concat(e[0]," argument");break;case 2:r+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:r+=e.slice(0,o-1).join(", "),r+=", and ".concat(e[o-1]," arguments");}return "".concat(r," must be specified")}),TypeError),c$4.codes=l,c$4}var u$5={},l$6=!1;function f$6(){if(l$6)return u$5;l$6=!0;var n=T$1;function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){for(var n=0;nt.length)&&(n=t.length),t.substring(n-e.length,n)===e}var m="",E="",w="",S="",j={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function O(t){var e=Object.keys(t),n=Object.create(Object.getPrototypeOf(t));return e.forEach((function(e){n[e]=t[e];})),Object.defineProperty(n,"message",{value:t.message}),n}function x(t){return b(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function q(t,e,r){var o="",c="",a=0,i="",u=!1,l=x(t),f=l.split("\n"),s=x(e).split("\n"),p=0,g="";if("strictEqual"===r&&"object"===y(t)&&"object"===y(e)&&null!==t&&null!==e&&(r="strictEqualObject"),1===f.length&&1===s.length&&f[0]!==s[0]){var h=f[0].length+s[0].length;if(h<=10){if(!("object"===y(t)&&null!==t||"object"===y(e)&&null!==e||0===t&&0===e))return "".concat(j[r],"\n\n")+"".concat(f[0]," !== ").concat(s[0],"\n")}else if("strictEqualObject"!==r){if(h<(n.stderr&&n.stderr.isTTY?n.stderr.columns:80)){for(;f[0][p]===s[0][p];)p++;p>2&&(g="\n ".concat(function(t,e){if(e=Math.floor(e),0==t.length||0==e)return "";var n=t.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)t+=t,e--;return t+=t.substring(0,n-t.length)}(" ",p),"^"),p=0);}}}for(var b=f[f.length-1],v=s[s.length-1];b===v&&(p++<2?i="\n ".concat(b).concat(i):o=b,f.pop(),s.pop(),0!==f.length&&0!==s.length);)b=f[f.length-1],v=s[s.length-1];var O=Math.max(f.length,s.length);if(0===O){var q=l.split("\n");if(q.length>30)for(q[26]="".concat(m,"...").concat(S);q.length>27;)q.pop();return "".concat(j.notIdentical,"\n\n").concat(q.join("\n"),"\n")}p>3&&(i="\n".concat(m,"...").concat(S).concat(i),u=!0),""!==o&&(i="\n ".concat(o).concat(i),o="");var R=0,A=j[r]+"\n".concat(E,"+ actual").concat(S," ").concat(w,"- expected").concat(S),k=" ".concat(m,"...").concat(S," Lines skipped");for(p=0;p1&&p>2&&(_>4?(c+="\n".concat(m,"...").concat(S),u=!0):_>3&&(c+="\n ".concat(s[p-2]),R++),c+="\n ".concat(s[p-1]),R++),a=p,o+="\n".concat(w,"-").concat(S," ").concat(s[p]),R++;else if(s.length1&&p>2&&(_>4?(c+="\n".concat(m,"...").concat(S),u=!0):_>3&&(c+="\n ".concat(f[p-2]),R++),c+="\n ".concat(f[p-1]),R++),a=p,c+="\n".concat(E,"+").concat(S," ").concat(f[p]),R++;else {var T=s[p],P=f[p],I=P!==T&&(!d(P,",")||P.slice(0,-1)!==T);I&&d(T,",")&&T.slice(0,-1)===P&&(I=!1,P+=","),I?(_>1&&p>2&&(_>4?(c+="\n".concat(m,"...").concat(S),u=!0):_>3&&(c+="\n ".concat(f[p-2]),R++),c+="\n ".concat(f[p-1]),R++),a=p,c+="\n".concat(E,"+").concat(S," ").concat(P),o+="\n".concat(w,"-").concat(S," ").concat(T),R+=2):(c+=o,o="",1!==_&&0!==p||(c+="\n ".concat(P),R++));}if(R>20&&p30)for(g[26]="".concat(m,"...").concat(S);g.length>27;)g.pop();r=1===g.length?c(this,h(e).call(this,"".concat(p," ").concat(g[0]))):c(this,h(e).call(this,"".concat(p,"\n\n").concat(g.join("\n"),"\n")));}else {var b=x(l),d="",R=j[i];"notDeepEqual"===i||"notEqual"===i?(b="".concat(j[i],"\n\n").concat(b)).length>1024&&(b="".concat(b.slice(0,1021),"...")):(d="".concat(x(f)),b.length>512&&(b="".concat(b.slice(0,509),"...")),d.length>512&&(d="".concat(d.slice(0,509),"...")),"deepEqual"===i||"equal"===i?b="".concat(R,"\n\n").concat(b,"\n\nshould equal\n\n"):d=" ".concat(i," ").concat(d)),r=c(this,h(e).call(this,"".concat(b).concat(d)));}return Error.stackTraceLimit=s,r.generatedMessage=!o,Object.defineProperty(a(r),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),r.code="ERR_ASSERTION",r.actual=l,r.expected=f,r.operator=i,Error.captureStackTrace&&Error.captureStackTrace(a(r),u),r.stack,r.name="AssertionError",c(r)}var i,u;return !function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e);}(e,t),i=e,(u=[{key:"toString",value:function(){return "".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:b.custom,value:function(t,e){return b(this,function(t){for(var e=1;e10)return !0;for(var e=0;e57)return !0}return 10===t.length&&t>=Math.pow(2,32)}function G(t){return Object.keys(t).filter(U).concat(v$1(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))} /*! diff --git a/nodelibs/browser/assert/strict.js b/nodelibs/browser/assert/strict.js index 2da27c6..439a869 100644 --- a/nodelibs/browser/assert/strict.js +++ b/nodelibs/browser/assert/strict.js @@ -1,7 +1,7 @@ import { strict } from '../assert.js'; export { strict as default, strict } from '../assert.js'; -import '../chunk-566596b9.js'; -import '../chunk-32df7659.js'; +import '../chunk-b4205b57.js'; +import '../chunk-5decc758.js'; const { fail, diff --git a/nodelibs/browser/chunk-01029fce.js b/nodelibs/browser/chunk-23dbec7b.js similarity index 99% rename from nodelibs/browser/chunk-01029fce.js rename to nodelibs/browser/chunk-23dbec7b.js index 40aa20e..6c24fcf 100644 --- a/nodelibs/browser/chunk-01029fce.js +++ b/nodelibs/browser/chunk-23dbec7b.js @@ -1,4 +1,4 @@ -import { p as process } from './chunk-6ad9b8b8.js'; +import { p as process } from './chunk-2eac56ff.js'; var exports$1 = {}, _dewExec = false; diff --git a/nodelibs/browser/chunk-6ad9b8b8.js b/nodelibs/browser/chunk-2eac56ff.js similarity index 100% rename from nodelibs/browser/chunk-6ad9b8b8.js rename to nodelibs/browser/chunk-2eac56ff.js diff --git a/nodelibs/browser/chunk-c1749ca1.js b/nodelibs/browser/chunk-44e51b61.js similarity index 99% rename from nodelibs/browser/chunk-c1749ca1.js rename to nodelibs/browser/chunk-44e51b61.js index f274a61..32de4af 100644 --- a/nodelibs/browser/chunk-c1749ca1.js +++ b/nodelibs/browser/chunk-44e51b61.js @@ -1,56 +1,8 @@ -import { y } from './chunk-001ff647.js'; -import './chunk-739d4e67.js'; -import { X } from './chunk-566596b9.js'; -import { p as process } from './chunk-6ad9b8b8.js'; -import { e as e$1 } from './chunk-605e2a90.js'; - -var exports$g = {}, - _dewExec$g = false; -function dew$g() { - if (_dewExec$g) return exports$g; - _dewExec$g = true; - - if (typeof Object.create === "function") { - // implementation from standard node.js 'util' module - exports$g = function inherits(ctor, superCtor) { - if (superCtor) { - ctor.super_ = superCtor; - ctor.prototype = Object.create(superCtor.prototype, { - constructor: { - value: ctor, - enumerable: false, - writable: true, - configurable: true - } - }); - } - }; - } else { - // old school shim for old browsers - exports$g = function inherits(ctor, superCtor) { - if (superCtor) { - ctor.super_ = superCtor; - - var TempCtor = function () {}; - - TempCtor.prototype = superCtor.prototype; - ctor.prototype = new TempCtor(); - ctor.prototype.constructor = ctor; - } - }; - } - - return exports$g; -} - -var exports$f = {}, - _dewExec$f = false; -function dew$f() { - if (_dewExec$f) return exports$f; - _dewExec$f = true; - exports$f = y.EventEmitter; - return exports$f; -} +import { y } from './chunk-4bd36a8f.js'; +import './chunk-ce0fbc82.js'; +import { X } from './chunk-b4205b57.js'; +import { p as process } from './chunk-2eac56ff.js'; +import { a as e$1 } from './chunk-4ccc3a29.js'; var exports$2$1 = {}, _dewExec$2$1 = false; @@ -277,11 +229,11 @@ function dew$1$1() { return exports$1$1; } -var exports$e = {}, - _dewExec$e = false; -function dew$e() { - if (_dewExec$e) return exports$e; - _dewExec$e = true; +var exports$g = {}, + _dewExec$g = false; +function dew$g() { + if (_dewExec$g) return exports$g; + _dewExec$g = true; const base64 = dew$2$1(); @@ -289,11 +241,11 @@ function dew$e() { const customInspectSymbol = typeof Symbol === "function" && typeof Symbol["for"] === "function" ? Symbol["for"]("nodejs.util.inspect.custom") // eslint-disable-line dot-notation : null; - exports$e.Buffer = Buffer; - exports$e.SlowBuffer = SlowBuffer; - exports$e.INSPECT_MAX_BYTES = 50; + exports$g.Buffer = Buffer; + exports$g.SlowBuffer = SlowBuffer; + exports$g.INSPECT_MAX_BYTES = 50; const K_MAX_LENGTH = 2147483647; - exports$e.kMaxLength = K_MAX_LENGTH; + exports$g.kMaxLength = K_MAX_LENGTH; /** * If `Buffer.TYPED_ARRAY_SUPPORT`: * === true Use Uint8Array implementation (fastest) @@ -903,7 +855,7 @@ function dew$e() { Buffer.prototype.inspect = function inspect() { let str = ""; - const max = exports$e.INSPECT_MAX_BYTES; + const max = exports$g.INSPECT_MAX_BYTES; str = this.toString("hex", 0, max).replace(/(.{2})/g, "$1 ").trim(); if (this.length > max) str += " ... "; return ""; @@ -2353,15 +2305,63 @@ function dew$e() { throw new Error("BigInt not supported"); } - return exports$e; + return exports$g; } -var buffer = dew$e(); +var buffer = dew$g(); buffer.Buffer; buffer.INSPECT_MAX_BYTES; buffer.kMaxLength; +var exports$f = {}, + _dewExec$f = false; +function dew$f() { + if (_dewExec$f) return exports$f; + _dewExec$f = true; + + if (typeof Object.create === "function") { + // implementation from standard node.js 'util' module + exports$f = function inherits(ctor, superCtor) { + if (superCtor) { + ctor.super_ = superCtor; + ctor.prototype = Object.create(superCtor.prototype, { + constructor: { + value: ctor, + enumerable: false, + writable: true, + configurable: true + } + }); + } + }; + } else { + // old school shim for old browsers + exports$f = function inherits(ctor, superCtor) { + if (superCtor) { + ctor.super_ = superCtor; + + var TempCtor = function () {}; + + TempCtor.prototype = superCtor.prototype; + ctor.prototype = new TempCtor(); + ctor.prototype.constructor = ctor; + } + }; + } + + return exports$f; +} + +var exports$e = {}, + _dewExec$e = false; +function dew$e() { + if (_dewExec$e) return exports$e; + _dewExec$e = true; + exports$e = y.EventEmitter; + return exports$e; +} + var exports$d = {}, _dewExec$d = false; function dew$d() { @@ -3029,7 +3029,7 @@ function dew$8() { /**/ - var Stream = dew$f(); + var Stream = dew$e(); /**/ @@ -3062,7 +3062,7 @@ function dew$8() { var errorOrDestroy = destroyImpl.errorOrDestroy; - dew$g()(Writable, Stream); + dew$f()(Writable, Stream); function nop() {} @@ -3691,7 +3691,7 @@ function dew$7() { var Writable = dew$8(); - dew$g()(Duplex, Readable); + dew$f()(Duplex, Readable); { // Allow the keys array to be GC'ed. @@ -4166,7 +4166,7 @@ function dew$3() { /**/ - var Stream = dew$f(); + var Stream = dew$e(); /**/ @@ -4213,7 +4213,7 @@ function dew$3() { var createReadableStreamAsyncIterator; var from; - dew$g()(Readable, Stream); + dew$f()(Readable, Stream); var errorOrDestroy = destroyImpl.errorOrDestroy; var kProxyEvents = ["error", "close", "destroy", "pause", "resume"]; @@ -5266,7 +5266,7 @@ function dew$2() { var Duplex = dew$7(); - dew$g()(Transform, Duplex); + dew$f()(Transform, Duplex); function afterTransform(er, data) { var ts = this._transformState; @@ -5407,7 +5407,7 @@ function dew$1() { var Transform = dew$2(); - dew$g()(PassThrough, Transform); + dew$f()(PassThrough, Transform); function PassThrough(options) { if (!(this instanceof PassThrough)) return new PassThrough(options); @@ -5522,4 +5522,4 @@ function dew() { return exports; } -export { dew$8 as a, dew$7 as b, dew$2 as c, dew$3 as d, dew$1 as e, dew$6 as f, dew as g, dew$g as h, buffer as i }; +export { dew$3 as a, buffer as b, dew$8 as c, dew$f as d, dew$7 as e, dew$2 as f, dew$1 as g, dew$6 as h, dew as i }; diff --git a/nodelibs/browser/chunk-001ff647.js b/nodelibs/browser/chunk-4bd36a8f.js similarity index 100% rename from nodelibs/browser/chunk-001ff647.js rename to nodelibs/browser/chunk-4bd36a8f.js diff --git a/nodelibs/browser/chunk-605e2a90.js b/nodelibs/browser/chunk-4ccc3a29.js similarity index 99% rename from nodelibs/browser/chunk-605e2a90.js rename to nodelibs/browser/chunk-4ccc3a29.js index eabed6f..f3911eb 100644 --- a/nodelibs/browser/chunk-605e2a90.js +++ b/nodelibs/browser/chunk-4ccc3a29.js @@ -6,4 +6,4 @@ e$1.StringDecoder; e$1.StringDecoder; -export { e$1$1 as a, e$1 as e, u }; +export { e$1 as a, e$1$1 as e, u }; diff --git a/nodelibs/browser/chunk-32df7659.js b/nodelibs/browser/chunk-5decc758.js similarity index 100% rename from nodelibs/browser/chunk-32df7659.js rename to nodelibs/browser/chunk-5decc758.js diff --git a/nodelibs/browser/chunk-bae46e69.js b/nodelibs/browser/chunk-6c718bbe.js similarity index 95% rename from nodelibs/browser/chunk-bae46e69.js rename to nodelibs/browser/chunk-6c718bbe.js index a898996..d8c487a 100644 --- a/nodelibs/browser/chunk-bae46e69.js +++ b/nodelibs/browser/chunk-6c718bbe.js @@ -1,6 +1,6 @@ import './events.js'; -import { d as dew$1, a as dew$2, b as dew$3, c as dew$4, e as dew$5, f as dew$6, g as dew$7, h as dew$8 } from './chunk-c1749ca1.js'; -import { y } from './chunk-001ff647.js'; +import { a as dew$1, c as dew$2, e as dew$3, f as dew$4, g as dew$5, h as dew$6, i as dew$7, d as dew$8 } from './chunk-44e51b61.js'; +import { y } from './chunk-4bd36a8f.js'; var exports$1 = {}, _dewExec = false; diff --git a/nodelibs/browser/chunk-536e269c.js b/nodelibs/browser/chunk-924bb2e1.js similarity index 100% rename from nodelibs/browser/chunk-536e269c.js rename to nodelibs/browser/chunk-924bb2e1.js diff --git a/nodelibs/browser/chunk-f8bc79bd.js b/nodelibs/browser/chunk-b04e620d.js similarity index 100% rename from nodelibs/browser/chunk-f8bc79bd.js rename to nodelibs/browser/chunk-b04e620d.js diff --git a/nodelibs/browser/chunk-566596b9.js b/nodelibs/browser/chunk-b4205b57.js similarity index 99% rename from nodelibs/browser/chunk-566596b9.js rename to nodelibs/browser/chunk-b4205b57.js index 7f7a3b0..74eb47e 100644 --- a/nodelibs/browser/chunk-566596b9.js +++ b/nodelibs/browser/chunk-b4205b57.js @@ -1,4 +1,4 @@ -import { T as T$1 } from './chunk-32df7659.js'; +import { T as T$1 } from './chunk-5decc758.js'; var t="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,e=Object.prototype.toString,o=function(o){return !(t&&o&&"object"==typeof o&&Symbol.toStringTag in o)&&"[object Arguments]"===e.call(o)},n=function(t){return !!o(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==e.call(t)&&"[object Function]"===e.call(t.callee)},r=function(){return o(arguments)}();o.isLegacyArguments=n;var l=r?o:n;var t$1=Object.prototype.toString,o$1=Function.prototype.toString,n$1=/^\s*(?:function)?\*/,e$1="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,r$1=Object.getPrototypeOf,c=function(){if(!e$1)return !1;try{return Function("return function*() {}")()}catch(t){}}(),u=c?r$1(c):{},i=function(c){return "function"==typeof c&&(!!n$1.test(o$1.call(c))||(e$1?r$1(c)===u:"[object GeneratorFunction]"===t$1.call(c)))};var t$2="function"==typeof Object.create?function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}));}:function(t,e){if(e){t.super_=e;var o=function(){};o.prototype=e.prototype,t.prototype=new o,t.prototype.constructor=t;}};var i$1=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8},o$2={},u$1=i$1,f=l,a=i;function c$1(e){return e.call.bind(e)}var s="undefined"!=typeof BigInt,p="undefined"!=typeof Symbol,y=p&&void 0!==Symbol.toStringTag,l$1="undefined"!=typeof Uint8Array,d="undefined"!=typeof ArrayBuffer;if(l$1&&y)var g=Object.getPrototypeOf(Uint8Array.prototype),b=c$1(Object.getOwnPropertyDescriptor(g,Symbol.toStringTag).get);var m=c$1(Object.prototype.toString),h=c$1(Number.prototype.valueOf),j=c$1(String.prototype.valueOf),A=c$1(Boolean.prototype.valueOf);if(s)var w=c$1(BigInt.prototype.valueOf);if(p)var v=c$1(Symbol.prototype.valueOf);function O(e,t){if("object"!=typeof e)return !1;try{return t(e),!0}catch(e){return !1}}function S(e){return l$1&&y?void 0!==b(e):B(e)||k(e)||E(e)||D(e)||U(e)||P(e)||x(e)||I(e)||M(e)||z(e)||F(e)}function B(e){return l$1&&y?"Uint8Array"===b(e):"[object Uint8Array]"===m(e)||u$1(e)&&void 0!==e.buffer}function k(e){return l$1&&y?"Uint8ClampedArray"===b(e):"[object Uint8ClampedArray]"===m(e)}function E(e){return l$1&&y?"Uint16Array"===b(e):"[object Uint16Array]"===m(e)}function D(e){return l$1&&y?"Uint32Array"===b(e):"[object Uint32Array]"===m(e)}function U(e){return l$1&&y?"Int8Array"===b(e):"[object Int8Array]"===m(e)}function P(e){return l$1&&y?"Int16Array"===b(e):"[object Int16Array]"===m(e)}function x(e){return l$1&&y?"Int32Array"===b(e):"[object Int32Array]"===m(e)}function I(e){return l$1&&y?"Float32Array"===b(e):"[object Float32Array]"===m(e)}function M(e){return l$1&&y?"Float64Array"===b(e):"[object Float64Array]"===m(e)}function z(e){return l$1&&y?"BigInt64Array"===b(e):"[object BigInt64Array]"===m(e)}function F(e){return l$1&&y?"BigUint64Array"===b(e):"[object BigUint64Array]"===m(e)}function T(e){return "[object Map]"===m(e)}function N(e){return "[object Set]"===m(e)}function W(e){return "[object WeakMap]"===m(e)}function $(e){return "[object WeakSet]"===m(e)}function C(e){return "[object ArrayBuffer]"===m(e)}function V(e){return "undefined"!=typeof ArrayBuffer&&(C.working?C(e):e instanceof ArrayBuffer)}function G(e){return "[object DataView]"===m(e)}function R(e){return "undefined"!=typeof DataView&&(G.working?G(e):e instanceof DataView)}function J(e){return "[object SharedArrayBuffer]"===m(e)}function _(e){return "undefined"!=typeof SharedArrayBuffer&&(J.working?J(e):e instanceof SharedArrayBuffer)}function H(e){return O(e,h)}function Z(e){return O(e,j)}function q(e){return O(e,A)}function K(e){return s&&O(e,w)}function L(e){return p&&O(e,v)}o$2.isArgumentsObject=f,o$2.isGeneratorFunction=a,o$2.isPromise=function(e){return "undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},o$2.isArrayBufferView=function(e){return d&&ArrayBuffer.isView?ArrayBuffer.isView(e):S(e)||R(e)},o$2.isTypedArray=S,o$2.isUint8Array=B,o$2.isUint8ClampedArray=k,o$2.isUint16Array=E,o$2.isUint32Array=D,o$2.isInt8Array=U,o$2.isInt16Array=P,o$2.isInt32Array=x,o$2.isFloat32Array=I,o$2.isFloat64Array=M,o$2.isBigInt64Array=z,o$2.isBigUint64Array=F,T.working="undefined"!=typeof Map&&T(new Map),o$2.isMap=function(e){return "undefined"!=typeof Map&&(T.working?T(e):e instanceof Map)},N.working="undefined"!=typeof Set&&N(new Set),o$2.isSet=function(e){return "undefined"!=typeof Set&&(N.working?N(e):e instanceof Set)},W.working="undefined"!=typeof WeakMap&&W(new WeakMap),o$2.isWeakMap=function(e){return "undefined"!=typeof WeakMap&&(W.working?W(e):e instanceof WeakMap)},$.working="undefined"!=typeof WeakSet&&$(new WeakSet),o$2.isWeakSet=function(e){return $(e)},C.working="undefined"!=typeof ArrayBuffer&&C(new ArrayBuffer),o$2.isArrayBuffer=V,G.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&G(new DataView(new ArrayBuffer(1),0,1)),o$2.isDataView=R,J.working="undefined"!=typeof SharedArrayBuffer&&J(new SharedArrayBuffer),o$2.isSharedArrayBuffer=_,o$2.isAsyncFunction=function(e){return "[object AsyncFunction]"===m(e)},o$2.isMapIterator=function(e){return "[object Map Iterator]"===m(e)},o$2.isSetIterator=function(e){return "[object Set Iterator]"===m(e)},o$2.isGeneratorObject=function(e){return "[object Generator]"===m(e)},o$2.isWebAssemblyCompiledModule=function(e){return "[object WebAssembly.Module]"===m(e)},o$2.isNumberObject=H,o$2.isStringObject=Z,o$2.isBooleanObject=q,o$2.isBigIntObject=K,o$2.isSymbolObject=L,o$2.isBoxedPrimitive=function(e){return H(e)||Z(e)||q(e)||K(e)||L(e)},o$2.isAnyArrayBuffer=function(e){return l$1&&(V(e)||_(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(o$2,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}});}));var Q="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:global,X={},Y=T$1,ee=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return "[Circular]"}default:return e}})),u=n[r];r=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),ye(t)?r.showHidden=t:t&&X._extend(r,t),be(r.showHidden)&&(r.showHidden=!1),be(r.depth)&&(r.depth=2),be(r.colors)&&(r.colors=!1),be(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=ue),ae(r,e,r.depth)}function ue(e,t){var r=oe.styles[t];return r?"["+oe.colors[r][0]+"m"+e+"["+oe.colors[r][1]+"m":e}function fe(e,t){return e}function ae(e,t,r){if(e.customInspect&&t&&we(t.inspect)&&t.inspect!==X.inspect&&(!t.constructor||t.constructor.prototype!==t)){var n=t.inspect(r,e);return ge(n)||(n=ae(e,n,r)),n}var i=function(e,t){if(be(t))return e.stylize("undefined","undefined");if(ge(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(de(t))return e.stylize(""+t,"number");if(ye(t))return e.stylize(""+t,"boolean");if(le(t))return e.stylize("null","null")}(e,t);if(i)return i;var o=Object.keys(t),u=function(e){var t={};return e.forEach((function(e,r){t[e]=!0;})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),Ae(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return ce(t);if(0===o.length){if(we(t)){var f=t.name?": "+t.name:"";return e.stylize("[Function"+f+"]","special")}if(me(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(je(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Ae(t))return ce(t)}var a,c="",s=!1,p=["{","}"];(pe(t)&&(s=!0,p=["[","]"]),we(t))&&(c=" [Function"+(t.name?": "+t.name:"")+"]");return me(t)&&(c=" "+RegExp.prototype.toString.call(t)),je(t)&&(c=" "+Date.prototype.toUTCString.call(t)),Ae(t)&&(c=" "+ce(t)),0!==o.length||s&&0!=t.length?r<0?me(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),a=s?function(e,t,r,n,i){for(var o=[],u=0,f=t.length;u=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(a,c,p)):p[0]+c+p[1]}function ce(e){return "["+Error.prototype.toString.call(e)+"]"}function se(e,t,r,n,i,o){var u,f,a;if((a=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?f=a.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):a.set&&(f=e.stylize("[Setter]","special")),ke(n,i)||(u="["+i+"]"),f||(e.seen.indexOf(a.value)<0?(f=le(r)?ae(e,a.value,null):ae(e,a.value,r-1)).indexOf("\n")>-1&&(f=o?f.split("\n").map((function(e){return " "+e})).join("\n").substr(2):"\n"+f.split("\n").map((function(e){return " "+e})).join("\n")):f=e.stylize("[Circular]","special")),be(u)){if(o&&i.match(/^\d+$/))return f;(u=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=e.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=e.stylize(u,"string"));}return u+": "+f}function pe(e){return Array.isArray(e)}function ye(e){return "boolean"==typeof e}function le(e){return null===e}function de(e){return "number"==typeof e}function ge(e){return "string"==typeof e}function be(e){return void 0===e}function me(e){return he(e)&&"[object RegExp]"===ve(e)}function he(e){return "object"==typeof e&&null!==e}function je(e){return he(e)&&"[object Date]"===ve(e)}function Ae(e){return he(e)&&("[object Error]"===ve(e)||e instanceof Error)}function we(e){return "function"==typeof e}function ve(e){return Object.prototype.toString.call(e)}function Oe(e){return e<10?"0"+e.toString(10):e.toString(10)}X.debuglog=function(e){if(e=e.toUpperCase(),!re[e])if(ne.test(e)){var t=Y.pid;re[e]=function(){var r=X.format.apply(X,arguments);console.error("%s %d: %s",e,t,r);};}else re[e]=function(){};return re[e]},X.inspect=oe,oe.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},oe.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},X.types=o$2,X.isArray=pe,X.isBoolean=ye,X.isNull=le,X.isNullOrUndefined=function(e){return null==e},X.isNumber=de,X.isString=ge,X.isSymbol=function(e){return "symbol"==typeof e},X.isUndefined=be,X.isRegExp=me,X.types.isRegExp=me,X.isObject=he,X.isDate=je,X.types.isDate=je,X.isError=Ae,X.types.isNativeError=Ae,X.isFunction=we,X.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},X.isBuffer=i$1;var Se=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Be(){var e=new Date,t=[Oe(e.getHours()),Oe(e.getMinutes()),Oe(e.getSeconds())].join(":");return [e.getDate(),Se[e.getMonth()],t].join(" ")}function ke(e,t){return Object.prototype.hasOwnProperty.call(e,t)}X.log=function(){console.log("%s - %s",Be(),X.format.apply(X,arguments));},X.inherits=t$2,X._extend=function(e,t){if(!t||!he(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var Ee="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function De(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r;}return t(e)}X.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(Ee&&e[Ee]){var t;if("function"!=typeof(t=e[Ee]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,Ee,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n;})),i=[],o=0;o",'"',"`"," ","\r","\n","\t"]),p=["'"].concat(l),c=["%","/","?",";","#"].concat(p),u=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=o$1;function O(t,s,h){if(t&&a.isObject(t)&&t instanceof r)return t;var e=new r;return e.parse(t,s,h),e}r.prototype.parse=function(t,s,h){if(!a.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var r=t.indexOf("?"),n=-1!==r&&r127?$+="x":$+=R[z];if(!$.match(f)){var L=k.slice(0,w),Z=k.slice(w+1),_=R.match(m);_&&(L.push(_[1]),Z.unshift(_[2])),Z.length&&(O="/"+Z.join(".")+O),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),U||(this.hostname=e.toASCII(this.hostname));var E=this.port?":"+this.port:"",P=this.hostname||"";this.host=P+E,this.href+=this.host,U&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==O[0]&&(O="/"+O));}if(!v[q])for(w=0,S=p.length;w0)&&h.host.split("@"))&&(h.auth=U.shift(),h.host=h.hostname=U.shift());return h.search=t.search,h.query=t.query,a.isNull(h.pathname)&&a.isNull(h.search)||(h.path=(h.pathname?h.pathname:"")+(h.search?h.search:"")),h.href=h.format(),h}if(!x.length)return h.pathname=null,h.search?h.path="/"+h.search:h.path=null,h.href=h.format(),h;for(var C=x.slice(-1)[0],I=(h.host||t.host||x.length>1)&&("."===C||".."===C)||""===C,w=0,N=x.length;N>=0;N--)"."===(C=x[N])?x.splice(N,1):".."===C?(x.splice(N,1),w++):w&&(x.splice(N,1),w--);if(!j&&!q)for(;w--;w)x.unshift("..");!j||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),I&&"/"!==x.join("/").substr(-1)&&x.push("");var U,k=""===x[0]||x[0]&&"/"===x[0].charAt(0);A&&(h.hostname=h.host=k?"":x.length?x.shift():"",(U=!!(h.host&&h.host.indexOf("@")>0)&&h.host.split("@"))&&(h.auth=U.shift(),h.host=h.hostname=U.shift()));return (j=j||h.host&&x.length)&&!k&&x.unshift(""),x.length?h.pathname=x.join("/"):(h.pathname=null,h.path=null),a.isNull(h.pathname)&&a.isNull(h.search)||(h.path=(h.pathname?h.pathname:"")+(h.search?h.search:"")),h.auth=t.auth||h.auth,h.slashes=h.slashes||t.slashes,h.href=h.format(),h},r.prototype.parseHost=function(){var t=this.host,s=n.exec(t);s&&(":"!==(s=s[0])&&(this.port=s.substr(1)),t=t.substr(0,t.length-s.length)),t&&(this.hostname=t);}; h.Url;h.format;h.resolve;h.resolveObject; diff --git a/nodelibs/browser/util.js b/nodelibs/browser/util.js index 865528d..47dda11 100644 --- a/nodelibs/browser/util.js +++ b/nodelibs/browser/util.js @@ -1,7 +1,7 @@ -import './chunk-739d4e67.js'; -import { X } from './chunk-566596b9.js'; -export { X as default } from './chunk-566596b9.js'; -import './chunk-32df7659.js'; +import './chunk-ce0fbc82.js'; +import { X } from './chunk-b4205b57.js'; +export { X as default } from './chunk-b4205b57.js'; +import './chunk-5decc758.js'; var _extend = X._extend; var callbackify = X.callbackify; diff --git a/nodelibs/browser/util/types.js b/nodelibs/browser/util/types.js index 80960b1..ce5646a 100644 --- a/nodelibs/browser/util/types.js +++ b/nodelibs/browser/util/types.js @@ -1,8 +1,8 @@ import { types } from '../util.js'; export { types as default } from '../util.js'; -import '../chunk-739d4e67.js'; -import '../chunk-566596b9.js'; -import '../chunk-32df7659.js'; +import '../chunk-ce0fbc82.js'; +import '../chunk-b4205b57.js'; +import '../chunk-5decc758.js'; const { isExternal, diff --git a/nodelibs/browser/wasi.js b/nodelibs/browser/wasi.js index aeeacd9..71c4397 100644 --- a/nodelibs/browser/wasi.js +++ b/nodelibs/browser/wasi.js @@ -1,21 +1,21 @@ import fs from './fs.js'; -import './chunk-c1749ca1.js'; -import './chunk-001ff647.js'; -import './chunk-739d4e67.js'; -import './chunk-566596b9.js'; -import './chunk-32df7659.js'; -import './chunk-6ad9b8b8.js'; -import './chunk-605e2a90.js'; +import './chunk-44e51b61.js'; +import './chunk-4bd36a8f.js'; +import './chunk-ce0fbc82.js'; +import './chunk-b4205b57.js'; +import './chunk-5decc758.js'; +import './chunk-2eac56ff.js'; +import './chunk-4ccc3a29.js'; import './assert.js'; import './util.js'; import './path.js'; -import './chunk-01029fce.js'; +import './chunk-23dbec7b.js'; import './events.js'; import './stream.js'; -import './chunk-bae46e69.js'; +import './chunk-6c718bbe.js'; import './url.js'; -import './chunk-536e269c.js'; -import './chunk-f8bc79bd.js'; +import './chunk-924bb2e1.js'; +import './chunk-b04e620d.js'; import './buffer.js'; /* diff --git a/nodelibs/browser/worker_threads.js b/nodelibs/browser/worker_threads.js index 713e368..23f0041 100644 --- a/nodelibs/browser/worker_threads.js +++ b/nodelibs/browser/worker_threads.js @@ -1,5 +1,5 @@ import { once, EventEmitter } from './events.js'; -import './chunk-001ff647.js'; +import './chunk-4bd36a8f.js'; function unimplemented(name) { throw new Error( diff --git a/nodelibs/browser/zlib.js b/nodelibs/browser/zlib.js index ebf9aa8..4edceae 100644 --- a/nodelibs/browser/zlib.js +++ b/nodelibs/browser/zlib.js @@ -1,14 +1,14 @@ -import { i as buffer } from './chunk-c1749ca1.js'; +import { b as buffer } from './chunk-44e51b61.js'; import './stream.js'; import et from './assert.js'; -import { p as process } from './chunk-6ad9b8b8.js'; +import { p as process } from './chunk-2eac56ff.js'; import './util.js'; -import { e as exports$e } from './chunk-bae46e69.js'; -import { X } from './chunk-566596b9.js'; -import './chunk-001ff647.js'; -import './chunk-739d4e67.js'; -import './chunk-32df7659.js'; -import './chunk-605e2a90.js'; +import { e as exports$e } from './chunk-6c718bbe.js'; +import { X } from './chunk-b4205b57.js'; +import './chunk-4bd36a8f.js'; +import './chunk-ce0fbc82.js'; +import './chunk-5decc758.js'; +import './chunk-4ccc3a29.js'; import './events.js'; var exports$d = {}, diff --git a/nodelibs/deno/_stream_duplex.ts b/nodelibs/deno/_stream_duplex.ts index c488fc3..494552e 100644 --- a/nodelibs/deno/_stream_duplex.ts +++ b/nodelibs/deno/_stream_duplex.ts @@ -1,3 +1,5 @@ -import Duplex from 'https://deno.land/std@0.173.0/node/_stream/duplex.ts'; -export default Duplex; +import { Duplex } from 'node:stream'; export const from = Duplex.from; +export const fromWeb = Duplex.fromWeb; +export const toWeb = Duplex.toWeb; +export { Duplex as default } diff --git a/nodelibs/deno/_stream_passthrough.ts b/nodelibs/deno/_stream_passthrough.ts index ca80a65..2e4f377 100644 --- a/nodelibs/deno/_stream_passthrough.ts +++ b/nodelibs/deno/_stream_passthrough.ts @@ -1 +1 @@ -export { default } from 'https://deno.land/std@0.173.0/node/_stream/passthrough.ts'; +export { PassThrough as default } from 'node:stream'; diff --git a/nodelibs/deno/_stream_readable.ts b/nodelibs/deno/_stream_readable.ts index 6708d3e..4229a4f 100644 --- a/nodelibs/deno/_stream_readable.ts +++ b/nodelibs/deno/_stream_readable.ts @@ -1,5 +1,5 @@ -import Readable from 'https://deno.land/std@0.173.0/node/_stream/readable.ts'; -export default Readable; +import { Readable } from 'node:stream'; +export { Readable as default } export const from = Readable.from; export const ReadableState = Readable.ReadableState; export const _fromList = Readable._fromList; diff --git a/nodelibs/deno/_stream_transform.ts b/nodelibs/deno/_stream_transform.ts index ca80a65..8f9c443 100644 --- a/nodelibs/deno/_stream_transform.ts +++ b/nodelibs/deno/_stream_transform.ts @@ -1 +1 @@ -export { default } from 'https://deno.land/std@0.173.0/node/_stream/passthrough.ts'; +export { Transform as default } from 'node:stream'; diff --git a/nodelibs/deno/_stream_writable.ts b/nodelibs/deno/_stream_writable.ts index e5c5aad..b698fc3 100644 --- a/nodelibs/deno/_stream_writable.ts +++ b/nodelibs/deno/_stream_writable.ts @@ -1,3 +1,5 @@ -import Writable from 'https://deno.land/std@0.173.0/node/_stream/readable.ts'; -export default Writable; +import { Writable } from 'node:stream'; +export { Writable as default } export const WritableState = Writable.WritableState; +export const fromWeb = Writable.fromWeb; +export const toWeb = Writable.toWeb; diff --git a/nodelibs/deno/assert.ts b/nodelibs/deno/assert.ts index acb7828..461bc12 100644 --- a/nodelibs/deno/assert.ts +++ b/nodelibs/deno/assert.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/assert.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/assert.ts'; +export * from 'node:assert'; +export { default } from 'node:assert'; diff --git a/nodelibs/deno/assert/strict.ts b/nodelibs/deno/assert/strict.ts index bc31762..e39d76c 100644 --- a/nodelibs/deno/assert/strict.ts +++ b/nodelibs/deno/assert/strict.ts @@ -1,26 +1,2 @@ -import { strict } from '../assert.ts'; - -export { - fail, - AssertionError, - ok, - equal, - notEqual, - deepEqual, - notDeepEqual, - deepStrictEqual, - notDeepStrictEqual, - strictEqual, - notStrictEqual, - throws, - rejects, - doesNotThrow, - doesNotReject, - // ifError, - match, - doesNotMatch, - // CallTracker -} from '../assert.ts'; - -export { strict } -export default strict; +export * from 'node:assert/strict'; +export { default } from 'node:assert/strict'; diff --git a/nodelibs/deno/async_hooks.ts b/nodelibs/deno/async_hooks.ts index ea151fe..4f04428 100644 --- a/nodelibs/deno/async_hooks.ts +++ b/nodelibs/deno/async_hooks.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/async_hooks.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/async_hooks.ts'; +export * from 'node:async_hooks'; +export { default } from 'node:async_hooks'; diff --git a/nodelibs/deno/buffer.ts b/nodelibs/deno/buffer.ts index a27e8b1..1efd30f 100644 --- a/nodelibs/deno/buffer.ts +++ b/nodelibs/deno/buffer.ts @@ -1,5 +1,5 @@ -export * from 'https://deno.land/std@0.173.0/node/buffer.ts'; -import { default as buffer } from 'https://deno.land/std@0.173.0/node/buffer.ts'; +export * from 'node:buffer'; +import { default as buffer } from 'node:buffer'; export const kMaxLength = 4294967296; buffer.kMaxLength = kMaxLength; export default buffer; diff --git a/nodelibs/deno/child_process.ts b/nodelibs/deno/child_process.ts index ce30ead..375410b 100644 --- a/nodelibs/deno/child_process.ts +++ b/nodelibs/deno/child_process.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/child_process.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/child_process.ts'; +export * from 'node:child_process'; +export { default } from 'node:child_process'; diff --git a/nodelibs/deno/cluster.ts b/nodelibs/deno/cluster.ts new file mode 100644 index 0000000..5df5054 --- /dev/null +++ b/nodelibs/deno/cluster.ts @@ -0,0 +1,2 @@ +export * from 'node:cluster'; +export { default } from 'node:cluster'; diff --git a/nodelibs/deno/console.ts b/nodelibs/deno/console.ts index 5715b42..1aedccb 100644 --- a/nodelibs/deno/console.ts +++ b/nodelibs/deno/console.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/console.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/console.ts'; +export * from 'node:console'; +export { default } from 'node:console'; diff --git a/nodelibs/deno/constants.ts b/nodelibs/deno/constants.ts index 37eb6a2..6d68c70 100644 --- a/nodelibs/deno/constants.ts +++ b/nodelibs/deno/constants.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/constants.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/constants.ts'; +export * from 'node:constants'; +export { default } from 'node:constants'; diff --git a/nodelibs/deno/crypto.ts b/nodelibs/deno/crypto.ts index 7b730a8..99f3be0 100644 --- a/nodelibs/deno/crypto.ts +++ b/nodelibs/deno/crypto.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/crypto.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/crypto.ts'; +export * from 'node:crypto'; +export { default } from 'node:crypto'; diff --git a/nodelibs/deno/dgram.ts b/nodelibs/deno/dgram.ts new file mode 100644 index 0000000..398450d --- /dev/null +++ b/nodelibs/deno/dgram.ts @@ -0,0 +1,2 @@ +export * from 'node:dgram'; +export { default } from 'node:dgram'; diff --git a/nodelibs/deno/diagnostics_channel.ts b/nodelibs/deno/diagnostics_channel.ts new file mode 100644 index 0000000..b66c8a6 --- /dev/null +++ b/nodelibs/deno/diagnostics_channel.ts @@ -0,0 +1,2 @@ +export * from 'node:diagnostics_channel'; +export { default } from 'node:diagnostics_channel'; diff --git a/nodelibs/deno/dns.ts b/nodelibs/deno/dns.ts index 456195b..03431b1 100644 --- a/nodelibs/deno/dns.ts +++ b/nodelibs/deno/dns.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/dns.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/dns.ts'; +export * from 'node:dns'; +export { default } from 'node:dns'; diff --git a/nodelibs/deno/dns/promises.ts b/nodelibs/deno/dns/promises.ts new file mode 100644 index 0000000..987e497 --- /dev/null +++ b/nodelibs/deno/dns/promises.ts @@ -0,0 +1,2 @@ +export * from 'node:dns/promises'; +export { default } from 'node:dns/promises'; diff --git a/nodelibs/deno/domain.ts b/nodelibs/deno/domain.ts new file mode 100644 index 0000000..e73b244 --- /dev/null +++ b/nodelibs/deno/domain.ts @@ -0,0 +1,2 @@ +export * from 'node:domain'; +export { default } from 'node:domain'; diff --git a/nodelibs/deno/events.ts b/nodelibs/deno/events.ts index 119cf3f..3f41516 100644 --- a/nodelibs/deno/events.ts +++ b/nodelibs/deno/events.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/events.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/events.ts'; +export * from 'node:events'; +export { default } from 'node:events'; diff --git a/nodelibs/deno/fs.ts b/nodelibs/deno/fs.ts index 087e290..ff6eb25 100644 --- a/nodelibs/deno/fs.ts +++ b/nodelibs/deno/fs.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/fs.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/fs.ts'; +export * from 'node:fs'; +export { default } from 'node:fs'; diff --git a/nodelibs/deno/fs/promises.ts b/nodelibs/deno/fs/promises.ts index e6b32fb..5372492 100644 --- a/nodelibs/deno/fs/promises.ts +++ b/nodelibs/deno/fs/promises.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/fs/promises.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/fs/promises.ts'; +export * from 'node:fs/promises'; +export { default } from 'node:fs/promises'; diff --git a/nodelibs/deno/http.ts b/nodelibs/deno/http.ts index a114d03..37ab46d 100644 --- a/nodelibs/deno/http.ts +++ b/nodelibs/deno/http.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/http.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/http.ts'; +export * from 'node:http'; +export { default } from 'node:http'; diff --git a/nodelibs/deno/http2.ts b/nodelibs/deno/http2.ts new file mode 100644 index 0000000..4d7a276 --- /dev/null +++ b/nodelibs/deno/http2.ts @@ -0,0 +1,2 @@ +export * from 'node:http2'; +export { default } from 'node:http2'; diff --git a/nodelibs/deno/https.ts b/nodelibs/deno/https.ts index e58a88c..a55d3ad 100644 --- a/nodelibs/deno/https.ts +++ b/nodelibs/deno/https.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/https.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/https.ts'; +export * from 'node:https'; +export { default } from 'node:https'; diff --git a/nodelibs/deno/inspector.ts b/nodelibs/deno/inspector.ts index 190d1fe..a63c6dc 100644 --- a/nodelibs/deno/inspector.ts +++ b/nodelibs/deno/inspector.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/inspector.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/inspector.ts'; +export * from 'node:inspector'; +export { default } from 'node:inspector'; diff --git a/nodelibs/deno/module.ts b/nodelibs/deno/module.ts index 3856849..134e81d 100644 --- a/nodelibs/deno/module.ts +++ b/nodelibs/deno/module.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/module.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/module.ts'; +export * from 'node:module'; +export { default } from 'node:module'; diff --git a/nodelibs/deno/net.ts b/nodelibs/deno/net.ts index 34ad4c0..952e661 100644 --- a/nodelibs/deno/net.ts +++ b/nodelibs/deno/net.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/net.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/net.ts'; +export * from 'node:net'; +export { default } from 'node:net'; diff --git a/nodelibs/deno/os.ts b/nodelibs/deno/os.ts index 819b918..80cb26c 100644 --- a/nodelibs/deno/os.ts +++ b/nodelibs/deno/os.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/os.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/os.ts'; +export * from 'node:os'; +export { default } from 'node:os'; diff --git a/nodelibs/deno/path.ts b/nodelibs/deno/path.ts index 9367bf5..55df030 100644 --- a/nodelibs/deno/path.ts +++ b/nodelibs/deno/path.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/path.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/path.ts'; +export * from 'node:path'; +export { default } from 'node:path'; diff --git a/nodelibs/deno/path/posix.ts b/nodelibs/deno/path/posix.ts index 07ea4d7..6915ff4 100644 --- a/nodelibs/deno/path/posix.ts +++ b/nodelibs/deno/path/posix.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/path/posix.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/path/posix.ts'; +export * from 'node:path/posix'; +export { default } from 'node:path/posix'; diff --git a/nodelibs/deno/path/win32.ts b/nodelibs/deno/path/win32.ts index b28d21b..0602ce5 100644 --- a/nodelibs/deno/path/win32.ts +++ b/nodelibs/deno/path/win32.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/path/win32.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/path/win32.ts'; +export * from 'node:path/win32'; +export { default } from 'node:path/win32'; diff --git a/nodelibs/deno/perf_hooks.ts b/nodelibs/deno/perf_hooks.ts index 029ca3b..36cb5e1 100644 --- a/nodelibs/deno/perf_hooks.ts +++ b/nodelibs/deno/perf_hooks.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/perf_hooks.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/perf_hooks.ts'; +export * from 'node:perf_hooks'; +export { default } from 'node:perf_hooks'; diff --git a/nodelibs/deno/process.ts b/nodelibs/deno/process.ts index 5d82932..5d2f9d7 100644 --- a/nodelibs/deno/process.ts +++ b/nodelibs/deno/process.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/process.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/process.ts'; +export * from 'node:process'; +export { default } from 'node:process'; diff --git a/nodelibs/deno/punycode.ts b/nodelibs/deno/punycode.ts index b947527..903fa69 100644 --- a/nodelibs/deno/punycode.ts +++ b/nodelibs/deno/punycode.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/punycode.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/punycode.ts'; +export * from 'node:punycode'; +export { default } from 'node:punycode'; diff --git a/nodelibs/deno/querystring.ts b/nodelibs/deno/querystring.ts index afa4018..277b755 100644 --- a/nodelibs/deno/querystring.ts +++ b/nodelibs/deno/querystring.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/querystring.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/querystring.ts'; +export * from 'node:querystring'; +export { default } from 'node:querystring'; diff --git a/nodelibs/deno/readline.ts b/nodelibs/deno/readline.ts index 6678fa6..b0c1d23 100644 --- a/nodelibs/deno/readline.ts +++ b/nodelibs/deno/readline.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/readline.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/readline.ts'; +export * from 'node:readline'; +export { default } from 'node:readline'; diff --git a/nodelibs/deno/readline/promises.ts b/nodelibs/deno/readline/promises.ts new file mode 100644 index 0000000..bf41aa7 --- /dev/null +++ b/nodelibs/deno/readline/promises.ts @@ -0,0 +1,2 @@ +export * from 'node:readline/promises'; +export { default } from 'node:readline/promises'; diff --git a/nodelibs/deno/repl.ts b/nodelibs/deno/repl.ts new file mode 100644 index 0000000..bb87c9a --- /dev/null +++ b/nodelibs/deno/repl.ts @@ -0,0 +1,2 @@ +export * from 'node:repl'; +export { default } from 'node:repl'; diff --git a/nodelibs/deno/stream.ts b/nodelibs/deno/stream.ts index a21f6ce..653c6d9 100644 --- a/nodelibs/deno/stream.ts +++ b/nodelibs/deno/stream.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/stream.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/stream.ts'; +export * from 'node:stream'; +export { default } from 'node:stream'; diff --git a/nodelibs/deno/stream/consumers.ts b/nodelibs/deno/stream/consumers.ts index a8e5401..000e8d1 100644 --- a/nodelibs/deno/stream/consumers.ts +++ b/nodelibs/deno/stream/consumers.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/stream/consumers.mjs'; -export { default } from 'https://deno.land/std@0.173.0/node/stream/consumers.mjs'; +export * from 'node:stream/consumers.mjs'; +export { default } from 'node:stream/consumers.mjs'; diff --git a/nodelibs/deno/stream/promises.ts b/nodelibs/deno/stream/promises.ts index 3de04f1..c0faa14 100644 --- a/nodelibs/deno/stream/promises.ts +++ b/nodelibs/deno/stream/promises.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/stream/promises.mjs'; -export { default } from 'https://deno.land/std@0.173.0/node/stream/promises.mjs'; +export * from 'node:stream/promises.mjs'; +export { default } from 'node:stream/promises.mjs'; diff --git a/nodelibs/deno/stream/web.ts b/nodelibs/deno/stream/web.ts index 65ca802..d92a803 100644 --- a/nodelibs/deno/stream/web.ts +++ b/nodelibs/deno/stream/web.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/stream/web.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/stream/web.ts'; +export * from 'node:stream/web'; +export { default } from 'node:stream/web'; diff --git a/nodelibs/deno/string_decoder.ts b/nodelibs/deno/string_decoder.ts index f16eeb3..9f51300 100644 --- a/nodelibs/deno/string_decoder.ts +++ b/nodelibs/deno/string_decoder.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/string_decoder.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/string_decoder.ts'; +export * from 'node:string_decoder'; +export { default } from 'node:string_decoder'; diff --git a/nodelibs/deno/timers.ts b/nodelibs/deno/timers.ts index fbeec0d..2130bd5 100644 --- a/nodelibs/deno/timers.ts +++ b/nodelibs/deno/timers.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/timers.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/timers.ts'; +export * from 'node:timers'; +export { default } from 'node:timers'; diff --git a/nodelibs/deno/timers/promises.ts b/nodelibs/deno/timers/promises.ts index 0e709bb..1f3c675 100644 --- a/nodelibs/deno/timers/promises.ts +++ b/nodelibs/deno/timers/promises.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/timers/promises.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/timers/promises.ts'; +export * from 'node:timers/promises'; +export { default } from 'node:timers/promises'; diff --git a/nodelibs/deno/tls.ts b/nodelibs/deno/tls.ts index 9129546..df74bb7 100644 --- a/nodelibs/deno/tls.ts +++ b/nodelibs/deno/tls.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/tls.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/tls.ts'; +export * from 'node:tls'; +export { default } from 'node:tls'; diff --git a/nodelibs/deno/tty.ts b/nodelibs/deno/tty.ts index 2e2a9b4..d50f370 100644 --- a/nodelibs/deno/tty.ts +++ b/nodelibs/deno/tty.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/tty.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/tty.ts'; +export * from 'node:tty'; +export { default } from 'node:tty'; diff --git a/nodelibs/deno/url.ts b/nodelibs/deno/url.ts index b1948f9..a5419ad 100644 --- a/nodelibs/deno/url.ts +++ b/nodelibs/deno/url.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/url.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/url.ts'; +export * from 'node:url'; +export { default } from 'node:url'; diff --git a/nodelibs/deno/util.ts b/nodelibs/deno/util.ts index 3373ae7..baa402c 100644 --- a/nodelibs/deno/util.ts +++ b/nodelibs/deno/util.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/util.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/util.ts'; +export * from 'node:util'; +export { default } from 'node:util'; diff --git a/nodelibs/deno/util/types.ts b/nodelibs/deno/util/types.ts index 10717dd..899b7b5 100644 --- a/nodelibs/deno/util/types.ts +++ b/nodelibs/deno/util/types.ts @@ -1,47 +1,2 @@ -import { types } from 'https://deno.land/std@0.173.0/node/util.ts'; -export { types as default } from 'https://deno.land/std@0.173.0/node/util.ts'; - -export const { - // isExternal, - isDate, - isArgumentsObject, - isBigIntObject, - isBooleanObject, - isNumberObject, - isStringObject, - isSymbolObject, - isNativeError, - isRegExp, - isAsyncFunction, - isGeneratorFunction, - isGeneratorObject, - isPromise, - isMap, - isSet, - isMapIterator, - isSetIterator, - isWeakMap, - isWeakSet, - isArrayBuffer, - isDataView, - isSharedArrayBuffer, - // isProxy, - isModuleNamespaceObject, - isAnyArrayBuffer, - isBoxedPrimitive, - isArrayBufferView, - isTypedArray, - isUint8Array, - isUint8ClampedArray, - isUint16Array, - isUint32Array, - isInt8Array, - isInt16Array, - isInt32Array, - isFloat32Array, - isFloat64Array, - isBigInt64Array, - isBigUint64Array, - // isKeyObject, - // isCryptoKey -} = types; +export * from 'node:util/types'; +export { default } from 'node:util/types'; diff --git a/nodelibs/deno/v8.ts b/nodelibs/deno/v8.ts index 2830d21..b0f48e4 100644 --- a/nodelibs/deno/v8.ts +++ b/nodelibs/deno/v8.ts @@ -1,2 +1,2 @@ -export * from 'https://deno.land/std@0.173.0/node/v8.ts'; -export { default } from 'https://deno.land/std@0.173.0/node/v8.ts'; +export * from 'node:v8'; +export { default } from 'node:v8'; diff --git a/nodelibs/deno/vm.ts b/nodelibs/deno/vm.ts new file mode 100644 index 0000000..c612d8b --- /dev/null +++ b/nodelibs/deno/vm.ts @@ -0,0 +1,2 @@ +export * from 'node:vm'; +export { default } from 'node:vm'; diff --git a/nodelibs/deno/wasi.ts b/nodelibs/deno/wasi.ts index 9b3e827..3b97b42 100644 --- a/nodelibs/deno/wasi.ts +++ b/nodelibs/deno/wasi.ts @@ -1,16 +1,2 @@ -import Context, { ContextOptions } from 'https://deno.land/std@0.173.0/wasi/snapshot_preview1.ts'; - -export interface WASIOptions extends Omit { - returnOnExit?: boolean; -} - -export class WASI extends Context { - readonly wasiImport: Context['exports']; - - constructor(options?: WASIOptions) { - super(options && { ...options, exitOnReturn: options.returnOnExit }); - this.wasiImport = this.exports; - } -} - -export default { WASI }; +export * from 'node:wasi'; +export { default } from 'node:wasi'; diff --git a/nodelibs/deno/worker_threads.ts b/nodelibs/deno/worker_threads.ts index 3a553cd..c3b7f91 100644 --- a/nodelibs/deno/worker_threads.ts +++ b/nodelibs/deno/worker_threads.ts @@ -1,2 +1,2 @@ -export { default } from 'https://deno.land/std@0.173.0/node/worker_threads.ts'; -export * from 'https://deno.land/std@0.173.0/node/worker_threads.ts'; +export { default } from 'node:worker_threads'; +export * from 'node:worker_threads'; diff --git a/nodelibs/deno/zlib.ts b/nodelibs/deno/zlib.ts index 1245801..b556291 100644 --- a/nodelibs/deno/zlib.ts +++ b/nodelibs/deno/zlib.ts @@ -1,2 +1,2 @@ -export { default } from 'https://deno.land/std@0.173.0/node/zlib.ts'; -export * from 'https://deno.land/std@0.173.0/node/zlib.ts'; +export { default } from 'node:zlib'; +export * from 'node:zlib'; diff --git a/package.json b/package.json index 97b62c5..a96fe15 100644 --- a/package.json +++ b/package.json @@ -46,11 +46,6 @@ "./nodelibs/@empty": "./nodelibs/@empty.js", "./nodelibs/@empty.dew": "./nodelibs/@empty.dew.js", "./nodelibs/chunk-*": null, - "./nodelibs/dns/promises": { - "deno": "./nodelibs/browser/dns/promises.js", - "node": "./nodelibs/node/dns/promises.js", - "default": "./nodelibs/browser/dns/promises.js" - }, "./nodelibs/inspector": { "deno": "./nodelibs/deno/inspector.ts", "node": "./nodelibs/node/inspector.js", @@ -70,16 +65,6 @@ "deno": "./nodelibs/deno/process.ts", "node": "./nodelibs/node/process.js", "default": "./nodelibs/browser/process.js" - }, - "./nodelibs/zlib": { - "deno": "./nodelibs/browser/zlib.js", - "node": "./nodelibs/node/zlib.js", - "default": "./nodelibs/browser/zlib.js" - }, - "./nodelibs/diagnostics_channel": { - "deno": "./nodelibs/browser/diagnostics_channel.js", - "node": "./nodelibs/node/diagnostics_channel.js", - "default": "./nodelibs/browser/diagnostics_channel.js" } }, "repository": {