@micro-lc/preview 0.5.2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +28 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +2 -0
- package/package.json +24 -11
- package/website/.vite/manifest.json +18 -0
- package/website/assets/errors-xGUFKyGs.js +1 -0
- package/website/assets/index-AYPpxqPP.css +1 -0
- package/website/assets/index-R8L7d4ZR.js +95 -0
- package/website/development/.vite/manifest.json +18 -0
- package/website/development/assets/errors-PsWGnPGW.js +23 -0
- package/website/development/assets/index--zmXJhVL.js +68630 -0
- package/website/development/assets/index-NQ4PJ7wv.css +96 -0
- package/website/development/index.html +2 -2
- package/website/development/service-worker.js +54 -54
- package/website/index.html +2 -2
- package/website/service-worker.js +2 -2
- package/website/assets/errors-af3a2945.js +0 -1
- package/website/assets/index-51922652.js +0 -19
- package/website/development/assets/errors-5a0ccde7.js +0 -23
- package/website/development/assets/index-d2f4fff8.js +0 -6785
- package/website/development/manifest.json +0 -15
- package/website/manifest.json +0 -15
@@ -0,0 +1,18 @@
|
|
1
|
+
{
|
2
|
+
"../../node_modules/@micro-lc/composer/dist/lib/logger/errors.js": {
|
3
|
+
"file": "assets/errors-PsWGnPGW.js",
|
4
|
+
"isDynamicEntry": true,
|
5
|
+
"src": "../../node_modules/@micro-lc/composer/dist/lib/logger/errors.js"
|
6
|
+
},
|
7
|
+
"index.html": {
|
8
|
+
"css": [
|
9
|
+
"assets/index-NQ4PJ7wv.css"
|
10
|
+
],
|
11
|
+
"dynamicImports": [
|
12
|
+
"../../node_modules/@micro-lc/composer/dist/lib/logger/errors.js"
|
13
|
+
],
|
14
|
+
"file": "assets/index--zmXJhVL.js",
|
15
|
+
"isEntry": true,
|
16
|
+
"src": "index.html"
|
17
|
+
}
|
18
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
var ErrorCodes = /* @__PURE__ */ ((ErrorCodes2) => {
|
2
|
+
ErrorCodes2["DynamicImportError"] = "0";
|
3
|
+
ErrorCodes2["InvalidJSONError"] = "20";
|
4
|
+
ErrorCodes2["DigestError"] = "40";
|
5
|
+
ErrorCodes2["LexerAnalysisEndedInNormalMode"] = "41";
|
6
|
+
ErrorCodes2["InterpolationContextError"] = "42";
|
7
|
+
ErrorCodes2["InterpolationJSONError"] = "43";
|
8
|
+
return ErrorCodes2;
|
9
|
+
})(ErrorCodes || {});
|
10
|
+
const COMPOSER = "[micro-lc][composer]";
|
11
|
+
const errorMap = {
|
12
|
+
0: (name, err) => "".concat(COMPOSER, ": Dynamic import error while importing ").concat(name, " - ").concat(err),
|
13
|
+
20: (file) => "".concat(COMPOSER, ": Provided JSON is invalid / Wrong 'Content-Type' was provided - ").concat(file),
|
14
|
+
40: (content, err) => "".concat(COMPOSER, ": Something went wrong while hashing content ").concat(content, " - ").concat(err),
|
15
|
+
41: (content, index) => "".concat(COMPOSER, ": Lexer could not parse content ").concat(content, ' due to unexpected char "}" at position ').concat(index),
|
16
|
+
42: (input) => "".concat(COMPOSER, ": Invalid interpolation sequence of keys on input ").concat(input),
|
17
|
+
43: (err) => "".concat(COMPOSER, ": Invalid interpolation sequence while parsing a JSON input - ").concat(err)
|
18
|
+
};
|
19
|
+
var errors_default = errorMap;
|
20
|
+
export {
|
21
|
+
ErrorCodes,
|
22
|
+
errors_default as default
|
23
|
+
};
|