rsnext/packages/next/compiled/node-libs-browser/index2.js
Steven 777957e6b1
Compile native-url and node-libs-browser (#30032)
This prevents useless warnings about querystring.

```
warning next > native-url > querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning next > node-libs-browser > url > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
```
2021-10-18 15:46:39 +00:00

1 line
No EOL
1.4 KiB
JavaScript

module.exports=(()=>{var r={29:(r,e,n)=>{var o=n(669);var t=n(357);function now(){return(new Date).getTime()}var a=Array.prototype.slice;var i;var l={};if(typeof global!=="undefined"&&global.console){i=global.console}else if(typeof window!=="undefined"&&window.console){i=window.console}else{i={}}var s=[[log,"log"],[info,"info"],[warn,"warn"],[error,"error"],[time,"time"],[timeEnd,"timeEnd"],[trace,"trace"],[dir,"dir"],[consoleAssert,"assert"]];for(var f=0;f<s.length;f++){var u=s[f];var c=u[0];var p=u[1];if(!i[p]){i[p]=c}}r.exports=i;function log(){}function info(){i.log.apply(i,arguments)}function warn(){i.log.apply(i,arguments)}function error(){i.warn.apply(i,arguments)}function time(r){l[r]=now()}function timeEnd(r){var e=l[r];if(!e){throw new Error("No such label: "+r)}delete l[r];var n=now()-e;i.log(r+": "+n+"ms")}function trace(){var r=new Error;r.name="Trace";r.message=o.format.apply(null,arguments);i.error(r.stack)}function dir(r){i.log(o.inspect(r)+"\n")}function consoleAssert(r){if(!r){var e=a.call(arguments,1);t.ok(false,o.format.apply(null,e))}}},357:r=>{"use strict";r.exports=require("assert")},669:r=>{"use strict";r.exports=require("util")}};var e={};function __nccwpck_require__(n){if(e[n]){return e[n].exports}var o=e[n]={exports:{}};var t=true;try{r[n](o,o.exports,__nccwpck_require__);t=false}finally{if(t)delete e[n]}return o.exports}__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(29)})();