Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
13
node_modules/next/dist/esm/shared/lib/utils/error-once.js
generated
vendored
Normal file
13
node_modules/next/dist/esm/shared/lib/utils/error-once.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
let errorOnce = (_)=>{};
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
const errors = new Set();
|
||||
errorOnce = (msg)=>{
|
||||
if (!errors.has(msg)) {
|
||||
console.error(msg);
|
||||
}
|
||||
errors.add(msg);
|
||||
};
|
||||
}
|
||||
export { errorOnce };
|
||||
|
||||
//# sourceMappingURL=error-once.js.map
|
||||
1
node_modules/next/dist/esm/shared/lib/utils/error-once.js.map
generated
vendored
Normal file
1
node_modules/next/dist/esm/shared/lib/utils/error-once.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"sources":["../../../../src/shared/lib/utils/error-once.ts"],"sourcesContent":["let errorOnce = (_: string) => {}\nif (process.env.NODE_ENV !== 'production') {\n const errors = new Set<string>()\n errorOnce = (msg: string) => {\n if (!errors.has(msg)) {\n console.error(msg)\n }\n errors.add(msg)\n }\n}\n\nexport { errorOnce }\n"],"names":["errorOnce","_","process","env","NODE_ENV","errors","Set","msg","has","console","error","add"],"mappings":"AAAA,IAAIA,YAAY,CAACC,KAAe;AAChC,IAAIC,QAAQC,GAAG,CAACC,QAAQ,KAAK,cAAc;IACzC,MAAMC,SAAS,IAAIC;IACnBN,YAAY,CAACO;QACX,IAAI,CAACF,OAAOG,GAAG,CAACD,MAAM;YACpBE,QAAQC,KAAK,CAACH;QAChB;QACAF,OAAOM,GAAG,CAACJ;IACb;AACF;AAEA,SAASP,SAAS,GAAE"}
|
||||
41
node_modules/next/dist/esm/shared/lib/utils/reflect-utils.js
generated
vendored
Normal file
41
node_modules/next/dist/esm/shared/lib/utils/reflect-utils.js
generated
vendored
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
// This regex will have fast negatives meaning valid identifiers may not pass
|
||||
// this test. However this is only used during static generation to provide hints
|
||||
// about why a page bailed out of some or all prerendering and we can use bracket notation
|
||||
// for example while `ಠ_ಠ` is a valid identifier it's ok to print `searchParams['ಠ_ಠ']`
|
||||
// even if this would have been fine too `searchParams.ಠ_ಠ`
|
||||
const isDefinitelyAValidIdentifier = /^[A-Za-z_$][A-Za-z0-9_$]*$/;
|
||||
export function describeStringPropertyAccess(target, prop) {
|
||||
if (isDefinitelyAValidIdentifier.test(prop)) {
|
||||
return "`" + target + "." + prop + "`";
|
||||
}
|
||||
return "`" + target + "[" + JSON.stringify(prop) + "]`";
|
||||
}
|
||||
export function describeHasCheckingStringProperty(target, prop) {
|
||||
const stringifiedProp = JSON.stringify(prop);
|
||||
return "`Reflect.has(" + target + ", " + stringifiedProp + ")`, `" + stringifiedProp + " in " + target + "`, or similar";
|
||||
}
|
||||
export const wellKnownProperties = new Set([
|
||||
'hasOwnProperty',
|
||||
'isPrototypeOf',
|
||||
'propertyIsEnumerable',
|
||||
'toString',
|
||||
'valueOf',
|
||||
'toLocaleString',
|
||||
// Promise prototype
|
||||
// fallthrough
|
||||
'then',
|
||||
'catch',
|
||||
'finally',
|
||||
// React Promise extension
|
||||
// fallthrough
|
||||
'status',
|
||||
// React introspection
|
||||
'displayName',
|
||||
// Common tested properties
|
||||
// fallthrough
|
||||
'toJSON',
|
||||
'$$typeof',
|
||||
'__esModule'
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=reflect-utils.js.map
|
||||
1
node_modules/next/dist/esm/shared/lib/utils/reflect-utils.js.map
generated
vendored
Normal file
1
node_modules/next/dist/esm/shared/lib/utils/reflect-utils.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"sources":["../../../../src/shared/lib/utils/reflect-utils.ts"],"sourcesContent":["// This regex will have fast negatives meaning valid identifiers may not pass\n// this test. However this is only used during static generation to provide hints\n// about why a page bailed out of some or all prerendering and we can use bracket notation\n// for example while `ಠ_ಠ` is a valid identifier it's ok to print `searchParams['ಠ_ಠ']`\n// even if this would have been fine too `searchParams.ಠ_ಠ`\nconst isDefinitelyAValidIdentifier = /^[A-Za-z_$][A-Za-z0-9_$]*$/\n\nexport function describeStringPropertyAccess(target: string, prop: string) {\n if (isDefinitelyAValidIdentifier.test(prop)) {\n return `\\`${target}.${prop}\\``\n }\n return `\\`${target}[${JSON.stringify(prop)}]\\``\n}\n\nexport function describeHasCheckingStringProperty(\n target: string,\n prop: string\n) {\n const stringifiedProp = JSON.stringify(prop)\n return `\\`Reflect.has(${target}, ${stringifiedProp})\\`, \\`${stringifiedProp} in ${target}\\`, or similar`\n}\n\nexport const wellKnownProperties = new Set([\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toString',\n 'valueOf',\n 'toLocaleString',\n\n // Promise prototype\n // fallthrough\n 'then',\n 'catch',\n 'finally',\n\n // React Promise extension\n // fallthrough\n 'status',\n\n // React introspection\n 'displayName',\n\n // Common tested properties\n // fallthrough\n 'toJSON',\n '$$typeof',\n '__esModule',\n])\n"],"names":["isDefinitelyAValidIdentifier","describeStringPropertyAccess","target","prop","test","JSON","stringify","describeHasCheckingStringProperty","stringifiedProp","wellKnownProperties","Set"],"mappings":"AAAA,6EAA6E;AAC7E,iFAAiF;AACjF,0FAA0F;AAC1F,uFAAuF;AACvF,2DAA2D;AAC3D,MAAMA,+BAA+B;AAErC,OAAO,SAASC,6BAA6BC,MAAc,EAAEC,IAAY;IACvE,IAAIH,6BAA6BI,IAAI,CAACD,OAAO;QAC3C,OAAO,AAAC,MAAID,SAAO,MAAGC,OAAK;IAC7B;IACA,OAAO,AAAC,MAAID,SAAO,MAAGG,KAAKC,SAAS,CAACH,QAAM;AAC7C;AAEA,OAAO,SAASI,kCACdL,MAAc,EACdC,IAAY;IAEZ,MAAMK,kBAAkBH,KAAKC,SAAS,CAACH;IACvC,OAAO,AAAC,kBAAgBD,SAAO,OAAIM,kBAAgB,UAASA,kBAAgB,SAAMN,SAAO;AAC3F;AAEA,OAAO,MAAMO,sBAAsB,IAAIC,IAAI;IACzC;IACA;IACA;IACA;IACA;IACA;IAEA,oBAAoB;IACpB,cAAc;IACd;IACA;IACA;IAEA,0BAA0B;IAC1B,cAAc;IACd;IAEA,sBAAsB;IACtB;IAEA,2BAA2B;IAC3B,cAAc;IACd;IACA;IACA;CACD,EAAC"}
|
||||
13
node_modules/next/dist/esm/shared/lib/utils/warn-once.js
generated
vendored
Normal file
13
node_modules/next/dist/esm/shared/lib/utils/warn-once.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
let warnOnce = (_)=>{};
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
const warnings = new Set();
|
||||
warnOnce = (msg)=>{
|
||||
if (!warnings.has(msg)) {
|
||||
console.warn(msg);
|
||||
}
|
||||
warnings.add(msg);
|
||||
};
|
||||
}
|
||||
export { warnOnce };
|
||||
|
||||
//# sourceMappingURL=warn-once.js.map
|
||||
1
node_modules/next/dist/esm/shared/lib/utils/warn-once.js.map
generated
vendored
Normal file
1
node_modules/next/dist/esm/shared/lib/utils/warn-once.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"sources":["../../../../src/shared/lib/utils/warn-once.ts"],"sourcesContent":["let warnOnce = (_: string) => {}\nif (process.env.NODE_ENV !== 'production') {\n const warnings = new Set<string>()\n warnOnce = (msg: string) => {\n if (!warnings.has(msg)) {\n console.warn(msg)\n }\n warnings.add(msg)\n }\n}\n\nexport { warnOnce }\n"],"names":["warnOnce","_","process","env","NODE_ENV","warnings","Set","msg","has","console","warn","add"],"mappings":"AAAA,IAAIA,WAAW,CAACC,KAAe;AAC/B,IAAIC,QAAQC,GAAG,CAACC,QAAQ,KAAK,cAAc;IACzC,MAAMC,WAAW,IAAIC;IACrBN,WAAW,CAACO;QACV,IAAI,CAACF,SAASG,GAAG,CAACD,MAAM;YACtBE,QAAQC,IAAI,CAACH;QACf;QACAF,SAASM,GAAG,CAACJ;IACf;AACF;AAEA,SAASP,QAAQ,GAAE"}
|
||||
Loading…
Add table
Add a link
Reference in a new issue