rsnext/packages/next/compiled/domain-browser/index.js
Jiachi Liu 8668020a54
Upgrade typescript to 4.8.2 (#39979)
Typescript published 4.8.2 today and it fails CI, bump our typescript version to 4.8.2 and tweak some typings to make existing e2e typescript tests work properly

* Bump web-vitals from 3.0.0-beta to 3.0.0 stable for typing fix (there's an undefined type but it wasn't caught by ts 4.7), also force compiled it as CJS for pre-compiled
* Bump ncc to 3.34.0 for ts-loader compatibility for new typescript version, ncc 3.33.x cannot work with ts 4.8
* Update pre-compiled
2022-08-29 16:56:02 +00:00

1 line
No EOL
1.2 KiB
JavaScript

(function(){"use strict";var r={361:function(r){r.exports=require("events")},997:function(r,e,t){r.exports=function(){var r=t(361);var e={};e.createDomain=e.create=function(){var e=new r.EventEmitter;function emitError(r){e.emit("error",r)}e.add=function(r){r.on("error",emitError)};e.remove=function(r){r.removeListener("error",emitError)};e.bind=function(r){return function(){var e=Array.prototype.slice.call(arguments);try{r.apply(null,e)}catch(r){emitError(r)}}};e.intercept=function(r){return function(e){if(e){emitError(e)}else{var t=Array.prototype.slice.call(arguments,1);try{r.apply(null,t)}catch(e){emitError(e)}}}};e.run=function(r){try{r()}catch(r){emitError(r)}return this};e.dispose=function(){this.removeAllListeners();return this};e.enter=e.exit=function(){return this};return e};return e}.call(this)}};var e={};function __nccwpck_require__(t){var n=e[t];if(n!==undefined){return n.exports}var i=e[t]={exports:{}};var o=true;try{r[t].call(i.exports,i,i.exports,__nccwpck_require__);o=false}finally{if(o)delete e[t]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(997);module.exports=t})();