@module-federation/error-codes
Advanced tools
+4
-1
@@ -16,3 +16,6 @@ const require_error_codes = require('./error-codes.cjs'); | ||
| [require_error_codes.RUNTIME_011]: "The remoteEntry URL is missing from the remote snapshot.", | ||
| [require_error_codes.RUNTIME_012]: "The getter for the shared module is not a function. This may be caused by setting \"shared.import: false\" without the host providing the corresponding lib." | ||
| [require_error_codes.RUNTIME_012]: "The getter for the shared module is not a function. This may be caused by setting \"shared.import: false\" without the host providing the corresponding lib.", | ||
| [require_error_codes.RUNTIME_013]: "The manifest is not a valid Module Federation manifest.", | ||
| [require_error_codes.RUNTIME_014]: "The remote does not expose the requested module.", | ||
| [require_error_codes.RUNTIME_015]: "Remote container initialization failed." | ||
| }; | ||
@@ -19,0 +22,0 @@ const typeDescMap = { [require_error_codes.TYPE_001]: "Failed to generate type declaration. Execute the below cmd to reproduce and fix the error." }; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"desc.cjs","names":["RUNTIME_001","RUNTIME_002","RUNTIME_003","RUNTIME_004","RUNTIME_005","RUNTIME_006","RUNTIME_007","RUNTIME_008","RUNTIME_009","RUNTIME_010","RUNTIME_011","RUNTIME_012","TYPE_001","BUILD_001","BUILD_002"],"sources":["../src/desc.ts"],"sourcesContent":["import {\n RUNTIME_001,\n RUNTIME_002,\n RUNTIME_003,\n RUNTIME_004,\n RUNTIME_005,\n RUNTIME_006,\n RUNTIME_007,\n RUNTIME_008,\n RUNTIME_009,\n RUNTIME_010,\n RUNTIME_011,\n RUNTIME_012,\n TYPE_001,\n BUILD_001,\n BUILD_002,\n} from './error-codes';\n\nexport const runtimeDescMap = {\n [RUNTIME_001]: 'Failed to get remoteEntry exports.',\n [RUNTIME_002]: 'The remote entry interface does not contain \"init\"',\n [RUNTIME_003]: 'Failed to get manifest.',\n [RUNTIME_004]: 'Failed to locate remote.',\n [RUNTIME_005]: 'Invalid loadShareSync function call from bundler runtime',\n [RUNTIME_006]: 'Invalid loadShareSync function call from runtime',\n [RUNTIME_007]: 'Failed to get remote snapshot.',\n [RUNTIME_008]: 'Failed to load script resources.',\n [RUNTIME_009]: 'Please call createInstance first.',\n [RUNTIME_010]:\n 'The name option cannot be changed after initialization. If you want to create a new instance with a different name, please use \"createInstance\" api.',\n [RUNTIME_011]: 'The remoteEntry URL is missing from the remote snapshot.',\n [RUNTIME_012]:\n 'The getter for the shared module is not a function. This may be caused by setting \"shared.import: false\" without the host providing the corresponding lib.',\n};\n\nexport const typeDescMap = {\n [TYPE_001]:\n 'Failed to generate type declaration. Execute the below cmd to reproduce and fix the error.',\n};\n\nexport const buildDescMap = {\n [BUILD_001]: 'Failed to find expose module.',\n [BUILD_002]: 'PublicPath is required in prod mode.',\n};\n\nexport const errorDescMap = {\n ...runtimeDescMap,\n ...typeDescMap,\n ...buildDescMap,\n};\n"],"mappings":";;;AAkBA,MAAa,iBAAiB;EAC3BA,kCAAc;EACdC,kCAAc;EACdC,kCAAc;EACdC,kCAAc;EACdC,kCAAc;EACdC,kCAAc;EACdC,kCAAc;EACdC,kCAAc;EACdC,kCAAc;EACdC,kCACC;EACDC,kCAAc;EACdC,kCACC;CACH;AAED,MAAa,cAAc,GACxBC,+BACC,8FACH;AAED,MAAa,eAAe;EACzBC,gCAAY;EACZC,gCAAY;CACd;AAED,MAAa,eAAe;CAC1B,GAAG;CACH,GAAG;CACH,GAAG;CACJ"} | ||
| {"version":3,"file":"desc.cjs","names":["RUNTIME_001","RUNTIME_002","RUNTIME_003","RUNTIME_004","RUNTIME_005","RUNTIME_006","RUNTIME_007","RUNTIME_008","RUNTIME_009","RUNTIME_010","RUNTIME_011","RUNTIME_012","RUNTIME_013","RUNTIME_014","RUNTIME_015","TYPE_001","BUILD_001","BUILD_002"],"sources":["../src/desc.ts"],"sourcesContent":["import {\n RUNTIME_001,\n RUNTIME_002,\n RUNTIME_003,\n RUNTIME_004,\n RUNTIME_005,\n RUNTIME_006,\n RUNTIME_007,\n RUNTIME_008,\n RUNTIME_009,\n RUNTIME_010,\n RUNTIME_011,\n RUNTIME_012,\n RUNTIME_013,\n RUNTIME_014,\n RUNTIME_015,\n TYPE_001,\n BUILD_001,\n BUILD_002,\n} from './error-codes';\n\nexport const runtimeDescMap = {\n [RUNTIME_001]: 'Failed to get remoteEntry exports.',\n [RUNTIME_002]: 'The remote entry interface does not contain \"init\"',\n [RUNTIME_003]: 'Failed to get manifest.',\n [RUNTIME_004]: 'Failed to locate remote.',\n [RUNTIME_005]: 'Invalid loadShareSync function call from bundler runtime',\n [RUNTIME_006]: 'Invalid loadShareSync function call from runtime',\n [RUNTIME_007]: 'Failed to get remote snapshot.',\n [RUNTIME_008]: 'Failed to load script resources.',\n [RUNTIME_009]: 'Please call createInstance first.',\n [RUNTIME_010]:\n 'The name option cannot be changed after initialization. If you want to create a new instance with a different name, please use \"createInstance\" api.',\n [RUNTIME_011]: 'The remoteEntry URL is missing from the remote snapshot.',\n [RUNTIME_012]:\n 'The getter for the shared module is not a function. This may be caused by setting \"shared.import: false\" without the host providing the corresponding lib.',\n [RUNTIME_013]: 'The manifest is not a valid Module Federation manifest.',\n [RUNTIME_014]: 'The remote does not expose the requested module.',\n [RUNTIME_015]: 'Remote container initialization failed.',\n};\n\nexport const typeDescMap = {\n [TYPE_001]:\n 'Failed to generate type declaration. Execute the below cmd to reproduce and fix the error.',\n};\n\nexport const buildDescMap = {\n [BUILD_001]: 'Failed to find expose module.',\n [BUILD_002]: 'PublicPath is required in prod mode.',\n};\n\nexport const errorDescMap = {\n ...runtimeDescMap,\n ...typeDescMap,\n ...buildDescMap,\n};\n"],"mappings":";;;AAqBA,MAAa,iBAAiB;EAC3BA,kCAAc;EACdC,kCAAc;EACdC,kCAAc;EACdC,kCAAc;EACdC,kCAAc;EACdC,kCAAc;EACdC,kCAAc;EACdC,kCAAc;EACdC,kCAAc;EACdC,kCACC;EACDC,kCAAc;EACdC,kCACC;EACDC,kCAAc;EACdC,kCAAc;EACdC,kCAAc;CAChB;AAED,MAAa,cAAc,GACxBC,+BACC,8FACH;AAED,MAAa,eAAe;EACzBC,gCAAY;EACZC,gCAAY;CACd;AAED,MAAa,eAAe;CAC1B,GAAG;CACH,GAAG;CACH,GAAG;CACJ"} |
+6
-0
@@ -15,2 +15,5 @@ //#region src/desc.d.ts | ||
| "RUNTIME-012": string; | ||
| "RUNTIME-013": string; | ||
| "RUNTIME-014": string; | ||
| "RUNTIME-015": string; | ||
| }; | ||
@@ -40,2 +43,5 @@ declare const typeDescMap: { | ||
| "RUNTIME-012": string; | ||
| "RUNTIME-013": string; | ||
| "RUNTIME-014": string; | ||
| "RUNTIME-015": string; | ||
| }; | ||
@@ -42,0 +48,0 @@ //#endregion |
+6
-0
@@ -15,2 +15,5 @@ //#region src/desc.d.ts | ||
| "RUNTIME-012": string; | ||
| "RUNTIME-013": string; | ||
| "RUNTIME-014": string; | ||
| "RUNTIME-015": string; | ||
| }; | ||
@@ -40,2 +43,5 @@ declare const typeDescMap: { | ||
| "RUNTIME-012": string; | ||
| "RUNTIME-013": string; | ||
| "RUNTIME-014": string; | ||
| "RUNTIME-015": string; | ||
| }; | ||
@@ -42,0 +48,0 @@ //#endregion |
+5
-2
@@ -1,2 +0,2 @@ | ||
| import { BUILD_001, BUILD_002, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, TYPE_001 } from "./error-codes.mjs"; | ||
| import { BUILD_001, BUILD_002, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, RUNTIME_013, RUNTIME_014, RUNTIME_015, TYPE_001 } from "./error-codes.mjs"; | ||
@@ -16,3 +16,6 @@ //#region src/desc.ts | ||
| [RUNTIME_011]: "The remoteEntry URL is missing from the remote snapshot.", | ||
| [RUNTIME_012]: "The getter for the shared module is not a function. This may be caused by setting \"shared.import: false\" without the host providing the corresponding lib." | ||
| [RUNTIME_012]: "The getter for the shared module is not a function. This may be caused by setting \"shared.import: false\" without the host providing the corresponding lib.", | ||
| [RUNTIME_013]: "The manifest is not a valid Module Federation manifest.", | ||
| [RUNTIME_014]: "The remote does not expose the requested module.", | ||
| [RUNTIME_015]: "Remote container initialization failed." | ||
| }; | ||
@@ -19,0 +22,0 @@ const typeDescMap = { [TYPE_001]: "Failed to generate type declaration. Execute the below cmd to reproduce and fix the error." }; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"desc.mjs","names":[],"sources":["../src/desc.ts"],"sourcesContent":["import {\n RUNTIME_001,\n RUNTIME_002,\n RUNTIME_003,\n RUNTIME_004,\n RUNTIME_005,\n RUNTIME_006,\n RUNTIME_007,\n RUNTIME_008,\n RUNTIME_009,\n RUNTIME_010,\n RUNTIME_011,\n RUNTIME_012,\n TYPE_001,\n BUILD_001,\n BUILD_002,\n} from './error-codes';\n\nexport const runtimeDescMap = {\n [RUNTIME_001]: 'Failed to get remoteEntry exports.',\n [RUNTIME_002]: 'The remote entry interface does not contain \"init\"',\n [RUNTIME_003]: 'Failed to get manifest.',\n [RUNTIME_004]: 'Failed to locate remote.',\n [RUNTIME_005]: 'Invalid loadShareSync function call from bundler runtime',\n [RUNTIME_006]: 'Invalid loadShareSync function call from runtime',\n [RUNTIME_007]: 'Failed to get remote snapshot.',\n [RUNTIME_008]: 'Failed to load script resources.',\n [RUNTIME_009]: 'Please call createInstance first.',\n [RUNTIME_010]:\n 'The name option cannot be changed after initialization. If you want to create a new instance with a different name, please use \"createInstance\" api.',\n [RUNTIME_011]: 'The remoteEntry URL is missing from the remote snapshot.',\n [RUNTIME_012]:\n 'The getter for the shared module is not a function. This may be caused by setting \"shared.import: false\" without the host providing the corresponding lib.',\n};\n\nexport const typeDescMap = {\n [TYPE_001]:\n 'Failed to generate type declaration. Execute the below cmd to reproduce and fix the error.',\n};\n\nexport const buildDescMap = {\n [BUILD_001]: 'Failed to find expose module.',\n [BUILD_002]: 'PublicPath is required in prod mode.',\n};\n\nexport const errorDescMap = {\n ...runtimeDescMap,\n ...typeDescMap,\n ...buildDescMap,\n};\n"],"mappings":";;;AAkBA,MAAa,iBAAiB;EAC3B,cAAc;EACd,cAAc;EACd,cAAc;EACd,cAAc;EACd,cAAc;EACd,cAAc;EACd,cAAc;EACd,cAAc;EACd,cAAc;EACd,cACC;EACD,cAAc;EACd,cACC;CACH;AAED,MAAa,cAAc,GACxB,WACC,8FACH;AAED,MAAa,eAAe;EACzB,YAAY;EACZ,YAAY;CACd;AAED,MAAa,eAAe;CAC1B,GAAG;CACH,GAAG;CACH,GAAG;CACJ"} | ||
| {"version":3,"file":"desc.mjs","names":[],"sources":["../src/desc.ts"],"sourcesContent":["import {\n RUNTIME_001,\n RUNTIME_002,\n RUNTIME_003,\n RUNTIME_004,\n RUNTIME_005,\n RUNTIME_006,\n RUNTIME_007,\n RUNTIME_008,\n RUNTIME_009,\n RUNTIME_010,\n RUNTIME_011,\n RUNTIME_012,\n RUNTIME_013,\n RUNTIME_014,\n RUNTIME_015,\n TYPE_001,\n BUILD_001,\n BUILD_002,\n} from './error-codes';\n\nexport const runtimeDescMap = {\n [RUNTIME_001]: 'Failed to get remoteEntry exports.',\n [RUNTIME_002]: 'The remote entry interface does not contain \"init\"',\n [RUNTIME_003]: 'Failed to get manifest.',\n [RUNTIME_004]: 'Failed to locate remote.',\n [RUNTIME_005]: 'Invalid loadShareSync function call from bundler runtime',\n [RUNTIME_006]: 'Invalid loadShareSync function call from runtime',\n [RUNTIME_007]: 'Failed to get remote snapshot.',\n [RUNTIME_008]: 'Failed to load script resources.',\n [RUNTIME_009]: 'Please call createInstance first.',\n [RUNTIME_010]:\n 'The name option cannot be changed after initialization. If you want to create a new instance with a different name, please use \"createInstance\" api.',\n [RUNTIME_011]: 'The remoteEntry URL is missing from the remote snapshot.',\n [RUNTIME_012]:\n 'The getter for the shared module is not a function. This may be caused by setting \"shared.import: false\" without the host providing the corresponding lib.',\n [RUNTIME_013]: 'The manifest is not a valid Module Federation manifest.',\n [RUNTIME_014]: 'The remote does not expose the requested module.',\n [RUNTIME_015]: 'Remote container initialization failed.',\n};\n\nexport const typeDescMap = {\n [TYPE_001]:\n 'Failed to generate type declaration. Execute the below cmd to reproduce and fix the error.',\n};\n\nexport const buildDescMap = {\n [BUILD_001]: 'Failed to find expose module.',\n [BUILD_002]: 'PublicPath is required in prod mode.',\n};\n\nexport const errorDescMap = {\n ...runtimeDescMap,\n ...typeDescMap,\n ...buildDescMap,\n};\n"],"mappings":";;;AAqBA,MAAa,iBAAiB;EAC3B,cAAc;EACd,cAAc;EACd,cAAc;EACd,cAAc;EACd,cAAc;EACd,cAAc;EACd,cAAc;EACd,cAAc;EACd,cAAc;EACd,cACC;EACD,cAAc;EACd,cACC;EACD,cAAc;EACd,cAAc;EACd,cAAc;CAChB;AAED,MAAa,cAAc,GACxB,WACC,8FACH;AAED,MAAa,eAAe;EACzB,YAAY;EACZ,YAAY;CACd;AAED,MAAa,eAAe;CAC1B,GAAG;CACH,GAAG;CACH,GAAG;CACJ"} |
@@ -15,2 +15,5 @@ | ||
| const RUNTIME_012 = "RUNTIME-012"; | ||
| const RUNTIME_013 = "RUNTIME-013"; | ||
| const RUNTIME_014 = "RUNTIME-014"; | ||
| const RUNTIME_015 = "RUNTIME-015"; | ||
| const TYPE_001 = "TYPE-001"; | ||
@@ -35,3 +38,6 @@ const BUILD_001 = "BUILD-001"; | ||
| exports.RUNTIME_012 = RUNTIME_012; | ||
| exports.RUNTIME_013 = RUNTIME_013; | ||
| exports.RUNTIME_014 = RUNTIME_014; | ||
| exports.RUNTIME_015 = RUNTIME_015; | ||
| exports.TYPE_001 = TYPE_001; | ||
| //# sourceMappingURL=error-codes.cjs.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"error-codes.cjs","names":[],"sources":["../src/error-codes.ts"],"sourcesContent":["export const RUNTIME_001 = 'RUNTIME-001';\nexport const RUNTIME_002 = 'RUNTIME-002';\nexport const RUNTIME_003 = 'RUNTIME-003';\nexport const RUNTIME_004 = 'RUNTIME-004';\nexport const RUNTIME_005 = 'RUNTIME-005';\nexport const RUNTIME_006 = 'RUNTIME-006';\nexport const RUNTIME_007 = 'RUNTIME-007';\nexport const RUNTIME_008 = 'RUNTIME-008';\nexport const RUNTIME_009 = 'RUNTIME-009';\nexport const RUNTIME_010 = 'RUNTIME-010';\nexport const RUNTIME_011 = 'RUNTIME-011';\nexport const RUNTIME_012 = 'RUNTIME-012';\n\nexport const TYPE_001 = 'TYPE-001';\nexport const BUILD_001 = 'BUILD-001';\nexport const BUILD_002 = 'BUILD-002';\n"],"mappings":";;AAAA,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAE3B,MAAa,WAAW;AACxB,MAAa,YAAY;AACzB,MAAa,YAAY"} | ||
| {"version":3,"file":"error-codes.cjs","names":[],"sources":["../src/error-codes.ts"],"sourcesContent":["export const RUNTIME_001 = 'RUNTIME-001';\nexport const RUNTIME_002 = 'RUNTIME-002';\nexport const RUNTIME_003 = 'RUNTIME-003';\nexport const RUNTIME_004 = 'RUNTIME-004';\nexport const RUNTIME_005 = 'RUNTIME-005';\nexport const RUNTIME_006 = 'RUNTIME-006';\nexport const RUNTIME_007 = 'RUNTIME-007';\nexport const RUNTIME_008 = 'RUNTIME-008';\nexport const RUNTIME_009 = 'RUNTIME-009';\nexport const RUNTIME_010 = 'RUNTIME-010';\nexport const RUNTIME_011 = 'RUNTIME-011';\nexport const RUNTIME_012 = 'RUNTIME-012';\nexport const RUNTIME_013 = 'RUNTIME-013';\nexport const RUNTIME_014 = 'RUNTIME-014';\nexport const RUNTIME_015 = 'RUNTIME-015';\n\nexport const TYPE_001 = 'TYPE-001';\nexport const BUILD_001 = 'BUILD-001';\nexport const BUILD_002 = 'BUILD-002';\n"],"mappings":";;AAAA,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAE3B,MAAa,WAAW;AACxB,MAAa,YAAY;AACzB,MAAa,YAAY"} |
@@ -14,2 +14,5 @@ //#region src/error-codes.d.ts | ||
| declare const RUNTIME_012 = "RUNTIME-012"; | ||
| declare const RUNTIME_013 = "RUNTIME-013"; | ||
| declare const RUNTIME_014 = "RUNTIME-014"; | ||
| declare const RUNTIME_015 = "RUNTIME-015"; | ||
| declare const TYPE_001 = "TYPE-001"; | ||
@@ -19,3 +22,3 @@ declare const BUILD_001 = "BUILD-001"; | ||
| //#endregion | ||
| export { BUILD_001, BUILD_002, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, TYPE_001 }; | ||
| export { BUILD_001, BUILD_002, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, RUNTIME_013, RUNTIME_014, RUNTIME_015, TYPE_001 }; | ||
| //# sourceMappingURL=error-codes.d.mts.map |
@@ -14,2 +14,5 @@ //#region src/error-codes.d.ts | ||
| declare const RUNTIME_012 = "RUNTIME-012"; | ||
| declare const RUNTIME_013 = "RUNTIME-013"; | ||
| declare const RUNTIME_014 = "RUNTIME-014"; | ||
| declare const RUNTIME_015 = "RUNTIME-015"; | ||
| declare const TYPE_001 = "TYPE-001"; | ||
@@ -19,3 +22,3 @@ declare const BUILD_001 = "BUILD-001"; | ||
| //#endregion | ||
| export { BUILD_001, BUILD_002, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, TYPE_001 }; | ||
| export { BUILD_001, BUILD_002, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, RUNTIME_013, RUNTIME_014, RUNTIME_015, TYPE_001 }; | ||
| //# sourceMappingURL=error-codes.d.ts.map |
@@ -14,2 +14,5 @@ //#region src/error-codes.ts | ||
| const RUNTIME_012 = "RUNTIME-012"; | ||
| const RUNTIME_013 = "RUNTIME-013"; | ||
| const RUNTIME_014 = "RUNTIME-014"; | ||
| const RUNTIME_015 = "RUNTIME-015"; | ||
| const TYPE_001 = "TYPE-001"; | ||
@@ -20,3 +23,3 @@ const BUILD_001 = "BUILD-001"; | ||
| //#endregion | ||
| export { BUILD_001, BUILD_002, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, TYPE_001 }; | ||
| export { BUILD_001, BUILD_002, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, RUNTIME_013, RUNTIME_014, RUNTIME_015, TYPE_001 }; | ||
| //# sourceMappingURL=error-codes.mjs.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"error-codes.mjs","names":[],"sources":["../src/error-codes.ts"],"sourcesContent":["export const RUNTIME_001 = 'RUNTIME-001';\nexport const RUNTIME_002 = 'RUNTIME-002';\nexport const RUNTIME_003 = 'RUNTIME-003';\nexport const RUNTIME_004 = 'RUNTIME-004';\nexport const RUNTIME_005 = 'RUNTIME-005';\nexport const RUNTIME_006 = 'RUNTIME-006';\nexport const RUNTIME_007 = 'RUNTIME-007';\nexport const RUNTIME_008 = 'RUNTIME-008';\nexport const RUNTIME_009 = 'RUNTIME-009';\nexport const RUNTIME_010 = 'RUNTIME-010';\nexport const RUNTIME_011 = 'RUNTIME-011';\nexport const RUNTIME_012 = 'RUNTIME-012';\n\nexport const TYPE_001 = 'TYPE-001';\nexport const BUILD_001 = 'BUILD-001';\nexport const BUILD_002 = 'BUILD-002';\n"],"mappings":";AAAA,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAE3B,MAAa,WAAW;AACxB,MAAa,YAAY;AACzB,MAAa,YAAY"} | ||
| {"version":3,"file":"error-codes.mjs","names":[],"sources":["../src/error-codes.ts"],"sourcesContent":["export const RUNTIME_001 = 'RUNTIME-001';\nexport const RUNTIME_002 = 'RUNTIME-002';\nexport const RUNTIME_003 = 'RUNTIME-003';\nexport const RUNTIME_004 = 'RUNTIME-004';\nexport const RUNTIME_005 = 'RUNTIME-005';\nexport const RUNTIME_006 = 'RUNTIME-006';\nexport const RUNTIME_007 = 'RUNTIME-007';\nexport const RUNTIME_008 = 'RUNTIME-008';\nexport const RUNTIME_009 = 'RUNTIME-009';\nexport const RUNTIME_010 = 'RUNTIME-010';\nexport const RUNTIME_011 = 'RUNTIME-011';\nexport const RUNTIME_012 = 'RUNTIME-012';\nexport const RUNTIME_013 = 'RUNTIME-013';\nexport const RUNTIME_014 = 'RUNTIME-014';\nexport const RUNTIME_015 = 'RUNTIME-015';\n\nexport const TYPE_001 = 'TYPE-001';\nexport const BUILD_001 = 'BUILD-001';\nexport const BUILD_002 = 'BUILD-002';\n"],"mappings":";AAAA,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAE3B,MAAa,WAAW;AACxB,MAAa,YAAY;AACzB,MAAa,YAAY"} |
+3
-0
@@ -20,2 +20,5 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | ||
| exports.RUNTIME_012 = require_error_codes.RUNTIME_012; | ||
| exports.RUNTIME_013 = require_error_codes.RUNTIME_013; | ||
| exports.RUNTIME_014 = require_error_codes.RUNTIME_014; | ||
| exports.RUNTIME_015 = require_error_codes.RUNTIME_015; | ||
| exports.TYPE_001 = require_error_codes.TYPE_001; | ||
@@ -22,0 +25,0 @@ exports.buildDescMap = require_desc.buildDescMap; |
+2
-2
| import { BundlerName, MFBuildArtifacts, MFBundlerInfo, MFConfigInfo, MFContext, MFEnvironmentInfo, MFLatestErrorEvent, MFProjectInfo, MFRemoteEntry, MFRole, MFSharedEntry, PackageManager } from "./MFContext.mjs"; | ||
| import { BUILD_001, BUILD_002, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, TYPE_001 } from "./error-codes.mjs"; | ||
| import { BUILD_001, BUILD_002, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, RUNTIME_013, RUNTIME_014, RUNTIME_015, TYPE_001 } from "./error-codes.mjs"; | ||
| import { getShortErrorMsg } from "./getShortErrorMsg.mjs"; | ||
| import { buildDescMap, errorDescMap, runtimeDescMap, typeDescMap } from "./desc.mjs"; | ||
| export { BUILD_001, BUILD_002, type BundlerName, type MFBuildArtifacts, type MFBundlerInfo, type MFConfigInfo, type MFContext, type MFEnvironmentInfo, type MFLatestErrorEvent, type MFProjectInfo, type MFRemoteEntry, type MFRole, type MFSharedEntry, type PackageManager, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, TYPE_001, buildDescMap, errorDescMap, getShortErrorMsg, runtimeDescMap, typeDescMap }; | ||
| export { BUILD_001, BUILD_002, type BundlerName, type MFBuildArtifacts, type MFBundlerInfo, type MFConfigInfo, type MFContext, type MFEnvironmentInfo, type MFLatestErrorEvent, type MFProjectInfo, type MFRemoteEntry, type MFRole, type MFSharedEntry, type PackageManager, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, RUNTIME_013, RUNTIME_014, RUNTIME_015, TYPE_001, buildDescMap, errorDescMap, getShortErrorMsg, runtimeDescMap, typeDescMap }; |
+2
-2
| import { BundlerName, MFBuildArtifacts, MFBundlerInfo, MFConfigInfo, MFContext, MFEnvironmentInfo, MFLatestErrorEvent, MFProjectInfo, MFRemoteEntry, MFRole, MFSharedEntry, PackageManager } from "./MFContext.js"; | ||
| import { BUILD_001, BUILD_002, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, TYPE_001 } from "./error-codes.js"; | ||
| import { BUILD_001, BUILD_002, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, RUNTIME_013, RUNTIME_014, RUNTIME_015, TYPE_001 } from "./error-codes.js"; | ||
| import { getShortErrorMsg } from "./getShortErrorMsg.js"; | ||
| import { buildDescMap, errorDescMap, runtimeDescMap, typeDescMap } from "./desc.js"; | ||
| export { BUILD_001, BUILD_002, type BundlerName, type MFBuildArtifacts, type MFBundlerInfo, type MFConfigInfo, type MFContext, type MFEnvironmentInfo, type MFLatestErrorEvent, type MFProjectInfo, type MFRemoteEntry, type MFRole, type MFSharedEntry, type PackageManager, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, TYPE_001, buildDescMap, errorDescMap, getShortErrorMsg, runtimeDescMap, typeDescMap }; | ||
| export { BUILD_001, BUILD_002, type BundlerName, type MFBuildArtifacts, type MFBundlerInfo, type MFConfigInfo, type MFContext, type MFEnvironmentInfo, type MFLatestErrorEvent, type MFProjectInfo, type MFRemoteEntry, type MFRole, type MFSharedEntry, type PackageManager, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, RUNTIME_013, RUNTIME_014, RUNTIME_015, TYPE_001, buildDescMap, errorDescMap, getShortErrorMsg, runtimeDescMap, typeDescMap }; |
+2
-2
@@ -1,5 +0,5 @@ | ||
| import { BUILD_001, BUILD_002, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, TYPE_001 } from "./error-codes.mjs"; | ||
| import { BUILD_001, BUILD_002, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, RUNTIME_013, RUNTIME_014, RUNTIME_015, TYPE_001 } from "./error-codes.mjs"; | ||
| import { getShortErrorMsg } from "./getShortErrorMsg.mjs"; | ||
| import { buildDescMap, errorDescMap, runtimeDescMap, typeDescMap } from "./desc.mjs"; | ||
| export { BUILD_001, BUILD_002, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, TYPE_001, buildDescMap, errorDescMap, getShortErrorMsg, runtimeDescMap, typeDescMap }; | ||
| export { BUILD_001, BUILD_002, RUNTIME_001, RUNTIME_002, RUNTIME_003, RUNTIME_004, RUNTIME_005, RUNTIME_006, RUNTIME_007, RUNTIME_008, RUNTIME_009, RUNTIME_010, RUNTIME_011, RUNTIME_012, RUNTIME_013, RUNTIME_014, RUNTIME_015, TYPE_001, buildDescMap, errorDescMap, getShortErrorMsg, runtimeDescMap, typeDescMap }; |
@@ -51,3 +51,3 @@ //#region src/MFContext.d.ts | ||
| } | ||
| /** Most recent diagnostic event (from .mf/diagnostics/latest.json) */ | ||
| /** Most recent observability event (from .mf/observability/latest.json) */ | ||
| interface MFLatestErrorEvent { | ||
@@ -54,0 +54,0 @@ code: string; |
@@ -51,3 +51,3 @@ //#region src/MFContext.d.ts | ||
| } | ||
| /** Most recent diagnostic event (from .mf/diagnostics/latest.json) */ | ||
| /** Most recent observability event (from .mf/observability/latest.json) */ | ||
| interface MFLatestErrorEvent { | ||
@@ -54,0 +54,0 @@ code: string; |
+1
-1
@@ -7,3 +7,3 @@ { | ||
| "sideEffects": false, | ||
| "version": "2.4.0", | ||
| "version": "2.5.0", | ||
| "license": "MIT", | ||
@@ -10,0 +10,0 @@ "repository": { |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
45182
6.8%447
6.43%