@absolutejs/absolute 0.19.0-beta.54 → 0.19.0-beta.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.absolutejs/tsconfig.tsbuildinfo +1 -1
- package/.claude/settings.local.json +3 -1
- package/dist/build.js +5 -3
- package/dist/build.js.map +3 -3
- package/dist/index.js +5 -3
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
|
@@ -202,7 +202,9 @@
|
|
|
202
202
|
"Bash(PLAYWRIGHT_BROWSERS_PATH=/tmp/pw-browsers bun /tmp/docs-hmr-test.mjs 2>&1)",
|
|
203
203
|
"Bash(PLAYWRIGHT_BROWSERS_PATH=/tmp/pw-browsers bun /tmp/docs-hmr-test2.mjs 2>&1)",
|
|
204
204
|
"Bash(npm version:*)",
|
|
205
|
-
"Bash(npm publish:*)"
|
|
205
|
+
"Bash(npm publish:*)",
|
|
206
|
+
"Bash(kill 852179)",
|
|
207
|
+
"Bash(sed -i 's/\"\"\"\"@absolutejs\\\\/absolute\"\"\"\": \"\"\"\"0.19.0-beta.53\"\"\"\"/\"\"\"\"@absolutejs\\\\/absolute\"\"\"\": \"\"\"\"0.19.0-beta.54\"\"\"\"/' package.json)"
|
|
206
208
|
]
|
|
207
209
|
}
|
|
208
210
|
}
|
package/dist/build.js
CHANGED
|
@@ -202353,11 +202353,12 @@ __export(exports_moduleServer, {
|
|
|
202353
202353
|
});
|
|
202354
202354
|
import { existsSync as existsSync13, readFileSync as readFileSync9, statSync } from "fs";
|
|
202355
202355
|
import { basename as basename7, dirname as dirname7, extname as extname3, resolve as resolve17, relative as relative7 } from "path";
|
|
202356
|
-
var SRC_PREFIX = "/@src/", jsTranspiler2, tsTranspiler2, tsxTranspiler, TRANSPILABLE, ALL_EXPORTS_RE, preserveTypeExports = (originalSource, transpiled, valueExports) => {
|
|
202356
|
+
var SRC_PREFIX = "/@src/", jsTranspiler2, tsTranspiler2, tsxTranspiler, TRANSPILABLE, ALL_EXPORTS_RE, STRING_CONTENTS_RE, preserveTypeExports = (originalSource, transpiled, valueExports) => {
|
|
202357
|
+
const codeOnly = originalSource.replace(STRING_CONTENTS_RE, '""');
|
|
202357
202358
|
const allExports = [];
|
|
202358
202359
|
let match;
|
|
202359
202360
|
ALL_EXPORTS_RE.lastIndex = 0;
|
|
202360
|
-
while ((match = ALL_EXPORTS_RE.exec(
|
|
202361
|
+
while ((match = ALL_EXPORTS_RE.exec(codeOnly)) !== null) {
|
|
202361
202362
|
if (match[1])
|
|
202362
202363
|
allExports.push(match[1]);
|
|
202363
202364
|
}
|
|
@@ -202891,6 +202892,7 @@ var init_moduleServer = __esm(() => {
|
|
|
202891
202892
|
});
|
|
202892
202893
|
TRANSPILABLE = new Set([".ts", ".tsx", ".js", ".jsx", ".mjs"]);
|
|
202893
202894
|
ALL_EXPORTS_RE = /export\s+(?:type|interface|const|let|var|function|class|enum|abstract\s+class)\s+(\w+)/g;
|
|
202895
|
+
STRING_CONTENTS_RE = /`(?:[^`\\]|\\.)*`|'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"/gs;
|
|
202894
202896
|
REACT_EXTENSIONS = new Set([".tsx", ".jsx"]);
|
|
202895
202897
|
mtimeCache = new Map;
|
|
202896
202898
|
HOOK_NAMES = new Set([
|
|
@@ -204825,5 +204827,5 @@ export {
|
|
|
204825
204827
|
build
|
|
204826
204828
|
};
|
|
204827
204829
|
|
|
204828
|
-
//# debugId=
|
|
204830
|
+
//# debugId=83A1C4631B880B5E64756E2164756E21
|
|
204829
204831
|
//# sourceMappingURL=build.js.map
|