Unverified Commit ad22e773 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Expose dotenv loading under separate package (#17152)

* Expose dotenv loading under separate package

* Update pre-compiled

* Rename package to @next/env

* Update lint ignores

* Update package.json
Co-authored-by: 's avatarJoe Haddad <joe.haddad@zeit.co>
parent a3b9d867
......@@ -13,3 +13,4 @@ packages/next-codemod/transforms/__testfixtures__/**/*
packages/next-codemod/transforms/__tests__/**/*
packages/next-codemod/**/*.js
packages/next-codemod/**/*.d.ts
packages/next-env/**/*.d.ts
\ No newline at end of file
......@@ -13,3 +13,4 @@ packages/next-codemod/transforms/__testfixtures__/**/*
packages/next-codemod/transforms/__tests__/**/*
packages/next-codemod/**/*.js
packages/next-codemod/**/*.d.ts
packages/next-env/**/*.d.ts
\ No newline at end of file
types
\ No newline at end of file
# `@next/env`
Next.js' util for loading dotenv files in with the proper priorities
import fs from 'fs'
import path from 'path'
import * as log from '../build/output/log'
import dotenvExpand from 'next/dist/compiled/dotenv-expand'
import dotenv, { DotenvConfigOutput } from 'next/dist/compiled/dotenv'
/* eslint-disable import/no-extraneous-dependencies */
import * as fs from 'fs'
import * as path from 'path'
import * as dotenv from 'dotenv'
import dotenvExpand from 'dotenv-expand'
export type Env = { [key: string]: string }
export type LoadedEnvFiles = Array<{
......@@ -13,14 +13,19 @@ export type LoadedEnvFiles = Array<{
let combinedEnv: Env | undefined = undefined
let cachedLoadedEnvFiles: LoadedEnvFiles = []
export function processEnv(loadedEnvFiles: LoadedEnvFiles, dir?: string) {
type Log = {
info: (...args: any[]) => void
error: (...args: any[]) => void
}
export function processEnv(
loadedEnvFiles: LoadedEnvFiles,
dir?: string,
log: Log = console
) {
// don't reload env if we already have since this breaks escaped
// environment values e.g. \$ENV_FILE_KEY
if (
combinedEnv ||
process.env.__NEXT_PROCESSED_ENV ||
!loadedEnvFiles.length
) {
if (process.env.__NEXT_PROCESSED_ENV || loadedEnvFiles.length === 0) {
return process.env as Env
}
// flag that we processed the environment values in case a serverless
......@@ -32,7 +37,7 @@ export function processEnv(loadedEnvFiles: LoadedEnvFiles, dir?: string) {
for (const envFile of loadedEnvFiles) {
try {
let result: DotenvConfigOutput = {}
let result: dotenv.DotenvConfigOutput = {}
result.parsed = dotenv.parse(envFile.contents)
result = dotenvExpand(result)
......@@ -62,7 +67,8 @@ export function processEnv(loadedEnvFiles: LoadedEnvFiles, dir?: string) {
export function loadEnvConfig(
dir: string,
dev?: boolean
dev?: boolean,
log: Log = console
): {
combinedEnv: Env
loadedEnvFiles: LoadedEnvFiles
......
{
"name": "@next/env",
"version": "9.5.4-canary.21",
"keywords": [
"react",
"next",
"next.js",
"dotenv"
],
"description": "Next.js dotenv file loading",
"repository": {
"type": "git",
"url": "https://github.com/vercel/next.js",
"directory": "packages/next-env"
},
"author": "Next.js Team <support@vercel.com>",
"license": "MIT",
"main": "dist/index.js",
"types": "types/index.d.ts",
"files": [
"dist",
"types"
],
"scripts": {
"build": "ncc build ./index.ts -w -o dist/",
"prerelease": "rimraf ./dist/",
"types": "tsc index.ts --declaration --emitDeclarationOnly --declarationDir types --esModuleInterop",
"release": "ncc build ./index.ts -o ./dist/ --minify --no-cache --no-source-map-register",
"prepublish": "yarn release && yarn types"
},
"devDependencies": {
"@types/dotenv": "8.2.0",
"@zeit/ncc": "^0.20.4",
"dotenv": "8.2.0",
"dotenv-expand": "5.1.0"
}
}
{
"compilerOptions": {
"target": "es2015",
"moduleResolution": "node",
"strict": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"skipLibCheck": false
}
}
......@@ -8,7 +8,7 @@ import { normalizePagePath } from '../next-server/server/normalize-page-path'
import { warn } from './output/log'
import { ClientPagesLoaderOptions } from './webpack/loaders/next-client-pages-loader'
import { ServerlessLoaderQuery } from './webpack/loaders/next-serverless-loader'
import { LoadedEnvFiles } from '../lib/load-env-config'
import { LoadedEnvFiles } from '@next/env'
type PagesMapping = {
[page: string]: string
......
......@@ -21,7 +21,7 @@ import loadCustomRoutes, {
Redirect,
RouteType,
} from '../lib/load-custom-routes'
import { loadEnvConfig } from '../lib/load-env-config'
import { loadEnvConfig } from '@next/env'
import { recursiveDelete } from '../lib/recursive-delete'
import { verifyTypeScriptSetup } from '../lib/verifyTypeScriptSetup'
import {
......@@ -112,7 +112,7 @@ export default async function build(
}
// attempt to load global env values so they are available in next.config.js
const { loadedEnvFiles } = loadEnvConfig(dir)
const { loadedEnvFiles } = loadEnvConfig(dir, false, Log)
const config = loadConfig(PHASE_PRODUCTION_BUILD, dir, conf)
const { target } = config
......
......@@ -117,7 +117,7 @@ const nextServerlessLoader: loader.Loader = function () {
`
: ''
const envLoading = `
const { processEnv } = require('next/dist/lib/load-env-config')
const { processEnv } = require('@next/env')
processEnv(${Buffer.from(loadedEnvFiles, 'base64').toString()})
`
......
module.exports=function(o,c){"use strict";var n={};function __webpack_require__(c){if(n[c]){return n[c].exports}var f=n[c]={i:c,l:false,exports:{}};o[c].call(f.exports,f,f.exports,__webpack_require__);f.l=true;return f.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(706)}return startup()}({706:function(o){const c=Symbol("arg flag");function arg(o,{argv:n,permissive:f=false,stopAtPositional:_=false}={}){if(!o){throw new Error("Argument specification object is required")}const h={_:[]};n=n||process.argv.slice(2);const w={};const k={};for(const n of Object.keys(o)){if(!n){throw new TypeError("Argument key cannot be an empty string")}if(n[0]!=="-"){throw new TypeError(`Argument key must start with '-' but found: '${n}'`)}if(n.length===1){throw new TypeError(`Argument key must have a name; singular '-' keys are not allowed: ${n}`)}if(typeof o[n]==="string"){w[n]=o[n];continue}let f=o[n];let _=false;if(Array.isArray(f)&&f.length===1&&typeof f[0]==="function"){const[o]=f;f=((c,n,f=[])=>{f.push(o(c,n,f[f.length-1]));return f});_=o===Boolean||o[c]===true}else if(typeof f==="function"){_=f===Boolean||f[c]===true}else{throw new TypeError(`Type missing or not a function or valid array type: ${n}`)}if(n[1]!=="-"&&n.length>2){throw new TypeError(`Short argument keys (with a single hyphen) must have only one character: ${n}`)}k[n]=[f,_]}for(let o=0,c=n.length;o<c;o++){const c=n[o];if(_&&h._.length>0){h._=h._.concat(n.slice(o));break}if(c==="--"){h._=h._.concat(n.slice(o+1));break}if(c.length>1&&c[0]==="-"){const _=c[1]==="-"||c.length===2?[c]:c.slice(1).split("").map(o=>`-${o}`);for(let c=0;c<_.length;c++){const b=_[c];const[$,t]=b[1]==="-"?b.split("=",2):[b,undefined];let E=$;while(E in w){E=w[E]}if(!(E in k)){if(f){h._.push(b);continue}else{const o=new Error(`Unknown or unexpected option: ${$}`);o.code="ARG_UNKNOWN_OPTION";throw o}}const[T,q]=k[E];if(!q&&c+1<_.length){throw new TypeError(`Option requires argument (but was followed by another short argument): ${$}`)}if(q){h[E]=T(true,E,h[E])}else if(t===undefined){if(n.length<o+2||n[o+1].length>1&&n[o+1][0]==="-"){const o=$===E?"":` (alias for ${E})`;throw new Error(`Option requires argument: ${$}${o}`)}h[E]=T(n[o+1],E,h[E]);++o}else{h[E]=T(t,E,h[E])}}}else{h._.push(c)}}return h}arg.flag=(o=>{o[c]=true;return o});arg.COUNT=arg.flag((o,c,n)=>(n||0)+1);o.exports=arg}});
\ No newline at end of file
module.exports=function(o,c){"use strict";var n={};function __webpack_require__(c){if(n[c]){return n[c].exports}var f=n[c]={i:c,l:false,exports:{}};o[c].call(f.exports,f,f.exports,__webpack_require__);f.l=true;return f.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(115)}return startup()}({115:function(o){const c=Symbol("arg flag");function arg(o,{argv:n,permissive:f=false,stopAtPositional:_=false}={}){if(!o){throw new Error("Argument specification object is required")}const h={_:[]};n=n||process.argv.slice(2);const w={};const k={};for(const n of Object.keys(o)){if(!n){throw new TypeError("Argument key cannot be an empty string")}if(n[0]!=="-"){throw new TypeError(`Argument key must start with '-' but found: '${n}'`)}if(n.length===1){throw new TypeError(`Argument key must have a name; singular '-' keys are not allowed: ${n}`)}if(typeof o[n]==="string"){w[n]=o[n];continue}let f=o[n];let _=false;if(Array.isArray(f)&&f.length===1&&typeof f[0]==="function"){const[o]=f;f=((c,n,f=[])=>{f.push(o(c,n,f[f.length-1]));return f});_=o===Boolean||o[c]===true}else if(typeof f==="function"){_=f===Boolean||f[c]===true}else{throw new TypeError(`Type missing or not a function or valid array type: ${n}`)}if(n[1]!=="-"&&n.length>2){throw new TypeError(`Short argument keys (with a single hyphen) must have only one character: ${n}`)}k[n]=[f,_]}for(let o=0,c=n.length;o<c;o++){const c=n[o];if(_&&h._.length>0){h._=h._.concat(n.slice(o));break}if(c==="--"){h._=h._.concat(n.slice(o+1));break}if(c.length>1&&c[0]==="-"){const _=c[1]==="-"||c.length===2?[c]:c.slice(1).split("").map(o=>`-${o}`);for(let c=0;c<_.length;c++){const b=_[c];const[$,t]=b[1]==="-"?b.split("=",2):[b,undefined];let E=$;while(E in w){E=w[E]}if(!(E in k)){if(f){h._.push(b);continue}else{const o=new Error(`Unknown or unexpected option: ${$}`);o.code="ARG_UNKNOWN_OPTION";throw o}}const[T,q]=k[E];if(!q&&c+1<_.length){throw new TypeError(`Option requires argument (but was followed by another short argument): ${$}`)}if(q){h[E]=T(true,E,h[E])}else if(t===undefined){if(n.length<o+2||n[o+1].length>1&&n[o+1][0]==="-"){const o=$===E?"":` (alias for ${E})`;throw new Error(`Option requires argument: ${$}${o}`)}h[E]=T(n[o+1],E,h[E]);++o}else{h[E]=T(t,E,h[E])}}}else{h._.push(c)}}return h}arg.flag=(o=>{o[c]=true;return o});arg.COUNT=arg.flag((o,c,n)=>(n||0)+1);o.exports=arg}});
\ No newline at end of file
module.exports=function(t,r){"use strict";var e={};function __webpack_require__(r){if(e[r]){return e[r].exports}var i=e[r]={i:r,l:false,exports:{}};t[r].call(i.exports,i,i.exports,__webpack_require__);i.l=true;return i.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(90)}return startup()}({90:function(t,r,e){var i=e(879);function retry(t,r){function run(e,o){var n=r||{};var a=i.operation(n);function bail(t){o(t||new Error("Aborted"))}function onError(t,r){if(t.bail){bail(t);return}if(!a.retry(t)){o(a.mainError())}else if(n.onRetry){n.onRetry(t,r)}}function runAttempt(r){var i;try{i=t(bail,r)}catch(t){onError(t,r);return}Promise.resolve(i).then(e).catch(function catchIt(t){onError(t,r)})}a.attempt(runAttempt)}return new Promise(run)}t.exports=retry},167:function(t){function RetryOperation(t,r){if(typeof r==="boolean"){r={forever:r}}this._originalTimeouts=JSON.parse(JSON.stringify(t));this._timeouts=t;this._options=r||{};this._maxRetryTime=r&&r.maxRetryTime||Infinity;this._fn=null;this._errors=[];this._attempts=1;this._operationTimeout=null;this._operationTimeoutCb=null;this._timeout=null;this._operationStart=null;if(this._options.forever){this._cachedTimeouts=this._timeouts.slice(0)}}t.exports=RetryOperation;RetryOperation.prototype.reset=function(){this._attempts=1;this._timeouts=this._originalTimeouts};RetryOperation.prototype.stop=function(){if(this._timeout){clearTimeout(this._timeout)}this._timeouts=[];this._cachedTimeouts=null};RetryOperation.prototype.retry=function(t){if(this._timeout){clearTimeout(this._timeout)}if(!t){return false}var r=(new Date).getTime();if(t&&r-this._operationStart>=this._maxRetryTime){this._errors.unshift(new Error("RetryOperation timeout occurred"));return false}this._errors.push(t);var e=this._timeouts.shift();if(e===undefined){if(this._cachedTimeouts){this._errors.splice(this._errors.length-1,this._errors.length);this._timeouts=this._cachedTimeouts.slice(0);e=this._timeouts.shift()}else{return false}}var i=this;var o=setTimeout(function(){i._attempts++;if(i._operationTimeoutCb){i._timeout=setTimeout(function(){i._operationTimeoutCb(i._attempts)},i._operationTimeout);if(i._options.unref){i._timeout.unref()}}i._fn(i._attempts)},e);if(this._options.unref){o.unref()}return true};RetryOperation.prototype.attempt=function(t,r){this._fn=t;if(r){if(r.timeout){this._operationTimeout=r.timeout}if(r.cb){this._operationTimeoutCb=r.cb}}var e=this;if(this._operationTimeoutCb){this._timeout=setTimeout(function(){e._operationTimeoutCb()},e._operationTimeout)}this._operationStart=(new Date).getTime();this._fn(this._attempts)};RetryOperation.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated");this.attempt(t)};RetryOperation.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated");this.attempt(t)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0){return null}var t={};var r=null;var e=0;for(var i=0;i<this._errors.length;i++){var o=this._errors[i];var n=o.message;var a=(t[n]||0)+1;t[n]=a;if(a>=e){r=o;e=a}}return r}},367:function(t,r,e){var i=e(167);r.operation=function(t){var e=r.timeouts(t);return new i(e,{forever:t&&t.forever,unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};r.timeouts=function(t){if(t instanceof Array){return[].concat(t)}var r={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:Infinity,randomize:false};for(var e in t){r[e]=t[e]}if(r.minTimeout>r.maxTimeout){throw new Error("minTimeout is greater than maxTimeout")}var i=[];for(var o=0;o<r.retries;o++){i.push(this.createTimeout(o,r))}if(t&&t.forever&&!i.length){i.push(this.createTimeout(o,r))}i.sort(function(t,r){return t-r});return i};r.createTimeout=function(t,r){var e=r.randomize?Math.random()+1:1;var i=Math.round(e*r.minTimeout*Math.pow(r.factor,t));i=Math.min(i,r.maxTimeout);return i};r.wrap=function(t,e,i){if(e instanceof Array){i=e;e=null}if(!i){i=[];for(var o in t){if(typeof t[o]==="function"){i.push(o)}}}for(var n=0;n<i.length;n++){var a=i[n];var s=t[a];t[a]=function retryWrapper(i){var o=r.operation(e);var n=Array.prototype.slice.call(arguments,1);var a=n.pop();n.push(function(t){if(o.retry(t)){return}if(t){arguments[0]=o.mainError()}a.apply(this,arguments)});o.attempt(function(){i.apply(t,n)})}.bind(t,s);t[a].options=e}}},879:function(t,r,e){t.exports=e(367)}});
\ No newline at end of file
module.exports=function(t,r){"use strict";var e={};function __webpack_require__(r){if(e[r]){return e[r].exports}var i=e[r]={i:r,l:false,exports:{}};t[r].call(i.exports,i,i.exports,__webpack_require__);i.l=true;return i.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(523)}return startup()}({321:function(t,r,e){t.exports=e(600)},523:function(t,r,e){var i=e(321);function retry(t,r){function run(e,o){var n=r||{};var a=i.operation(n);function bail(t){o(t||new Error("Aborted"))}function onError(t,r){if(t.bail){bail(t);return}if(!a.retry(t)){o(a.mainError())}else if(n.onRetry){n.onRetry(t,r)}}function runAttempt(r){var i;try{i=t(bail,r)}catch(t){onError(t,r);return}Promise.resolve(i).then(e).catch(function catchIt(t){onError(t,r)})}a.attempt(runAttempt)}return new Promise(run)}t.exports=retry},600:function(t,r,e){var i=e(988);r.operation=function(t){var e=r.timeouts(t);return new i(e,{forever:t&&t.forever,unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};r.timeouts=function(t){if(t instanceof Array){return[].concat(t)}var r={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:Infinity,randomize:false};for(var e in t){r[e]=t[e]}if(r.minTimeout>r.maxTimeout){throw new Error("minTimeout is greater than maxTimeout")}var i=[];for(var o=0;o<r.retries;o++){i.push(this.createTimeout(o,r))}if(t&&t.forever&&!i.length){i.push(this.createTimeout(o,r))}i.sort(function(t,r){return t-r});return i};r.createTimeout=function(t,r){var e=r.randomize?Math.random()+1:1;var i=Math.round(e*r.minTimeout*Math.pow(r.factor,t));i=Math.min(i,r.maxTimeout);return i};r.wrap=function(t,e,i){if(e instanceof Array){i=e;e=null}if(!i){i=[];for(var o in t){if(typeof t[o]==="function"){i.push(o)}}}for(var n=0;n<i.length;n++){var a=i[n];var s=t[a];t[a]=function retryWrapper(i){var o=r.operation(e);var n=Array.prototype.slice.call(arguments,1);var a=n.pop();n.push(function(t){if(o.retry(t)){return}if(t){arguments[0]=o.mainError()}a.apply(this,arguments)});o.attempt(function(){i.apply(t,n)})}.bind(t,s);t[a].options=e}}},988:function(t){function RetryOperation(t,r){if(typeof r==="boolean"){r={forever:r}}this._originalTimeouts=JSON.parse(JSON.stringify(t));this._timeouts=t;this._options=r||{};this._maxRetryTime=r&&r.maxRetryTime||Infinity;this._fn=null;this._errors=[];this._attempts=1;this._operationTimeout=null;this._operationTimeoutCb=null;this._timeout=null;this._operationStart=null;if(this._options.forever){this._cachedTimeouts=this._timeouts.slice(0)}}t.exports=RetryOperation;RetryOperation.prototype.reset=function(){this._attempts=1;this._timeouts=this._originalTimeouts};RetryOperation.prototype.stop=function(){if(this._timeout){clearTimeout(this._timeout)}this._timeouts=[];this._cachedTimeouts=null};RetryOperation.prototype.retry=function(t){if(this._timeout){clearTimeout(this._timeout)}if(!t){return false}var r=(new Date).getTime();if(t&&r-this._operationStart>=this._maxRetryTime){this._errors.unshift(new Error("RetryOperation timeout occurred"));return false}this._errors.push(t);var e=this._timeouts.shift();if(e===undefined){if(this._cachedTimeouts){this._errors.splice(this._errors.length-1,this._errors.length);this._timeouts=this._cachedTimeouts.slice(0);e=this._timeouts.shift()}else{return false}}var i=this;var o=setTimeout(function(){i._attempts++;if(i._operationTimeoutCb){i._timeout=setTimeout(function(){i._operationTimeoutCb(i._attempts)},i._operationTimeout);if(i._options.unref){i._timeout.unref()}}i._fn(i._attempts)},e);if(this._options.unref){o.unref()}return true};RetryOperation.prototype.attempt=function(t,r){this._fn=t;if(r){if(r.timeout){this._operationTimeout=r.timeout}if(r.cb){this._operationTimeoutCb=r.cb}}var e=this;if(this._operationTimeoutCb){this._timeout=setTimeout(function(){e._operationTimeoutCb()},e._operationTimeout)}this._operationStart=(new Date).getTime();this._fn(this._attempts)};RetryOperation.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated");this.attempt(t)};RetryOperation.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated");this.attempt(t)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0){return null}var t={};var r=null;var e=0;for(var i=0;i<this._errors.length;i++){var o=this._errors[i];var n=o.message;var a=(t[n]||0)+1;t[n]=a;if(a>=e){r=o;e=a}}return r}}});
\ No newline at end of file
module.exports=function(t,e){"use strict";var i={};function __webpack_require__(e){if(i[e]){return i[e].exports}var s=i[e]={i:e,l:false,exports:{}};t[e].call(s.exports,s,s.exports,__webpack_require__);s.l=true;return s.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(624)}return startup()}({614:function(t){t.exports=require("events")},624:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:true});const r=s(i(614));function arrayMove(t,e,i,s,r){for(let n=0;n<r;++n){i[n+s]=t[n+e];t[n+e]=void 0}}function pow2AtLeast(t){t=t>>>0;t=t-1;t=t|t>>1;t=t|t>>2;t=t|t>>4;t=t|t>>8;t=t|t>>16;return t+1}function getCapacity(t){return pow2AtLeast(Math.min(Math.max(16,t),1073741824))}class Deque{constructor(t){this._capacity=getCapacity(t);this._length=0;this._front=0;this.arr=[]}push(t){const e=this._length;this.checkCapacity(e+1);const i=this._front+e&this._capacity-1;this.arr[i]=t;this._length=e+1;return e+1}pop(){const t=this._length;if(t===0){return void 0}const e=this._front+t-1&this._capacity-1;const i=this.arr[e];this.arr[e]=void 0;this._length=t-1;return i}shift(){const t=this._length;if(t===0){return void 0}const e=this._front;const i=this.arr[e];this.arr[e]=void 0;this._front=e+1&this._capacity-1;this._length=t-1;return i}get length(){return this._length}checkCapacity(t){if(this._capacity<t){this.resizeTo(getCapacity(this._capacity*1.5+16))}}resizeTo(t){const e=this._capacity;this._capacity=t;const i=this._front;const s=this._length;if(i+s>e){const t=i+s&e-1;arrayMove(this.arr,0,this.arr,e,t)}}}class ReleaseEmitter extends r.default{}function isFn(t){return typeof t==="function"}function defaultInit(){return"1"}class Sema{constructor(t,{initFn:e=defaultInit,pauseFn:i,resumeFn:s,capacity:r=10}={}){if(isFn(i)!==isFn(s)){throw new Error("pauseFn and resumeFn must be both set for pausing")}this.nrTokens=t;this.free=new Deque(t);this.waiting=new Deque(r);this.releaseEmitter=new ReleaseEmitter;this.noTokens=e===defaultInit;this.pauseFn=i;this.resumeFn=s;this.paused=false;this.releaseEmitter.on("release",t=>{const e=this.waiting.shift();if(e){e.resolve(t)}else{if(this.resumeFn&&this.paused){this.paused=false;this.resumeFn()}this.free.push(t)}});for(let i=0;i<t;i++){this.free.push(e())}}async acquire(){let t=this.free.pop();if(t!==void 0){return t}return new Promise((t,e)=>{if(this.pauseFn&&!this.paused){this.paused=true;this.pauseFn()}this.waiting.push({resolve:t,reject:e})})}release(t){this.releaseEmitter.emit("release",this.noTokens?"1":t)}drain(){const t=new Array(this.nrTokens);for(let e=0;e<this.nrTokens;e++){t[e]=this.acquire()}return Promise.all(t)}nrWaiting(){return this.waiting.length}}e.Sema=Sema;function RateLimit(t,{timeUnit:e=1e3,uniformDistribution:i=false}={}){const s=new Sema(i?1:t);const r=i?e/t:e;return async function rl(){await s.acquire();setTimeout(()=>s.release(),r)}}e.RateLimit=RateLimit}});
\ No newline at end of file
module.exports=function(t,e){"use strict";var i={};function __webpack_require__(e){if(i[e]){return i[e].exports}var s=i[e]={i:e,l:false,exports:{}};t[e].call(s.exports,s,s.exports,__webpack_require__);s.l=true;return s.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(654)}return startup()}({614:function(t){t.exports=require("events")},654:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:true});const r=s(i(614));function arrayMove(t,e,i,s,r){for(let n=0;n<r;++n){i[n+s]=t[n+e];t[n+e]=void 0}}function pow2AtLeast(t){t=t>>>0;t=t-1;t=t|t>>1;t=t|t>>2;t=t|t>>4;t=t|t>>8;t=t|t>>16;return t+1}function getCapacity(t){return pow2AtLeast(Math.min(Math.max(16,t),1073741824))}class Deque{constructor(t){this._capacity=getCapacity(t);this._length=0;this._front=0;this.arr=[]}push(t){const e=this._length;this.checkCapacity(e+1);const i=this._front+e&this._capacity-1;this.arr[i]=t;this._length=e+1;return e+1}pop(){const t=this._length;if(t===0){return void 0}const e=this._front+t-1&this._capacity-1;const i=this.arr[e];this.arr[e]=void 0;this._length=t-1;return i}shift(){const t=this._length;if(t===0){return void 0}const e=this._front;const i=this.arr[e];this.arr[e]=void 0;this._front=e+1&this._capacity-1;this._length=t-1;return i}get length(){return this._length}checkCapacity(t){if(this._capacity<t){this.resizeTo(getCapacity(this._capacity*1.5+16))}}resizeTo(t){const e=this._capacity;this._capacity=t;const i=this._front;const s=this._length;if(i+s>e){const t=i+s&e-1;arrayMove(this.arr,0,this.arr,e,t)}}}class ReleaseEmitter extends r.default{}function isFn(t){return typeof t==="function"}function defaultInit(){return"1"}class Sema{constructor(t,{initFn:e=defaultInit,pauseFn:i,resumeFn:s,capacity:r=10}={}){if(isFn(i)!==isFn(s)){throw new Error("pauseFn and resumeFn must be both set for pausing")}this.nrTokens=t;this.free=new Deque(t);this.waiting=new Deque(r);this.releaseEmitter=new ReleaseEmitter;this.noTokens=e===defaultInit;this.pauseFn=i;this.resumeFn=s;this.paused=false;this.releaseEmitter.on("release",t=>{const e=this.waiting.shift();if(e){e.resolve(t)}else{if(this.resumeFn&&this.paused){this.paused=false;this.resumeFn()}this.free.push(t)}});for(let i=0;i<t;i++){this.free.push(e())}}async acquire(){let t=this.free.pop();if(t!==void 0){return t}return new Promise((t,e)=>{if(this.pauseFn&&!this.paused){this.paused=true;this.pauseFn()}this.waiting.push({resolve:t,reject:e})})}release(t){this.releaseEmitter.emit("release",this.noTokens?"1":t)}drain(){const t=new Array(this.nrTokens);for(let e=0;e<this.nrTokens;e++){t[e]=this.acquire()}return Promise.all(t)}nrWaiting(){return this.waiting.length}}e.Sema=Sema;function RateLimit(t,{timeUnit:e=1e3,uniformDistribution:i=false}={}){const s=new Sema(i?1:t);const r=i?e/t:e;return async function rl(){await s.acquire();setTimeout(()=>s.release(),r)}}e.RateLimit=RateLimit}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
module.exports=function(n,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var a=t[e]={i:e,l:false,exports:{}};n[e].call(a.exports,a,a.exports,__webpack_require__);a.l=true;return a.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(853)}return startup()}({853:function(n,e,t){"use strict";var a=t(949);var E=process.env;Object.defineProperty(e,"_vendors",{value:a.map(function(n){return n.constant})});e.name=null;e.isPR=null;a.forEach(function(n){var t=Array.isArray(n.env)?n.env:[n.env];var a=t.every(function(n){return checkEnv(n)});e[n.constant]=a;if(a){e.name=n.name;switch(typeof n.pr){case"string":e.isPR=!!E[n.pr];break;case"object":if("env"in n.pr){e.isPR=n.pr.env in E&&E[n.pr.env]!==n.pr.ne}else if("any"in n.pr){e.isPR=n.pr.any.some(function(n){return!!E[n]})}else{e.isPR=checkEnv(n.pr)}break;default:e.isPR=null}}});e.isCI=!!(E.CI||E.CONTINUOUS_INTEGRATION||E.BUILD_NUMBER||E.RUN_ID||e.name||false);function checkEnv(n){if(typeof n==="string")return!!E[n];return Object.keys(n).every(function(e){return E[e]===n[e]})}},949:function(n){n.exports=[{name:"AppVeyor",constant:"APPVEYOR",env:"APPVEYOR",pr:"APPVEYOR_PULL_REQUEST_NUMBER"},{name:"Azure Pipelines",constant:"AZURE_PIPELINES",env:"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI",pr:"SYSTEM_PULLREQUEST_PULLREQUESTID"},{name:"Bamboo",constant:"BAMBOO",env:"bamboo_planKey"},{name:"Bitbucket Pipelines",constant:"BITBUCKET",env:"BITBUCKET_COMMIT",pr:"BITBUCKET_PR_ID"},{name:"Bitrise",constant:"BITRISE",env:"BITRISE_IO",pr:"BITRISE_PULL_REQUEST"},{name:"Buddy",constant:"BUDDY",env:"BUDDY_WORKSPACE_ID",pr:"BUDDY_EXECUTION_PULL_REQUEST_ID"},{name:"Buildkite",constant:"BUILDKITE",env:"BUILDKITE",pr:{env:"BUILDKITE_PULL_REQUEST",ne:"false"}},{name:"CircleCI",constant:"CIRCLE",env:"CIRCLECI",pr:"CIRCLE_PULL_REQUEST"},{name:"Cirrus CI",constant:"CIRRUS",env:"CIRRUS_CI",pr:"CIRRUS_PR"},{name:"AWS CodeBuild",constant:"CODEBUILD",env:"CODEBUILD_BUILD_ARN"},{name:"Codeship",constant:"CODESHIP",env:{CI_NAME:"codeship"}},{name:"Drone",constant:"DRONE",env:"DRONE",pr:{DRONE_BUILD_EVENT:"pull_request"}},{name:"dsari",constant:"DSARI",env:"DSARI"},{name:"GitHub Actions",constant:"GITHUB_ACTIONS",env:"GITHUB_ACTIONS",pr:{GITHUB_EVENT_NAME:"pull_request"}},{name:"GitLab CI",constant:"GITLAB",env:"GITLAB_CI"},{name:"GoCD",constant:"GOCD",env:"GO_PIPELINE_LABEL"},{name:"Hudson",constant:"HUDSON",env:"HUDSON_URL"},{name:"Jenkins",constant:"JENKINS",env:["JENKINS_URL","BUILD_ID"],pr:{any:["ghprbPullId","CHANGE_ID"]}},{name:"ZEIT Now",constant:"ZEIT_NOW",env:"NOW_BUILDER"},{name:"Magnum CI",constant:"MAGNUM",env:"MAGNUM"},{name:"Netlify CI",constant:"NETLIFY",env:"NETLIFY",pr:{env:"PULL_REQUEST",ne:"false"}},{name:"Nevercode",constant:"NEVERCODE",env:"NEVERCODE",pr:{env:"NEVERCODE_PULL_REQUEST",ne:"false"}},{name:"Render",constant:"RENDER",env:"RENDER",pr:{IS_PULL_REQUEST:"true"}},{name:"Sail CI",constant:"SAIL",env:"SAILCI",pr:"SAIL_PULL_REQUEST_NUMBER"},{name:"Semaphore",constant:"SEMAPHORE",env:"SEMAPHORE",pr:"PULL_REQUEST_NUMBER"},{name:"Shippable",constant:"SHIPPABLE",env:"SHIPPABLE",pr:{IS_PULL_REQUEST:"true"}},{name:"Solano CI",constant:"SOLANO",env:"TDDIUM",pr:"TDDIUM_PR_ID"},{name:"Strider CD",constant:"STRIDER",env:"STRIDER"},{name:"TaskCluster",constant:"TASKCLUSTER",env:["TASK_ID","RUN_ID"]},{name:"TeamCity",constant:"TEAMCITY",env:"TEAMCITY_VERSION"},{name:"Travis CI",constant:"TRAVIS",env:"TRAVIS",pr:{env:"TRAVIS_PULL_REQUEST",ne:"false"}}]}});
\ No newline at end of file
module.exports=function(n,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var a=t[e]={i:e,l:false,exports:{}};n[e].call(a.exports,a,a.exports,__webpack_require__);a.l=true;return a.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(553)}return startup()}({46:function(n){n.exports=[{name:"AppVeyor",constant:"APPVEYOR",env:"APPVEYOR",pr:"APPVEYOR_PULL_REQUEST_NUMBER"},{name:"Azure Pipelines",constant:"AZURE_PIPELINES",env:"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI",pr:"SYSTEM_PULLREQUEST_PULLREQUESTID"},{name:"Bamboo",constant:"BAMBOO",env:"bamboo_planKey"},{name:"Bitbucket Pipelines",constant:"BITBUCKET",env:"BITBUCKET_COMMIT",pr:"BITBUCKET_PR_ID"},{name:"Bitrise",constant:"BITRISE",env:"BITRISE_IO",pr:"BITRISE_PULL_REQUEST"},{name:"Buddy",constant:"BUDDY",env:"BUDDY_WORKSPACE_ID",pr:"BUDDY_EXECUTION_PULL_REQUEST_ID"},{name:"Buildkite",constant:"BUILDKITE",env:"BUILDKITE",pr:{env:"BUILDKITE_PULL_REQUEST",ne:"false"}},{name:"CircleCI",constant:"CIRCLE",env:"CIRCLECI",pr:"CIRCLE_PULL_REQUEST"},{name:"Cirrus CI",constant:"CIRRUS",env:"CIRRUS_CI",pr:"CIRRUS_PR"},{name:"AWS CodeBuild",constant:"CODEBUILD",env:"CODEBUILD_BUILD_ARN"},{name:"Codeship",constant:"CODESHIP",env:{CI_NAME:"codeship"}},{name:"Drone",constant:"DRONE",env:"DRONE",pr:{DRONE_BUILD_EVENT:"pull_request"}},{name:"dsari",constant:"DSARI",env:"DSARI"},{name:"GitHub Actions",constant:"GITHUB_ACTIONS",env:"GITHUB_ACTIONS",pr:{GITHUB_EVENT_NAME:"pull_request"}},{name:"GitLab CI",constant:"GITLAB",env:"GITLAB_CI"},{name:"GoCD",constant:"GOCD",env:"GO_PIPELINE_LABEL"},{name:"Hudson",constant:"HUDSON",env:"HUDSON_URL"},{name:"Jenkins",constant:"JENKINS",env:["JENKINS_URL","BUILD_ID"],pr:{any:["ghprbPullId","CHANGE_ID"]}},{name:"ZEIT Now",constant:"ZEIT_NOW",env:"NOW_BUILDER"},{name:"Magnum CI",constant:"MAGNUM",env:"MAGNUM"},{name:"Netlify CI",constant:"NETLIFY",env:"NETLIFY",pr:{env:"PULL_REQUEST",ne:"false"}},{name:"Nevercode",constant:"NEVERCODE",env:"NEVERCODE",pr:{env:"NEVERCODE_PULL_REQUEST",ne:"false"}},{name:"Render",constant:"RENDER",env:"RENDER",pr:{IS_PULL_REQUEST:"true"}},{name:"Sail CI",constant:"SAIL",env:"SAILCI",pr:"SAIL_PULL_REQUEST_NUMBER"},{name:"Semaphore",constant:"SEMAPHORE",env:"SEMAPHORE",pr:"PULL_REQUEST_NUMBER"},{name:"Shippable",constant:"SHIPPABLE",env:"SHIPPABLE",pr:{IS_PULL_REQUEST:"true"}},{name:"Solano CI",constant:"SOLANO",env:"TDDIUM",pr:"TDDIUM_PR_ID"},{name:"Strider CD",constant:"STRIDER",env:"STRIDER"},{name:"TaskCluster",constant:"TASKCLUSTER",env:["TASK_ID","RUN_ID"]},{name:"TeamCity",constant:"TEAMCITY",env:"TEAMCITY_VERSION"},{name:"Travis CI",constant:"TRAVIS",env:"TRAVIS",pr:{env:"TRAVIS_PULL_REQUEST",ne:"false"}}]},553:function(n,e,t){"use strict";var a=t(46);var E=process.env;Object.defineProperty(e,"_vendors",{value:a.map(function(n){return n.constant})});e.name=null;e.isPR=null;a.forEach(function(n){var t=Array.isArray(n.env)?n.env:[n.env];var a=t.every(function(n){return checkEnv(n)});e[n.constant]=a;if(a){e.name=n.name;switch(typeof n.pr){case"string":e.isPR=!!E[n.pr];break;case"object":if("env"in n.pr){e.isPR=n.pr.env in E&&E[n.pr.env]!==n.pr.ne}else if("any"in n.pr){e.isPR=n.pr.any.some(function(n){return!!E[n]})}else{e.isPR=checkEnv(n.pr)}break;default:e.isPR=null}}});e.isCI=!!(E.CI||E.CONTINUOUS_INTEGRATION||E.BUILD_NUMBER||E.RUN_ID||e.name||false);function checkEnv(n){if(typeof n==="string")return!!E[n];return Object.keys(n).every(function(e){return E[e]===n[e]})}}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var a=t[r]={i:r,l:false,exports:{}};e[r].call(a.exports,a,a.exports,__webpack_require__);a.l=true;return a.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(217)}return startup()}({217:function(e,r){"use strict";var t=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g;var a=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/;var n=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;var i=/\\([\u000b\u0020-\u00ff])/g;var o=/([\\"])/g;var u=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;r.format=format;r.parse=parse;function format(e){if(!e||typeof e!=="object"){throw new TypeError("argument obj is required")}var r=e.parameters;var t=e.type;if(!t||!u.test(t)){throw new TypeError("invalid type")}var a=t;if(r&&typeof r==="object"){var i;var o=Object.keys(r).sort();for(var p=0;p<o.length;p++){i=o[p];if(!n.test(i)){throw new TypeError("invalid parameter name")}a+="; "+i+"="+qstring(r[i])}}return a}function parse(e){if(!e){throw new TypeError("argument string is required")}var r=typeof e==="object"?getcontenttype(e):e;if(typeof r!=="string"){throw new TypeError("argument string is required to be a string")}var a=r.indexOf(";");var n=a!==-1?r.substr(0,a).trim():r.trim();if(!u.test(n)){throw new TypeError("invalid media type")}var o=new ContentType(n.toLowerCase());if(a!==-1){var p;var s;var f;t.lastIndex=a;while(s=t.exec(r)){if(s.index!==a){throw new TypeError("invalid parameter format")}a+=s[0].length;p=s[1].toLowerCase();f=s[2];if(f[0]==='"'){f=f.substr(1,f.length-2).replace(i,"$1")}o.parameters[p]=f}if(a!==r.length){throw new TypeError("invalid parameter format")}}return o}function getcontenttype(e){var r;if(typeof e.getHeader==="function"){r=e.getHeader("content-type")}else if(typeof e.headers==="object"){r=e.headers&&e.headers["content-type"]}if(typeof r!=="string"){throw new TypeError("content-type header is missing from object")}return r}function qstring(e){var r=String(e);if(n.test(r)){return r}if(r.length>0&&!a.test(r)){throw new TypeError("invalid parameter value")}return'"'+r.replace(o,"\\$1")+'"'}function ContentType(e){this.parameters=Object.create(null);this.type=e}}});
\ No newline at end of file
module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var a=t[r]={i:r,l:false,exports:{}};e[r].call(a.exports,a,a.exports,__webpack_require__);a.l=true;return a.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(982)}return startup()}({982:function(e,r){"use strict";var t=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g;var a=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/;var n=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;var i=/\\([\u000b\u0020-\u00ff])/g;var o=/([\\"])/g;var u=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;r.format=format;r.parse=parse;function format(e){if(!e||typeof e!=="object"){throw new TypeError("argument obj is required")}var r=e.parameters;var t=e.type;if(!t||!u.test(t)){throw new TypeError("invalid type")}var a=t;if(r&&typeof r==="object"){var i;var o=Object.keys(r).sort();for(var p=0;p<o.length;p++){i=o[p];if(!n.test(i)){throw new TypeError("invalid parameter name")}a+="; "+i+"="+qstring(r[i])}}return a}function parse(e){if(!e){throw new TypeError("argument string is required")}var r=typeof e==="object"?getcontenttype(e):e;if(typeof r!=="string"){throw new TypeError("argument string is required to be a string")}var a=r.indexOf(";");var n=a!==-1?r.substr(0,a).trim():r.trim();if(!u.test(n)){throw new TypeError("invalid media type")}var o=new ContentType(n.toLowerCase());if(a!==-1){var p;var s;var f;t.lastIndex=a;while(s=t.exec(r)){if(s.index!==a){throw new TypeError("invalid parameter format")}a+=s[0].length;p=s[1].toLowerCase();f=s[2];if(f[0]==='"'){f=f.substr(1,f.length-2).replace(i,"$1")}o.parameters[p]=f}if(a!==r.length){throw new TypeError("invalid parameter format")}}return o}function getcontenttype(e){var r;if(typeof e.getHeader==="function"){r=e.getHeader("content-type")}else if(typeof e.headers==="object"){r=e.headers&&e.headers["content-type"]}if(typeof r!=="string"){throw new TypeError("content-type header is missing from object")}return r}function qstring(e){var r=String(e);if(n.test(r)){return r}if(r.length>0&&!a.test(r)){throw new TypeError("invalid parameter value")}return'"'+r.replace(o,"\\$1")+'"'}function ContentType(e){this.parameters=Object.create(null);this.type=e}}});
\ No newline at end of file
module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var i=t[r]={i:r,l:false,exports:{}};e[r].call(i.exports,i,i.exports,__webpack_require__);i.l=true;return i.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(640)}return startup()}({640:function(e,r){"use strict";r.parse=parse;r.serialize=serialize;var t=decodeURIComponent;var i=encodeURIComponent;var a=/; */;var n=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function parse(e,r){if(typeof e!=="string"){throw new TypeError("argument str must be a string")}var i={};var n=r||{};var o=e.split(a);var s=n.decode||t;for(var p=0;p<o.length;p++){var u=o[p];var f=u.indexOf("=");if(f<0){continue}var c=u.substr(0,f).trim();var v=u.substr(++f,u.length).trim();if('"'==v[0]){v=v.slice(1,-1)}if(undefined==i[c]){i[c]=tryDecode(v,s)}}return i}function serialize(e,r,t){var a=t||{};var o=a.encode||i;if(typeof o!=="function"){throw new TypeError("option encode is invalid")}if(!n.test(e)){throw new TypeError("argument name is invalid")}var s=o(r);if(s&&!n.test(s)){throw new TypeError("argument val is invalid")}var p=e+"="+s;if(null!=a.maxAge){var u=a.maxAge-0;if(isNaN(u)||!isFinite(u)){throw new TypeError("option maxAge is invalid")}p+="; Max-Age="+Math.floor(u)}if(a.domain){if(!n.test(a.domain)){throw new TypeError("option domain is invalid")}p+="; Domain="+a.domain}if(a.path){if(!n.test(a.path)){throw new TypeError("option path is invalid")}p+="; Path="+a.path}if(a.expires){if(typeof a.expires.toUTCString!=="function"){throw new TypeError("option expires is invalid")}p+="; Expires="+a.expires.toUTCString()}if(a.httpOnly){p+="; HttpOnly"}if(a.secure){p+="; Secure"}if(a.sameSite){var f=typeof a.sameSite==="string"?a.sameSite.toLowerCase():a.sameSite;switch(f){case true:p+="; SameSite=Strict";break;case"lax":p+="; SameSite=Lax";break;case"strict":p+="; SameSite=Strict";break;case"none":p+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return p}function tryDecode(e,r){try{return r(e)}catch(r){return e}}}});
\ No newline at end of file
module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var i=t[r]={i:r,l:false,exports:{}};e[r].call(i.exports,i,i.exports,__webpack_require__);i.l=true;return i.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(693)}return startup()}({693:function(e,r){"use strict";r.parse=parse;r.serialize=serialize;var t=decodeURIComponent;var i=encodeURIComponent;var a=/; */;var n=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function parse(e,r){if(typeof e!=="string"){throw new TypeError("argument str must be a string")}var i={};var n=r||{};var o=e.split(a);var s=n.decode||t;for(var p=0;p<o.length;p++){var u=o[p];var f=u.indexOf("=");if(f<0){continue}var c=u.substr(0,f).trim();var v=u.substr(++f,u.length).trim();if('"'==v[0]){v=v.slice(1,-1)}if(undefined==i[c]){i[c]=tryDecode(v,s)}}return i}function serialize(e,r,t){var a=t||{};var o=a.encode||i;if(typeof o!=="function"){throw new TypeError("option encode is invalid")}if(!n.test(e)){throw new TypeError("argument name is invalid")}var s=o(r);if(s&&!n.test(s)){throw new TypeError("argument val is invalid")}var p=e+"="+s;if(null!=a.maxAge){var u=a.maxAge-0;if(isNaN(u)||!isFinite(u)){throw new TypeError("option maxAge is invalid")}p+="; Max-Age="+Math.floor(u)}if(a.domain){if(!n.test(a.domain)){throw new TypeError("option domain is invalid")}p+="; Domain="+a.domain}if(a.path){if(!n.test(a.path)){throw new TypeError("option path is invalid")}p+="; Path="+a.path}if(a.expires){if(typeof a.expires.toUTCString!=="function"){throw new TypeError("option expires is invalid")}p+="; Expires="+a.expires.toUTCString()}if(a.httpOnly){p+="; HttpOnly"}if(a.secure){p+="; Secure"}if(a.sameSite){var f=typeof a.sameSite==="string"?a.sameSite.toLowerCase():a.sameSite;switch(f){case true:p+="; SameSite=Strict";break;case"lax":p+="; SameSite=Lax";break;case"strict":p+="; SameSite=Strict";break;case"none":p+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return p}function tryDecode(e,r){try{return r(e)}catch(r){return e}}}});
\ No newline at end of file
This diff is collapsed.
module.exports=function(r,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var n=t[e]={i:e,l:false,exports:{}};r[e].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(393)}return startup()}({393:function(r){(function(e,t){true?r.exports=t():undefined})(this,function(){"use strict";var r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_$";var e=/[<>\b\f\n\r\t\0\u2028\u2029]/g;var t=/^(?:do|if|in|for|int|let|new|try|var|byte|case|char|else|enum|goto|long|this|void|with|await|break|catch|class|const|final|float|short|super|throw|while|yield|delete|double|export|import|native|return|switch|throws|typeof|boolean|default|extends|finally|package|private|abstract|continue|debugger|function|volatile|interface|protected|transient|implements|instanceof|synchronized)$/;var n={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};var i=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function devalue(r){var e=new Map;function walk(r){if(typeof r==="function"){throw new Error("Cannot stringify a function")}if(e.has(r)){e.set(r,e.get(r)+1);return}e.set(r,1);if(!isPrimitive(r)){var t=getType(r);switch(t){case"Number":case"String":case"Boolean":case"Date":case"RegExp":return;case"Array":r.forEach(walk);break;case"Set":case"Map":Array.from(r).forEach(walk);break;default:var n=Object.getPrototypeOf(r);if(n!==Object.prototype&&n!==null&&Object.getOwnPropertyNames(n).sort().join("\0")!==i){throw new Error("Cannot stringify arbitrary non-POJOs")}if(Object.getOwnPropertySymbols(r).length>0){throw new Error("Cannot stringify POJOs with symbolic keys")}Object.keys(r).forEach(function(e){return walk(r[e])})}}}walk(r);var t=new Map;Array.from(e).filter(function(r){return r[1]>1}).sort(function(r,e){return e[1]-r[1]}).forEach(function(r,e){t.set(r[0],getName(e))});function stringify(r){if(t.has(r)){return t.get(r)}if(isPrimitive(r)){return stringifyPrimitive(r)}var e=getType(r);switch(e){case"Number":case"String":case"Boolean":return"Object("+stringify(r.valueOf())+")";case"RegExp":return"new RegExp("+stringifyString(r.source)+', "'+r.flags+'")';case"Date":return"new Date("+r.getTime()+")";case"Array":var n=r.map(function(e,t){return t in r?stringify(e):""});var i=r.length===0||r.length-1 in r?"":",";return"["+n.join(",")+i+"]";case"Set":case"Map":return"new "+e+"(["+Array.from(r).map(stringify).join(",")+"])";default:var o="{"+Object.keys(r).map(function(e){return safeKey(e)+":"+stringify(r[e])}).join(",")+"}";var f=Object.getPrototypeOf(r);if(f===null){return Object.keys(r).length>0?"Object.assign(Object.create(null),"+o+")":"Object.create(null)"}return o}}var n=stringify(r);if(t.size){var o=[];var f=[];var a=[];t.forEach(function(r,e){o.push(r);if(isPrimitive(e)){a.push(stringifyPrimitive(e));return}var t=getType(e);switch(t){case"Number":case"String":case"Boolean":a.push("Object("+stringify(e.valueOf())+")");break;case"RegExp":a.push(e.toString());break;case"Date":a.push("new Date("+e.getTime()+")");break;case"Array":a.push("Array("+e.length+")");e.forEach(function(e,t){f.push(r+"["+t+"]="+stringify(e))});break;case"Set":a.push("new Set");f.push(r+"."+Array.from(e).map(function(r){return"add("+stringify(r)+")"}).join("."));break;case"Map":a.push("new Map");f.push(r+"."+Array.from(e).map(function(r){var e=r[0],t=r[1];return"set("+stringify(e)+", "+stringify(t)+")"}).join("."));break;default:a.push(Object.getPrototypeOf(e)===null?"Object.create(null)":"{}");Object.keys(e).forEach(function(t){f.push(""+r+safeProp(t)+"="+stringify(e[t]))})}});f.push("return "+n);return"(function("+o.join(",")+"){"+f.join(";")+"}("+a.join(",")+"))"}else{return n}}function getName(e){var n="";do{n=r[e%r.length]+n;e=~~(e/r.length)-1}while(e>=0);return t.test(n)?n+"_":n}function isPrimitive(r){return Object(r)!==r}function stringifyPrimitive(r){if(typeof r==="string")return stringifyString(r);if(r===void 0)return"void 0";if(r===0&&1/r<0)return"-0";var e=String(r);if(typeof r==="number")return e.replace(/^(-)?0\./,"$1.");return e}function getType(r){return Object.prototype.toString.call(r).slice(8,-1)}function escapeUnsafeChar(r){return n[r]||r}function escapeUnsafeChars(r){return r.replace(e,escapeUnsafeChar)}function safeKey(r){return/^[_$a-zA-Z][_$a-zA-Z0-9]*$/.test(r)?r:escapeUnsafeChars(JSON.stringify(r))}function safeProp(r){return/^[_$a-zA-Z][_$a-zA-Z0-9]*$/.test(r)?"."+r:"["+escapeUnsafeChars(JSON.stringify(r))+"]"}function stringifyString(r){var e='"';for(var t=0;t<r.length;t+=1){var i=r.charAt(t);var o=i.charCodeAt(0);if(i==='"'){e+='\\"'}else if(i in n){e+=n[i]}else if(o>=55296&&o<=57343){var f=r.charCodeAt(t+1);if(o<=56319&&(f>=56320&&f<=57343)){e+=i+r[++t]}else{e+="\\u"+o.toString(16).toUpperCase()}}else{e+=i}}e+='"';return e}return devalue})}});
\ No newline at end of file
module.exports=function(r,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var n=t[e]={i:e,l:false,exports:{}};r[e].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(715)}return startup()}({715:function(r){(function(e,t){true?r.exports=t():undefined})(this,function(){"use strict";var r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_$";var e=/[<>\b\f\n\r\t\0\u2028\u2029]/g;var t=/^(?:do|if|in|for|int|let|new|try|var|byte|case|char|else|enum|goto|long|this|void|with|await|break|catch|class|const|final|float|short|super|throw|while|yield|delete|double|export|import|native|return|switch|throws|typeof|boolean|default|extends|finally|package|private|abstract|continue|debugger|function|volatile|interface|protected|transient|implements|instanceof|synchronized)$/;var n={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};var i=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function devalue(r){var e=new Map;function walk(r){if(typeof r==="function"){throw new Error("Cannot stringify a function")}if(e.has(r)){e.set(r,e.get(r)+1);return}e.set(r,1);if(!isPrimitive(r)){var t=getType(r);switch(t){case"Number":case"String":case"Boolean":case"Date":case"RegExp":return;case"Array":r.forEach(walk);break;case"Set":case"Map":Array.from(r).forEach(walk);break;default:var n=Object.getPrototypeOf(r);if(n!==Object.prototype&&n!==null&&Object.getOwnPropertyNames(n).sort().join("\0")!==i){throw new Error("Cannot stringify arbitrary non-POJOs")}if(Object.getOwnPropertySymbols(r).length>0){throw new Error("Cannot stringify POJOs with symbolic keys")}Object.keys(r).forEach(function(e){return walk(r[e])})}}}walk(r);var t=new Map;Array.from(e).filter(function(r){return r[1]>1}).sort(function(r,e){return e[1]-r[1]}).forEach(function(r,e){t.set(r[0],getName(e))});function stringify(r){if(t.has(r)){return t.get(r)}if(isPrimitive(r)){return stringifyPrimitive(r)}var e=getType(r);switch(e){case"Number":case"String":case"Boolean":return"Object("+stringify(r.valueOf())+")";case"RegExp":return"new RegExp("+stringifyString(r.source)+', "'+r.flags+'")';case"Date":return"new Date("+r.getTime()+")";case"Array":var n=r.map(function(e,t){return t in r?stringify(e):""});var i=r.length===0||r.length-1 in r?"":",";return"["+n.join(",")+i+"]";case"Set":case"Map":return"new "+e+"(["+Array.from(r).map(stringify).join(",")+"])";default:var o="{"+Object.keys(r).map(function(e){return safeKey(e)+":"+stringify(r[e])}).join(",")+"}";var f=Object.getPrototypeOf(r);if(f===null){return Object.keys(r).length>0?"Object.assign(Object.create(null),"+o+")":"Object.create(null)"}return o}}var n=stringify(r);if(t.size){var o=[];var f=[];var a=[];t.forEach(function(r,e){o.push(r);if(isPrimitive(e)){a.push(stringifyPrimitive(e));return}var t=getType(e);switch(t){case"Number":case"String":case"Boolean":a.push("Object("+stringify(e.valueOf())+")");break;case"RegExp":a.push(e.toString());break;case"Date":a.push("new Date("+e.getTime()+")");break;case"Array":a.push("Array("+e.length+")");e.forEach(function(e,t){f.push(r+"["+t+"]="+stringify(e))});break;case"Set":a.push("new Set");f.push(r+"."+Array.from(e).map(function(r){return"add("+stringify(r)+")"}).join("."));break;case"Map":a.push("new Map");f.push(r+"."+Array.from(e).map(function(r){var e=r[0],t=r[1];return"set("+stringify(e)+", "+stringify(t)+")"}).join("."));break;default:a.push(Object.getPrototypeOf(e)===null?"Object.create(null)":"{}");Object.keys(e).forEach(function(t){f.push(""+r+safeProp(t)+"="+stringify(e[t]))})}});f.push("return "+n);return"(function("+o.join(",")+"){"+f.join(";")+"}("+a.join(",")+"))"}else{return n}}function getName(e){var n="";do{n=r[e%r.length]+n;e=~~(e/r.length)-1}while(e>=0);return t.test(n)?n+"_":n}function isPrimitive(r){return Object(r)!==r}function stringifyPrimitive(r){if(typeof r==="string")return stringifyString(r);if(r===void 0)return"void 0";if(r===0&&1/r<0)return"-0";var e=String(r);if(typeof r==="number")return e.replace(/^(-)?0\./,"$1.");return e}function getType(r){return Object.prototype.toString.call(r).slice(8,-1)}function escapeUnsafeChar(r){return n[r]||r}function escapeUnsafeChars(r){return r.replace(e,escapeUnsafeChar)}function safeKey(r){return/^[_$a-zA-Z][_$a-zA-Z0-9]*$/.test(r)?r:escapeUnsafeChars(JSON.stringify(r))}function safeProp(r){return/^[_$a-zA-Z][_$a-zA-Z0-9]*$/.test(r)?"."+r:"["+escapeUnsafeChars(JSON.stringify(r))+"]"}function stringifyString(r){var e='"';for(var t=0;t<r.length;t+=1){var i=r.charAt(t);var o=i.charCodeAt(0);if(i==='"'){e+='\\"'}else if(i in n){e+=n[i]}else if(o>=55296&&o<=57343){var f=r.charCodeAt(t+1);if(o<=56319&&(f>=56320&&f<=57343)){e+=i+r[++t]}else{e+="\\u"+o.toString(16).toUpperCase()}}else{e+=i}}e+='"';return e}return devalue})}});
\ No newline at end of file
Copyright (c) 2016, Scott Motte
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
module.exports=function(r,e){"use strict";var n={};function __webpack_require__(e){if(n[e]){return n[e].exports}var t=n[e]={i:e,l:false,exports:{}};r[e].call(t.exports,t,t.exports,__webpack_require__);t.l=true;return t.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(148)}return startup()}({148:function(r){"use strict";var e=function(r){var e=r.ignoreProcessEnv?{}:process.env;var n=function(t){var s=t.match(/(.?\${?(?:[a-zA-Z0-9_]+)?}?)/g)||[];return s.reduce(function(t,s){var a=/(.?)\${?([a-zA-Z0-9_]+)?}?/g.exec(s);var u=a[1];var _,o;if(u==="\\"){o=a[0];_=o.replace("\\$","$")}else{var i=a[2];o=a[0].substring(u.length);_=e.hasOwnProperty(i)?e[i]:r.parsed[i]||"";_=n(_)}return t.replace(o,_)},t)};for(var t in r.parsed){var s=e.hasOwnProperty(t)?e[t]:r.parsed[t];r.parsed[t]=n(s)}for(var a in r.parsed){e[a]=r.parsed[a]}return r};r.exports=e}});
\ No newline at end of file
{"name":"dotenv-expand","main":"main.js","author":"motdotla","license":"BSD-2-Clause"}
Copyright (c) 2015, Scott Motte
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
module.exports=function(n,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var c=t[r]={i:r,l:false,exports:{}};n[r].call(c.exports,c,c.exports,__webpack_require__);c.l=true;return c.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(548)}return startup()}({548:function(n,r,t){const c=t(747);const s=t(622);function log(n){console.log(`[dotenv][DEBUG] ${n}`)}const o="\n";const f=/^\s*([\w.-]+)\s*=\s*(.*)?\s*$/;const p=/\\n/g;const e=/\n|\r|\r\n/;function parse(n,r){const t=Boolean(r&&r.debug);const c={};n.toString().split(e).forEach(function(n,r){const s=n.match(f);if(s!=null){const n=s[1];let r=s[2]||"";const t=r.length-1;const f=r[0]==='"'&&r[t]==='"';const e=r[0]==="'"&&r[t]==="'";if(e||f){r=r.substring(1,t);if(f){r=r.replace(p,o)}}else{r=r.trim()}c[n]=r}else if(t){log(`did not match key and value when parsing line ${r+1}: ${n}`)}});return c}function config(n){let r=s.resolve(process.cwd(),".env");let t="utf8";let o=false;if(n){if(n.path!=null){r=n.path}if(n.encoding!=null){t=n.encoding}if(n.debug!=null){o=true}}try{const n=parse(c.readFileSync(r,{encoding:t}),{debug:o});Object.keys(n).forEach(function(r){if(!Object.prototype.hasOwnProperty.call(process.env,r)){process.env[r]=n[r]}else if(o){log(`"${r}" is already defined in \`process.env\` and will not be overwritten`)}});return{parsed:n}}catch(n){return{error:n}}}n.exports.config=config;n.exports.parse=parse},622:function(n){n.exports=require("path")},747:function(n){n.exports=require("fs")}});
\ No newline at end of file
{"name":"dotenv","main":"main.js","license":"BSD-2-Clause"}
module.exports=function(r,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var _=t[e]={i:e,l:false,exports:{}};r[e].call(_.exports,_,_.exports,__webpack_require__);_.l=true;return _.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(766)}return startup()}({766:function(r){"use strict";const e=/[|\\{}()[\]^$+*?.-]/g;r.exports=(r=>{if(typeof r!=="string"){throw new TypeError("Expected a string")}return r.replace(e,"\\$&")})}});
\ No newline at end of file
module.exports=function(r,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var _=t[e]={i:e,l:false,exports:{}};r[e].call(_.exports,_,_.exports,__webpack_require__);_.l=true;return _.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(299)}return startup()}({299:function(r){"use strict";const e=/[|\\{}()[\]^$+*?.-]/g;r.exports=(r=>{if(typeof r!=="string"){throw new TypeError("Expected a string")}return r.replace(e,"\\$&")})}});
\ No newline at end of file
module.exports=function(t,e){"use strict";var r={};function __webpack_require__(e){if(r[e]){return r[e].exports}var n=r[e]={i:e,l:false,exports:{}};t[e].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(266)}return startup()}({266:function(t,e,r){"use strict";t.exports=etag;var n=r(417);var i=r(747).Stats;var a=Object.prototype.toString;function entitytag(t){if(t.length===0){return'"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk"'}var e=n.createHash("sha1").update(t,"utf8").digest("base64").substring(0,27);var r=typeof t==="string"?Buffer.byteLength(t,"utf8"):t.length;return'"'+r.toString(16)+"-"+e+'"'}function etag(t,e){if(t==null){throw new TypeError("argument entity is required")}var r=isstats(t);var n=e&&typeof e.weak==="boolean"?e.weak:r;if(!r&&typeof t!=="string"&&!Buffer.isBuffer(t)){throw new TypeError("argument entity must be string, Buffer, or fs.Stats")}var i=r?stattag(t):entitytag(t);return n?"W/"+i:i}function isstats(t){if(typeof i==="function"&&t instanceof i){return true}return t&&typeof t==="object"&&"ctime"in t&&a.call(t.ctime)==="[object Date]"&&"mtime"in t&&a.call(t.mtime)==="[object Date]"&&"ino"in t&&typeof t.ino==="number"&&"size"in t&&typeof t.size==="number"}function stattag(t){var e=t.mtime.getTime().toString(16);var r=t.size.toString(16);return'"'+r+"-"+e+'"'}},417:function(t){t.exports=require("crypto")},747:function(t){t.exports=require("fs")}});
\ No newline at end of file
module.exports=function(t,e){"use strict";var r={};function __webpack_require__(e){if(r[e]){return r[e].exports}var n=r[e]={i:e,l:false,exports:{}};t[e].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(580)}return startup()}({417:function(t){t.exports=require("crypto")},580:function(t,e,r){"use strict";t.exports=etag;var n=r(417);var i=r(747).Stats;var a=Object.prototype.toString;function entitytag(t){if(t.length===0){return'"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk"'}var e=n.createHash("sha1").update(t,"utf8").digest("base64").substring(0,27);var r=typeof t==="string"?Buffer.byteLength(t,"utf8"):t.length;return'"'+r.toString(16)+"-"+e+'"'}function etag(t,e){if(t==null){throw new TypeError("argument entity is required")}var r=isstats(t);var n=e&&typeof e.weak==="boolean"?e.weak:r;if(!r&&typeof t!=="string"&&!Buffer.isBuffer(t)){throw new TypeError("argument entity must be string, Buffer, or fs.Stats")}var i=r?stattag(t):entitytag(t);return n?"W/"+i:i}function isstats(t){if(typeof i==="function"&&t instanceof i){return true}return t&&typeof t==="object"&&"ctime"in t&&a.call(t.ctime)==="[object Date]"&&"mtime"in t&&a.call(t.mtime)==="[object Date]"&&"ino"in t&&typeof t.ino==="number"&&"size"in t&&typeof t.size==="number"}function stattag(t){var e=t.mtime.getTime().toString(16);var r=t.size.toString(16);return'"'+r+"-"+e+'"'}},747:function(t){t.exports=require("fs")}});
\ No newline at end of file
module.exports=function(e,t){"use strict";var i={};function __webpack_require__(t){if(i[t]){return i[t].exports}var r=i[t]={i:t,l:false,exports:{}};e[t].call(r.exports,r,r.exports,__webpack_require__);r.l=true;return r.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(340)}return startup()}({134:function(e){e.exports=require("schema-utils")},340:function(e,t,i){"use strict";const r=i(712);e.exports=r.default;e.exports.raw=r.raw},622:function(e){e.exports=require("path")},710:function(e){e.exports=require("loader-utils")},712:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loader;t.raw=void 0;var r=_interopRequireDefault(i(622));var o=_interopRequireDefault(i(710));var a=_interopRequireDefault(i(134));var n=_interopRequireDefault(i(813));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function loader(e){const t=o.default.getOptions(this);(0,a.default)(n.default,t,{name:"File Loader",baseDataPath:"options"});const i=t.context||this.rootContext;const s=o.default.interpolateName(this,t.name||"[contenthash].[ext]",{context:i,content:e,regExp:t.regExp});let u=s;if(t.outputPath){if(typeof t.outputPath==="function"){u=t.outputPath(s,this.resourcePath,i)}else{u=r.default.posix.join(t.outputPath,s)}}let p=`__webpack_public_path__ + ${JSON.stringify(u)}`;if(t.publicPath){if(typeof t.publicPath==="function"){p=t.publicPath(s,this.resourcePath,i)}else{p=`${t.publicPath.endsWith("/")?t.publicPath:`${t.publicPath}/`}${s}`}p=JSON.stringify(p)}if(t.postTransformPublicPath){p=t.postTransformPublicPath(p)}if(typeof t.emitFile==="undefined"||t.emitFile){this.emitFile(u,e)}const c=typeof t.esModule!=="undefined"?t.esModule:true;return`${c?"export default":"module.exports ="} ${p};`}const s=true;t.raw=s},813:function(e){e.exports={additionalProperties:true,properties:{name:{description:"The filename template for the target file(s) (https://github.com/webpack-contrib/file-loader#name).",anyOf:[{type:"string"},{instanceof:"Function"}]},outputPath:{description:"A filesystem path where the target file(s) will be placed (https://github.com/webpack-contrib/file-loader#outputpath).",anyOf:[{type:"string"},{instanceof:"Function"}]},publicPath:{description:"A custom public path for the target file(s) (https://github.com/webpack-contrib/file-loader#publicpath).",anyOf:[{type:"string"},{instanceof:"Function"}]},postTransformPublicPath:{description:"A custom transformation function for post-processing the publicPath (https://github.com/webpack-contrib/file-loader#posttransformpublicpath).",instanceof:"Function"},context:{description:"A custom file context (https://github.com/webpack-contrib/file-loader#context).",type:"string"},emitFile:{description:"Enables/Disables emit files (https://github.com/webpack-contrib/file-loader#emitfile).",type:"boolean"},regExp:{description:"A Regular Expression to one or many parts of the target file path. The capture groups can be reused in the name property using [N] placeholder (https://github.com/webpack-contrib/file-loader#regexp).",anyOf:[{type:"string"},{instanceof:"RegExp"}]},esModule:{description:"By default, file-loader generates JS modules that use the ES modules syntax.",type:"boolean"}},type:"object"}}});
\ No newline at end of file
module.exports=function(e,t){"use strict";var i={};function __webpack_require__(t){if(i[t]){return i[t].exports}var r=i[t]={i:t,l:false,exports:{}};e[t].call(r.exports,r,r.exports,__webpack_require__);r.l=true;return r.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(704)}return startup()}({134:function(e){e.exports=require("schema-utils")},622:function(e){e.exports=require("path")},647:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=loader;t.raw=void 0;var r=_interopRequireDefault(i(622));var o=_interopRequireDefault(i(710));var a=_interopRequireDefault(i(134));var n=_interopRequireDefault(i(838));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function loader(e){const t=o.default.getOptions(this);(0,a.default)(n.default,t,{name:"File Loader",baseDataPath:"options"});const i=t.context||this.rootContext;const s=o.default.interpolateName(this,t.name||"[contenthash].[ext]",{context:i,content:e,regExp:t.regExp});let u=s;if(t.outputPath){if(typeof t.outputPath==="function"){u=t.outputPath(s,this.resourcePath,i)}else{u=r.default.posix.join(t.outputPath,s)}}let p=`__webpack_public_path__ + ${JSON.stringify(u)}`;if(t.publicPath){if(typeof t.publicPath==="function"){p=t.publicPath(s,this.resourcePath,i)}else{p=`${t.publicPath.endsWith("/")?t.publicPath:`${t.publicPath}/`}${s}`}p=JSON.stringify(p)}if(t.postTransformPublicPath){p=t.postTransformPublicPath(p)}if(typeof t.emitFile==="undefined"||t.emitFile){this.emitFile(u,e)}const c=typeof t.esModule!=="undefined"?t.esModule:true;return`${c?"export default":"module.exports ="} ${p};`}const s=true;t.raw=s},704:function(e,t,i){"use strict";const r=i(647);e.exports=r.default;e.exports.raw=r.raw},710:function(e){e.exports=require("loader-utils")},838:function(e){e.exports={additionalProperties:true,properties:{name:{description:"The filename template for the target file(s) (https://github.com/webpack-contrib/file-loader#name).",anyOf:[{type:"string"},{instanceof:"Function"}]},outputPath:{description:"A filesystem path where the target file(s) will be placed (https://github.com/webpack-contrib/file-loader#outputpath).",anyOf:[{type:"string"},{instanceof:"Function"}]},publicPath:{description:"A custom public path for the target file(s) (https://github.com/webpack-contrib/file-loader#publicpath).",anyOf:[{type:"string"},{instanceof:"Function"}]},postTransformPublicPath:{description:"A custom transformation function for post-processing the publicPath (https://github.com/webpack-contrib/file-loader#posttransformpublicpath).",instanceof:"Function"},context:{description:"A custom file context (https://github.com/webpack-contrib/file-loader#context).",type:"string"},emitFile:{description:"Enables/Disables emit files (https://github.com/webpack-contrib/file-loader#emitfile).",type:"boolean"},regExp:{description:"A Regular Expression to one or many parts of the target file path. The capture groups can be reused in the name property using [N] placeholder (https://github.com/webpack-contrib/file-loader#regexp).",anyOf:[{type:"string"},{instanceof:"RegExp"}]},esModule:{description:"By default, file-loader generates JS modules that use the ES modules syntax.",type:"boolean"}},type:"object"}}});
\ No newline at end of file
module.exports=function(t,e){"use strict";var r={};function __webpack_require__(e){if(r[e]){return r[e].exports}var n=r[e]={i:e,l:false,exports:{}};t[e].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(1)}return startup()}({1:function(t,e,r){"use strict";const n=r(622);const s=r(914);const c=r(848);const o=Symbol("findUp.stop");t.exports=(async(t,e={})=>{let r=n.resolve(e.cwd||"");const{root:c}=n.parse(r);const i=[].concat(t);const u=async e=>{if(typeof t!=="function"){return s(i,e)}const r=await t(e.cwd);if(typeof r==="string"){return s([r],e)}return r};while(true){const t=await u({...e,cwd:r});if(t===o){return}if(t){return n.resolve(r,t)}if(r===c){return}r=n.dirname(r)}});t.exports.sync=((t,e={})=>{let r=n.resolve(e.cwd||"");const{root:c}=n.parse(r);const i=[].concat(t);const u=e=>{if(typeof t!=="function"){return s.sync(i,e)}const r=t(e.cwd);if(typeof r==="string"){return s.sync([r],e)}return r};while(true){const t=u({...e,cwd:r});if(t===o){return}if(t){return n.resolve(r,t)}if(r===c){return}r=n.dirname(r)}});t.exports.exists=c;t.exports.sync.exists=c.sync;t.exports.stop=o},429:function(t){"use strict";const e=(t,...e)=>new Promise(r=>{r(t(...e))});t.exports=e;t.exports.default=e},462:function(t,e,r){"use strict";const n=r(495);class EndError extends Error{constructor(t){super();this.value=t}}const s=async(t,e)=>e(await t);const c=async t=>{const e=await Promise.all(t);if(e[1]===true){throw new EndError(e[0])}return false};const o=async(t,e,r)=>{r={concurrency:Infinity,preserveOrder:true,...r};const o=n(r.concurrency);const i=[...t].map(t=>[t,o(s,t,e)]);const u=n(r.preserveOrder?1:Infinity);try{await Promise.all(i.map(t=>u(c,t)))}catch(t){if(t instanceof EndError){return t.value}throw t}};t.exports=o;t.exports.default=o},495:function(t,e,r){"use strict";const n=r(429);const s=t=>{if(!((Number.isInteger(t)||t===Infinity)&&t>0)){return Promise.reject(new TypeError("Expected `concurrency` to be a number from 1 and up"))}const e=[];let r=0;const s=()=>{r--;if(e.length>0){e.shift()()}};const c=(t,e,...c)=>{r++;const o=n(t,...c);e(o);o.then(s,s)};const o=(n,s,...o)=>{if(r<t){c(n,s,...o)}else{e.push(c.bind(null,n,s,...o))}};const i=(t,...e)=>new Promise(r=>o(t,r,...e));Object.defineProperties(i,{activeCount:{get:()=>r},pendingCount:{get:()=>e.length},clearQueue:{value:()=>{e.length=0}}});return i};t.exports=s;t.exports.default=s},622:function(t){t.exports=require("path")},669:function(t){t.exports=require("util")},747:function(t){t.exports=require("fs")},848:function(t,e,r){"use strict";const n=r(747);const{promisify:s}=r(669);const c=s(n.access);t.exports=(async t=>{try{await c(t);return true}catch(t){return false}});t.exports.sync=(t=>{try{n.accessSync(t);return true}catch(t){return false}})},914:function(t,e,r){"use strict";const n=r(622);const s=r(747);const{promisify:c}=r(669);const o=r(462);const i=c(s.stat);const u=c(s.lstat);const a={directory:"isDirectory",file:"isFile"};function checkType({type:t}){if(t in a){return}throw new Error(`Invalid type specified: ${t}`)}const p=(t,e)=>t===undefined||e[a[t]]();t.exports=(async(t,e)=>{e={cwd:process.cwd(),type:"file",allowSymlinks:true,...e};checkType(e);const r=e.allowSymlinks?i:u;return o(t,async t=>{try{const s=await r(n.resolve(e.cwd,t));return p(e.type,s)}catch(t){return false}},e)});t.exports.sync=((t,e)=>{e={cwd:process.cwd(),allowSymlinks:true,type:"file",...e};checkType(e);const r=e.allowSymlinks?s.statSync:s.lstatSync;for(const s of t){try{const t=r(n.resolve(e.cwd,s));if(p(e.type,t)){return s}}catch(t){}}})}});
\ No newline at end of file
module.exports=function(t,e){"use strict";var r={};function __webpack_require__(e){if(r[e]){return r[e].exports}var n=r[e]={i:e,l:false,exports:{}};t[e].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(341)}return startup()}({294:function(t,e,r){"use strict";const n=r(747);const{promisify:s}=r(669);const c=s(n.access);t.exports=(async t=>{try{await c(t);return true}catch(t){return false}});t.exports.sync=(t=>{try{n.accessSync(t);return true}catch(t){return false}})},341:function(t,e,r){"use strict";const n=r(622);const s=r(457);const c=r(294);const o=Symbol("findUp.stop");t.exports=(async(t,e={})=>{let r=n.resolve(e.cwd||"");const{root:c}=n.parse(r);const i=[].concat(t);const u=async e=>{if(typeof t!=="function"){return s(i,e)}const r=await t(e.cwd);if(typeof r==="string"){return s([r],e)}return r};while(true){const t=await u({...e,cwd:r});if(t===o){return}if(t){return n.resolve(r,t)}if(r===c){return}r=n.dirname(r)}});t.exports.sync=((t,e={})=>{let r=n.resolve(e.cwd||"");const{root:c}=n.parse(r);const i=[].concat(t);const u=e=>{if(typeof t!=="function"){return s.sync(i,e)}const r=t(e.cwd);if(typeof r==="string"){return s.sync([r],e)}return r};while(true){const t=u({...e,cwd:r});if(t===o){return}if(t){return n.resolve(r,t)}if(r===c){return}r=n.dirname(r)}});t.exports.exists=c;t.exports.sync.exists=c.sync;t.exports.stop=o},457:function(t,e,r){"use strict";const n=r(622);const s=r(747);const{promisify:c}=r(669);const o=r(767);const i=c(s.stat);const u=c(s.lstat);const a={directory:"isDirectory",file:"isFile"};function checkType({type:t}){if(t in a){return}throw new Error(`Invalid type specified: ${t}`)}const p=(t,e)=>t===undefined||e[a[t]]();t.exports=(async(t,e)=>{e={cwd:process.cwd(),type:"file",allowSymlinks:true,...e};checkType(e);const r=e.allowSymlinks?i:u;return o(t,async t=>{try{const s=await r(n.resolve(e.cwd,t));return p(e.type,s)}catch(t){return false}},e)});t.exports.sync=((t,e)=>{e={cwd:process.cwd(),allowSymlinks:true,type:"file",...e};checkType(e);const r=e.allowSymlinks?s.statSync:s.lstatSync;for(const s of t){try{const t=r(n.resolve(e.cwd,s));if(p(e.type,t)){return s}}catch(t){}}})},622:function(t){t.exports=require("path")},669:function(t){t.exports=require("util")},747:function(t){t.exports=require("fs")},767:function(t,e,r){"use strict";const n=r(860);class EndError extends Error{constructor(t){super();this.value=t}}const s=async(t,e)=>e(await t);const c=async t=>{const e=await Promise.all(t);if(e[1]===true){throw new EndError(e[0])}return false};const o=async(t,e,r)=>{r={concurrency:Infinity,preserveOrder:true,...r};const o=n(r.concurrency);const i=[...t].map(t=>[t,o(s,t,e)]);const u=n(r.preserveOrder?1:Infinity);try{await Promise.all(i.map(t=>u(c,t)))}catch(t){if(t instanceof EndError){return t.value}throw t}};t.exports=o;t.exports.default=o},813:function(t){"use strict";const e=(t,...e)=>new Promise(r=>{r(t(...e))});t.exports=e;t.exports.default=e},860:function(t,e,r){"use strict";const n=r(813);const s=t=>{if(!((Number.isInteger(t)||t===Infinity)&&t>0)){return Promise.reject(new TypeError("Expected `concurrency` to be a number from 1 and up"))}const e=[];let r=0;const s=()=>{r--;if(e.length>0){e.shift()()}};const c=(t,e,...c)=>{r++;const o=n(t,...c);e(o);o.then(s,s)};const o=(n,s,...o)=>{if(r<t){c(n,s,...o)}else{e.push(c.bind(null,n,s,...o))}};const i=(t,...e)=>new Promise(r=>o(t,r,...e));Object.defineProperties(i,{activeCount:{get:()=>r},pendingCount:{get:()=>e.length},clearQueue:{value:()=>{e.length=0}}});return i};t.exports=s;t.exports.default=s}});
\ No newline at end of file
module.exports=function(r,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var a=t[e]={i:e,l:false,exports:{}};r[e].call(a.exports,a,a.exports,__webpack_require__);a.l=true;return a.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(566)}return startup()}({566:function(r){"use strict";var e=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;r.exports=fresh;function fresh(r,t){var a=r["if-modified-since"];var s=r["if-none-match"];if(!a&&!s){return false}var n=r["cache-control"];if(n&&e.test(n)){return false}if(s&&s!=="*"){var i=t["etag"];if(!i){return false}var u=true;var f=parseTokenList(s);for(var o=0;o<f.length;o++){var c=f[o];if(c===i||c==="W/"+i||"W/"+c===i){u=false;break}}if(u){return false}}if(a){var p=t["last-modified"];var _=!p||!(parseHttpDate(p)<=parseHttpDate(a));if(_){return false}}return true}function parseHttpDate(r){var e=r&&Date.parse(r);return typeof e==="number"?e:NaN}function parseTokenList(r){var e=0;var t=[];var a=0;for(var s=0,n=r.length;s<n;s++){switch(r.charCodeAt(s)){case 32:if(a===e){a=e=s+1}break;case 44:t.push(r.substring(a,e));a=e=s+1;break;default:e=s+1;break}}t.push(r.substring(a,e));return t}}});
\ No newline at end of file
module.exports=function(r,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var a=t[e]={i:e,l:false,exports:{}};r[e].call(a.exports,a,a.exports,__webpack_require__);a.l=true;return a.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(6)}return startup()}({6:function(r){"use strict";var e=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;r.exports=fresh;function fresh(r,t){var a=r["if-modified-since"];var s=r["if-none-match"];if(!a&&!s){return false}var n=r["cache-control"];if(n&&e.test(n)){return false}if(s&&s!=="*"){var i=t["etag"];if(!i){return false}var u=true;var f=parseTokenList(s);for(var o=0;o<f.length;o++){var c=f[o];if(c===i||c==="W/"+i||"W/"+c===i){u=false;break}}if(u){return false}}if(a){var p=t["last-modified"];var _=!p||!(parseHttpDate(p)<=parseHttpDate(a));if(_){return false}}return true}function parseHttpDate(r){var e=r&&Date.parse(r);return typeof e==="number"?e:NaN}function parseTokenList(r){var e=0;var t=[];var a=0;for(var s=0,n=r.length;s<n;s++){switch(r.charCodeAt(s)){case 32:if(a===e){a=e=s+1}break;case 44:t.push(r.substring(a,e));a=e=s+1;break;default:e=s+1;break}}t.push(r.substring(a,e));return t}}});
\ No newline at end of file
module.exports=function(n,i){"use strict";var o={};function __webpack_require__(i){if(o[i]){return o[i].exports}var a=o[i]={i:i,l:false,exports:{}};n[i].call(a.exports,a,a.exports,__webpack_require__);a.l=true;return a.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(214)}return startup()}({214:function(n,i,o){"use strict";const a=o(747);const t=o(413);const p=o(761);const f=o(416);const c=o(589);const e=n=>Object.assign({level:9},n);n.exports=((n,i)=>{if(!n){return Promise.resolve(0)}return c(p.gzip)(n,e(i)).then(n=>n.length).catch(n=>0)});n.exports.sync=((n,i)=>p.gzipSync(n,e(i)).length);n.exports.stream=(n=>{const i=new t.PassThrough;const o=new t.PassThrough;const a=f(i,o);let c=0;const d=p.createGzip(e(n)).on("data",n=>{c+=n.length}).on("error",()=>{a.gzipSize=0}).on("end",()=>{a.gzipSize=c;a.emit("gzip-size",c);o.end()});i.pipe(d);i.pipe(o,{end:false});return a});n.exports.file=((i,o)=>{return new Promise((t,p)=>{const f=a.createReadStream(i);f.on("error",p);const c=f.pipe(n.exports.stream(o));c.on("error",p);c.on("gzip-size",t)})});n.exports.fileSync=((i,o)=>n.exports.sync(a.readFileSync(i),o))},413:function(n){n.exports=require("stream")},416:function(n,i,o){var a=o(413);var t=["write","end","destroy"];var p=["resume","pause"];var f=["data","close"];var c=Array.prototype.slice;n.exports=duplex;function forEach(n,i){if(n.forEach){return n.forEach(i)}for(var o=0;o<n.length;o++){i(n[o],o)}}function duplex(n,i){var o=new a;var e=false;forEach(t,proxyWriter);forEach(p,proxyReader);forEach(f,proxyStream);i.on("end",handleEnd);n.on("drain",function(){o.emit("drain")});n.on("error",reemit);i.on("error",reemit);o.writable=n.writable;o.readable=i.readable;return o;function proxyWriter(i){o[i]=method;function method(){return n[i].apply(n,arguments)}}function proxyReader(n){o[n]=method;function method(){o.emit(n);var a=i[n];if(a){return a.apply(i,arguments)}i.emit(n)}}function proxyStream(n){i.on(n,reemit);function reemit(){var i=c.call(arguments);i.unshift(n);o.emit.apply(o,i)}}function handleEnd(){if(e){return}e=true;var n=c.call(arguments);n.unshift("end");o.emit.apply(o,n)}function reemit(n){o.emit("error",n)}}},589:function(n){"use strict";const i=(n,i)=>(function(...o){const a=i.promiseModule;return new a((a,t)=>{if(i.multiArgs){o.push((...n)=>{if(i.errorFirst){if(n[0]){t(n)}else{n.shift();a(n)}}else{a(n)}})}else if(i.errorFirst){o.push((n,i)=>{if(n){t(n)}else{a(i)}})}else{o.push(a)}n.apply(this,o)})});n.exports=((n,o)=>{o=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:true,promiseModule:Promise},o);const a=typeof n;if(!(n!==null&&(a==="object"||a==="function"))){throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${n===null?"null":a}\``)}const t=n=>{const i=i=>typeof i==="string"?n===i:i.test(n);return o.include?o.include.some(i):!o.exclude.some(i)};let p;if(a==="function"){p=function(...a){return o.excludeMain?n(...a):i(n,o).apply(this,a)}}else{p=Object.create(Object.getPrototypeOf(n))}for(const a in n){const f=n[a];p[a]=typeof f==="function"&&t(a)?i(f,o):f}return p})},747:function(n){n.exports=require("fs")},761:function(n){n.exports=require("zlib")}});
\ No newline at end of file
module.exports=function(n,i){"use strict";var o={};function __webpack_require__(i){if(o[i]){return o[i].exports}var a=o[i]={i:i,l:false,exports:{}};n[i].call(a.exports,a,a.exports,__webpack_require__);a.l=true;return a.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(851)}return startup()}({413:function(n){n.exports=require("stream")},747:function(n){n.exports=require("fs")},761:function(n){n.exports=require("zlib")},842:function(n,i,o){var a=o(413);var t=["write","end","destroy"];var p=["resume","pause"];var f=["data","close"];var c=Array.prototype.slice;n.exports=duplex;function forEach(n,i){if(n.forEach){return n.forEach(i)}for(var o=0;o<n.length;o++){i(n[o],o)}}function duplex(n,i){var o=new a;var e=false;forEach(t,proxyWriter);forEach(p,proxyReader);forEach(f,proxyStream);i.on("end",handleEnd);n.on("drain",function(){o.emit("drain")});n.on("error",reemit);i.on("error",reemit);o.writable=n.writable;o.readable=i.readable;return o;function proxyWriter(i){o[i]=method;function method(){return n[i].apply(n,arguments)}}function proxyReader(n){o[n]=method;function method(){o.emit(n);var a=i[n];if(a){return a.apply(i,arguments)}i.emit(n)}}function proxyStream(n){i.on(n,reemit);function reemit(){var i=c.call(arguments);i.unshift(n);o.emit.apply(o,i)}}function handleEnd(){if(e){return}e=true;var n=c.call(arguments);n.unshift("end");o.emit.apply(o,n)}function reemit(n){o.emit("error",n)}}},851:function(n,i,o){"use strict";const a=o(747);const t=o(413);const p=o(761);const f=o(842);const c=o(930);const e=n=>Object.assign({level:9},n);n.exports=((n,i)=>{if(!n){return Promise.resolve(0)}return c(p.gzip)(n,e(i)).then(n=>n.length).catch(n=>0)});n.exports.sync=((n,i)=>p.gzipSync(n,e(i)).length);n.exports.stream=(n=>{const i=new t.PassThrough;const o=new t.PassThrough;const a=f(i,o);let c=0;const d=p.createGzip(e(n)).on("data",n=>{c+=n.length}).on("error",()=>{a.gzipSize=0}).on("end",()=>{a.gzipSize=c;a.emit("gzip-size",c);o.end()});i.pipe(d);i.pipe(o,{end:false});return a});n.exports.file=((i,o)=>{return new Promise((t,p)=>{const f=a.createReadStream(i);f.on("error",p);const c=f.pipe(n.exports.stream(o));c.on("error",p);c.on("gzip-size",t)})});n.exports.fileSync=((i,o)=>n.exports.sync(a.readFileSync(i),o))},930:function(n){"use strict";const i=(n,i)=>(function(...o){const a=i.promiseModule;return new a((a,t)=>{if(i.multiArgs){o.push((...n)=>{if(i.errorFirst){if(n[0]){t(n)}else{n.shift();a(n)}}else{a(n)}})}else if(i.errorFirst){o.push((n,i)=>{if(n){t(n)}else{a(i)}})}else{o.push(a)}n.apply(this,o)})});n.exports=((n,o)=>{o=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:true,promiseModule:Promise},o);const a=typeof n;if(!(n!==null&&(a==="object"||a==="function"))){throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${n===null?"null":a}\``)}const t=n=>{const i=i=>typeof i==="string"?n===i:i.test(n);return o.include?o.include.some(i):!o.exclude.some(i)};let p;if(a==="function"){p=function(...a){return o.excludeMain?n(...a):i(n,o).apply(this,a)}}else{p=Object.create(Object.getPrototypeOf(n))}for(const a in n){const f=n[a];p[a]=typeof f==="function"&&t(a)?i(f,o):f}return p})}});
\ No newline at end of file
This diff is collapsed.
module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var _=t[r]={i:r,l:false,exports:{}};e[r].call(_.exports,_,_.exports,__webpack_require__);_.l=true;return _.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(625)}return startup()}({625:function(e){"use strict";e.exports=function(e){this.cacheable&&this.cacheable();return""}}});
\ No newline at end of file
module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var _=t[r]={i:r,l:false,exports:{}};e[r].call(_.exports,_,_.exports,__webpack_require__);_.l=true;return _.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(461)}return startup()}({461:function(e){"use strict";e.exports=function(e){this.cacheable&&this.cacheable();return""}}});
\ No newline at end of file
module.exports=function(r,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var u=t[e]={i:e,l:false,exports:{}};r[e].call(u.exports,u,u.exports,__webpack_require__);u.l=true;return u.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(383)}return startup()}({383:function(r,e,t){"use strict";const u=t(747);let n;function hasDockerEnv(){try{u.statSync("/.dockerenv");return true}catch(r){return false}}function hasDockerCGroup(){try{return u.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch(r){return false}}r.exports=(()=>{if(n===undefined){n=hasDockerEnv()||hasDockerCGroup()}return n})},747:function(r){r.exports=require("fs")}});
\ No newline at end of file
module.exports=function(r,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var u=t[e]={i:e,l:false,exports:{}};r[e].call(u.exports,u,u.exports,__webpack_require__);u.l=true;return u.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(952)}return startup()}({747:function(r){r.exports=require("fs")},952:function(r,e,t){"use strict";const u=t(747);let n;function hasDockerEnv(){try{u.statSync("/.dockerenv");return true}catch(r){return false}}function hasDockerCGroup(){try{return u.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch(r){return false}}r.exports=(()=>{if(n===undefined){n=hasDockerEnv()||hasDockerCGroup()}return n})}});
\ No newline at end of file
module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var s=t[r]={i:r,l:false,exports:{}};e[r].call(s.exports,s,s.exports,__webpack_require__);s.l=true;return s.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(394)}return startup()}({1:function(e){e.exports=require("next/dist/compiled/is-docker")},87:function(e){e.exports=require("os")},394:function(e,r,t){"use strict";const s=t(87);const o=t(747);const n=t(1);const u=()=>{if(process.platform!=="linux"){return false}if(s.release().toLowerCase().includes("microsoft")){if(n()){return false}return true}try{return o.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")?!n():false}catch(e){return false}};if(process.env.__IS_WSL_TEST__){e.exports=u}else{e.exports=u()}},747:function(e){e.exports=require("fs")}});
\ No newline at end of file
module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var s=t[r]={i:r,l:false,exports:{}};e[r].call(s.exports,s,s.exports,__webpack_require__);s.l=true;return s.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(625)}return startup()}({1:function(e){e.exports=require("next/dist/compiled/is-docker")},87:function(e){e.exports=require("os")},625:function(e,r,t){"use strict";const s=t(87);const o=t(747);const n=t(1);const u=()=>{if(process.platform!=="linux"){return false}if(s.release().toLowerCase().includes("microsoft")){if(n()){return false}return true}try{return o.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")?!n():false}catch(e){return false}};if(process.env.__IS_WSL_TEST__){e.exports=u}else{e.exports=u()}},747:function(e){e.exports=require("fs")}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
module.exports=function(r,n){"use strict";var a={};function __webpack_require__(n){if(a[n]){return a[n].exports}var i=a[n]={i:n,l:false,exports:{}};r[n].call(i.exports,i,i.exports,__webpack_require__);i.l=true;return i.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(162)}return startup()}({162:function(r,n,a){var i=a(966);var t=a(865);r.exports=function(r){r=r||21;var n=i(r);var a="";while(0<r--){a+=t[n[r]&63]}return a}},417:function(r){r.exports=require("crypto")},865:function(r){r.exports="ModuleSymbhasOwnPr-0123456789ABCDEFGHIJKLNQRTUVWXYZ_cfgijkpqtvxz"},966:function(r,n,a){var i=a(417);if(i.randomFillSync){var t={};r.exports=function(r){var n=t[r];if(!n){n=Buffer.allocUnsafe(r);if(r<=255)t[r]=n}return i.randomFillSync(n)}}else{r.exports=i.randomBytes}}});
\ No newline at end of file
module.exports=function(r,n){"use strict";var a={};function __webpack_require__(n){if(a[n]){return a[n].exports}var i=a[n]={i:n,l:false,exports:{}};r[n].call(i.exports,i,i.exports,__webpack_require__);i.l=true;return i.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(59)}return startup()}({47:function(r){r.exports="ModuleSymbhasOwnPr-0123456789ABCDEFGHIJKLNQRTUVWXYZ_cfgijkpqtvxz"},59:function(r,n,a){var i=a(679);var t=a(47);r.exports=function(r){r=r||21;var n=i(r);var a="";while(0<r--){a+=t[n[r]&63]}return a}},417:function(r){r.exports=require("crypto")},679:function(r,n,a){var i=a(417);if(i.randomFillSync){var t={};r.exports=function(r){var n=t[r];if(!n){n=Buffer.allocUnsafe(r);if(r<=255)t[r]=n}return i.randomFillSync(n)}}else{r.exports=i.randomBytes}}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
module.exports=function(r,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var _=t[e]={i:e,l:false,exports:{}};r[e].call(_.exports,_,_.exports,__webpack_require__);_.l=true;return _.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(704)}return startup()}({704:function(r){"use strict";function hash(r){var e=5381,t=r.length;while(t){e=e*33^r.charCodeAt(--t)}return e>>>0}r.exports=hash}});
\ No newline at end of file
module.exports=function(r,e){"use strict";var t={};function __webpack_require__(e){if(t[e]){return t[e].exports}var _=t[e]={i:e,l:false,exports:{}};r[e].call(_.exports,_,_.exports,__webpack_require__);_.l=true;return _.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(831)}return startup()}({831:function(r){"use strict";function hash(r){var e=5381,t=r.length;while(t){e=e*33^r.charCodeAt(--t)}return e>>>0}r.exports=hash}});
\ No newline at end of file
module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var n=t[r]={i:r,l:false,exports:{}};e[r].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(855)}return startup()}({849:function(e){"use strict";e.exports=(({onlyFirst:e=false}={})=>{const r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(r,e?undefined:"g")})},855:function(e,r,t){"use strict";const n=t(849);e.exports=(e=>typeof e==="string"?e.replace(n(),""):e)}});
\ No newline at end of file
module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var n=t[r]={i:r,l:false,exports:{}};e[r].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(90)}return startup()}({90:function(e,r,t){"use strict";const n=t(436);e.exports=(e=>typeof e==="string"?e.replace(n(),""):e)},436:function(e){"use strict";e.exports=(({onlyFirst:e=false}={})=>{const r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(r,e?undefined:"g")})}});
\ No newline at end of file
This diff is collapsed.
module.exports=function(r,n){"use strict";var e={};function __webpack_require__(n){if(e[n]){return e[n].exports}var t=e[n]={i:n,l:false,exports:{}};r[n].call(t.exports,t,t.exports,__webpack_require__);t.l=true;return t.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(718)}return startup()}({718:function(r){r.exports=function(r,n){if(!n)n={};var e=n.hsep===undefined?" ":n.hsep;var t=n.align||[];var a=n.stringLength||function(r){return String(r).length};var u=reduce(r,function(r,n){forEach(n,function(n,e){var t=dotindex(n);if(!r[e]||t>r[e])r[e]=t});return r},[]);var o=map(r,function(r){return map(r,function(r,n){var e=String(r);if(t[n]==="."){var o=dotindex(e);var f=u[n]+(/\./.test(e)?1:2)-(a(e)-o);return e+Array(f).join(" ")}else return e})});var f=reduce(o,function(r,n){forEach(n,function(n,e){var t=a(n);if(!r[e]||t>r[e])r[e]=t});return r},[]);return map(o,function(r){return map(r,function(r,n){var e=f[n]-a(r)||0;var u=Array(Math.max(e+1,1)).join(" ");if(t[n]==="r"||t[n]==="."){return u+r}if(t[n]==="c"){return Array(Math.ceil(e/2+1)).join(" ")+r+Array(Math.floor(e/2+1)).join(" ")}return r+u}).join(e).replace(/\s+$/,"")}).join("\n")};function dotindex(r){var n=/\.[^.]*$/.exec(r);return n?n.index+1:r.length}function reduce(r,n,e){if(r.reduce)return r.reduce(n,e);var t=0;var a=arguments.length>=3?e:r[t++];for(;t<r.length;t++){n(a,r[t],t)}return a}function forEach(r,n){if(r.forEach)return r.forEach(n);for(var e=0;e<r.length;e++){n.call(r,r[e],e)}}function map(r,n){if(r.map)return r.map(n);var e=[];for(var t=0;t<r.length;t++){e.push(n.call(r,r[t],t))}return e}}});
\ No newline at end of file
module.exports=function(r,n){"use strict";var e={};function __webpack_require__(n){if(e[n]){return e[n].exports}var t=e[n]={i:n,l:false,exports:{}};r[n].call(t.exports,t,t.exports,__webpack_require__);t.l=true;return t.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(84)}return startup()}({84:function(r){r.exports=function(r,n){if(!n)n={};var e=n.hsep===undefined?" ":n.hsep;var t=n.align||[];var a=n.stringLength||function(r){return String(r).length};var u=reduce(r,function(r,n){forEach(n,function(n,e){var t=dotindex(n);if(!r[e]||t>r[e])r[e]=t});return r},[]);var o=map(r,function(r){return map(r,function(r,n){var e=String(r);if(t[n]==="."){var o=dotindex(e);var f=u[n]+(/\./.test(e)?1:2)-(a(e)-o);return e+Array(f).join(" ")}else return e})});var f=reduce(o,function(r,n){forEach(n,function(n,e){var t=a(n);if(!r[e]||t>r[e])r[e]=t});return r},[]);return map(o,function(r){return map(r,function(r,n){var e=f[n]-a(r)||0;var u=Array(Math.max(e+1,1)).join(" ");if(t[n]==="r"||t[n]==="."){return u+r}if(t[n]==="c"){return Array(Math.ceil(e/2+1)).join(" ")+r+Array(Math.floor(e/2+1)).join(" ")}return r+u}).join(e).replace(/\s+$/,"")}).join("\n")};function dotindex(r){var n=/\.[^.]*$/.exec(r);return n?n.index+1:r.length}function reduce(r,n,e){if(r.reduce)return r.reduce(n,e);var t=0;var a=arguments.length>=3?e:r[t++];for(;t<r.length;t++){n(a,r[t],t)}return a}function forEach(r,n){if(r.forEach)return r.forEach(n);for(var e=0;e<r.length;e++){n.call(r,r[e],e)}}function map(r,n){if(r.map)return r.map(n);var e=[];for(var t=0;t<r.length;t++){e.push(n.call(r,r[t],t))}return e}}});
\ No newline at end of file
This diff is collapsed.
module.exports=function(r,n){"use strict";var t={};function __webpack_require__(n){if(t[n]){return t[n].exports}var e=t[n]={i:n,l:false,exports:{}};r[n].call(e.exports,e,e.exports,__webpack_require__);e.l=true;return e.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(776)}return startup()}({776:function(r){function n(r,n){for(var t in n)r[t]=n[t];return r}r.exports=function(t){var i=[];function u(r){for(var n=[],t=0;t<i.length;t++)i[t]===r?r=null:n.push(i[t]);i=n}function e(r,e,u){t=e?r:n(n({},t),r);for(var o=i,c=0;c<o.length;c++)o[c](t,u)}return t=t||{},{action:function(n){function r(r){e(r,!1,n)}return function(){for(var e=arguments,u=[t],i=0;i<arguments.length;i++)u.push(e[i]);var o=n.apply(this,u);if(null!=o)return o.then?o.then(r):r(o)}},setState:e,subscribe:function(r){return i.push(r),function(){u(r)}},unsubscribe:u,getState:function(){return t}}}}});
\ No newline at end of file
module.exports=function(r,n){"use strict";var t={};function __webpack_require__(n){if(t[n]){return t[n].exports}var e=t[n]={i:n,l:false,exports:{}};r[n].call(e.exports,e,e.exports,__webpack_require__);e.l=true;return e.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(605)}return startup()}({605:function(r){function n(r,n){for(var t in n)r[t]=n[t];return r}r.exports=function(t){var i=[];function u(r){for(var n=[],t=0;t<i.length;t++)i[t]===r?r=null:n.push(i[t]);i=n}function e(r,e,u){t=e?r:n(n({},t),r);for(var o=i,c=0;c<o.length;c++)o[c](t,u)}return t=t||{},{action:function(n){function r(r){e(r,!1,n)}return function(){for(var e=arguments,u=[t],i=0;i<arguments.length;i++)u.push(e[i]);var o=n.apply(this,u);if(null!=o)return o.then?o.then(r):r(o)}},setState:e,subscribe:function(r){return i.push(r),function(){u(r)}},unsubscribe:u,getState:function(){return t}}}}});
\ No newline at end of file
......@@ -38,7 +38,7 @@ import {
normalizePagePath,
denormalizePagePath,
} from '../next-server/server/normalize-page-path'
import { loadEnvConfig } from '../lib/load-env-config'
import { loadEnvConfig } from '@next/env'
import { PrerenderManifest } from '../build'
import type exportPage from './worker'
import { PagesManifest } from '../build/webpack/plugins/pages-manifest-plugin'
......@@ -133,7 +133,7 @@ export default async function exportApp(
dir = resolve(dir)
// attempt to load global env values so they are available in next.config.js
loadEnvConfig(dir)
loadEnvConfig(dir, false, Log)
const nextConfig = configuration || loadConfig(PHASE_EXPORT, dir)
const threads = options.threads || Math.max(cpus().length - 1, 1)
......
......@@ -5,7 +5,7 @@ import { UrlObject } from 'url'
import { formatUrl } from './router/utils/format-url'
import { ManifestItem } from '../server/load-components'
import { NextRouter } from './router/router'
import { Env } from '../../lib/load-env-config'
import { Env } from '@next/env'
import { BuildManifest } from '../server/get-page-files'
/**
......
......@@ -62,13 +62,14 @@ import { IncrementalCache } from './incremental-cache'
import { execOnce } from '../lib/utils'
import { isBlockedPage } from './utils'
import { compile as compilePathToRegex } from 'next/dist/compiled/path-to-regexp'
import { loadEnvConfig } from '../../lib/load-env-config'
import { loadEnvConfig } from '@next/env'
import './node-polyfill-fetch'
import { PagesManifest } from '../../build/webpack/plugins/pages-manifest-plugin'
import { removePathTrailingSlash } from '../../client/normalize-trailing-slash'
import getRouteFromAssetPath from '../lib/router/utils/get-route-from-asset-path'
import { FontManifest } from './font-utils'
import { denormalizePagePath } from './denormalize-page-path'
import * as Log from '../../build/output/log'
const getCustomRouteMatcher = pathMatch(true)
......@@ -146,7 +147,7 @@ export default class Server {
this.dir = resolve(dir)
this.quiet = quiet
const phase = this.currentPhase()
loadEnvConfig(this.dir, dev)
loadEnvConfig(this.dir, dev, Log)
this.nextConfig = loadConfig(phase, this.dir, conf)
this.distDir = join(this.dir, this.nextConfig.distDir)
......
......@@ -76,6 +76,7 @@
"@babel/preset-typescript": "7.10.4",
"@babel/runtime": "7.11.2",
"@babel/types": "7.11.5",
"@next/env": "9.5.4-canary.21",
"@next/polyfill-module": "9.5.4-canary.21",
"@next/react-dev-overlay": "9.5.4-canary.21",
"@next/react-refresh-utils": "9.5.4-canary.21",
......@@ -139,7 +140,6 @@
"@types/cookie": "0.3.3",
"@types/cross-spawn": "6.0.0",
"@types/debug": "4.1.5",
"@types/dotenv": "8.2.0",
"@types/etag": "1.8.0",
"@types/fresh": "0.5.0",
"@types/json5": "0.0.30",
......@@ -175,8 +175,6 @@
"cookie": "0.4.1",
"debug": "4.1.1",
"devalue": "2.0.1",
"dotenv": "8.2.0",
"dotenv-expand": "5.1.0",
"escape-string-regexp": "2.0.0",
"etag": "1.8.1",
"file-loader": "6.0.0",
......
......@@ -54,7 +54,6 @@ const externals = {
'jest-worker': 'jest-worker',
cacache: 'cacache',
}
// eslint-disable-next-line camelcase
externals['amphtml-validator'] = 'next/dist/compiled/amphtml-validator'
export async function ncc_amphtml_validator(task, opts) {
......@@ -175,22 +174,6 @@ export async function ncc_devalue(task, opts) {
.ncc({ packageName: 'devalue', externals })
.target('compiled/devalue')
}
// eslint-disable-next-line camelcase
externals['dotenv'] = 'next/dist/compiled/dotenv'
export async function ncc_dotenv(task, opts) {
await task
.source(opts.src || relative(__dirname, require.resolve('dotenv')))
.ncc({ packageName: 'dotenv', externals })
.target('compiled/dotenv')
}
// eslint-disable-next-line camelcase
externals['dotenv-expand'] = 'next/dist/compiled/dotenv-expand'
export async function ncc_dotenv_expand(task, opts) {
await task
.source(opts.src || relative(__dirname, require.resolve('dotenv-expand')))
.ncc({ packageName: 'dotenv-expand', externals })
.target('compiled/dotenv-expand')
}
externals['escape-string-regexp'] = 'next/dist/compiled/escape-string-regexp'
// eslint-disable-next-line camelcase
export async function ncc_escape_string_regexp(task, opts) {
......@@ -513,8 +496,6 @@ export async function ncc(task) {
'ncc_cookie',
'ncc_debug',
'ncc_devalue',
'ncc_dotenv',
'ncc_dotenv_expand',
'ncc_escape_string_regexp',
'ncc_etag',
'ncc_file_loader',
......
......@@ -81,15 +81,6 @@ declare module 'next/dist/compiled/devalue' {
import m from 'devalue'
export = m
}
declare module 'next/dist/compiled/dotenv' {
import m from 'dotenv'
export = m
}
declare module 'next/dist/compiled/dotenv-expand' {
import m from 'dotenv-expand'
export = m
}
declare module 'next/dist/compiled/escape-string-regexp' {
import m from 'escape-string-regexp'
export = m
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment