@nudojs/core 1.10.0 → 1.10.2
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/dist/{chunk-HX4IEPRI.js → chunk-GHFGZ6PZ.js} +1 -1
- package/dist/{chunk-YREYFITQ.js → chunk-VKSROGOF.js} +15753 -15714
- package/dist/exec.d.ts +15 -7
- package/dist/exec.js +1 -1
- package/dist/index.js +2 -2
- package/dist/internal.js +2 -2
- package/package.json +4 -4
package/dist/exec.d.ts
CHANGED
|
@@ -181,16 +181,9 @@ declare function $join(a: Abs, b: Abs): Abs;
|
|
|
181
181
|
* 访问器(get/set)侧表、in / instanceof / delete 路由。
|
|
182
182
|
*/
|
|
183
183
|
|
|
184
|
-
/** 注册对象字面量访问器(transpile 调用;返回原 obj 以便链式包裹) */
|
|
185
|
-
declare function $objAccessor(o: Abs, key: string, get: ((t: Abs) => Abs) | null, set: ((t: Abs, v: Abs) => Abs) | null): Abs;
|
|
186
184
|
/** 计算键访问器注册(`{ get [expr]() {} }`):键为 Abs,ToPropertyKey 后注册。
|
|
187
185
|
* 非字面量键无法静态定键——保占位槽(键存在性),不注册派发。 */
|
|
188
186
|
declare function $objAccessorKey(o: Abs, key: Abs, get: ((t: Abs) => Abs) | null, set: ((t: Abs, v: Abs) => Abs) | null): Abs;
|
|
189
|
-
/** 对象字面量访问器查询(供 $get/$set/$spread/Object.assign 共用) */
|
|
190
|
-
declare function lookupObjAccessor(o: Abs, key: string): {
|
|
191
|
-
get?: (t: Abs) => Abs;
|
|
192
|
-
set?: (t: Abs, v: Abs) => Abs;
|
|
193
|
-
} | undefined;
|
|
194
187
|
/**
|
|
195
188
|
* `key in obj`:闭形状精确判定(含 Object.prototype/Array.prototype 名、
|
|
196
189
|
* 数组下标/length、class 方法/访问器与内建 brand 方法/访问器);
|
|
@@ -226,6 +219,21 @@ declare function $delRes(o: Abs, _key: Abs): Abs;
|
|
|
226
219
|
*/
|
|
227
220
|
declare function $del(o: Abs, key: Abs): Abs;
|
|
228
221
|
|
|
222
|
+
/**
|
|
223
|
+
* 对象字面量访问器(get/set)侧表 —— 叶子模块。
|
|
224
|
+
* 下沉原因:objects.ts 的 joinObjects 需感知访问器(join 不迁移侧表会丢
|
|
225
|
+
* getter 读域),而 members.ts 依赖 objects.ts;表放无运行时依赖的叶子上
|
|
226
|
+
* 才能被两层共用而不成环。in / instanceof / delete 路由仍在 members.ts。
|
|
227
|
+
*/
|
|
228
|
+
|
|
229
|
+
/** 注册对象字面量访问器(transpile 调用;返回原 obj 以便链式包裹) */
|
|
230
|
+
declare function $objAccessor(o: Abs, key: string, get: ((t: Abs) => Abs) | null, set: ((t: Abs, v: Abs) => Abs) | null): Abs;
|
|
231
|
+
/** 对象字面量访问器查询(供 $get/$set/$spread/Object.assign 共用) */
|
|
232
|
+
declare function lookupObjAccessor(o: Abs, key: string): {
|
|
233
|
+
get?: (t: Abs) => Abs;
|
|
234
|
+
set?: (t: Abs, v: Abs) => Abs;
|
|
235
|
+
} | undefined;
|
|
236
|
+
|
|
229
237
|
/**
|
|
230
238
|
* 循环展开上限(leaf)—— 从 control.ts 拆出,打断 control ↔ containers 环。
|
|
231
239
|
*/
|
package/dist/exec.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
takeInterfaceDiagsSince,
|
|
65
65
|
takeRefineDiags,
|
|
66
66
|
takeRefineDiagsSince
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-GHFGZ6PZ.js";
|
|
68
68
|
import {
|
|
69
69
|
$add,
|
|
70
70
|
$arguments,
|
|
@@ -522,7 +522,7 @@ import {
|
|
|
522
522
|
v,
|
|
523
523
|
withExecPhi,
|
|
524
524
|
withVar
|
|
525
|
-
} from "./chunk-
|
|
525
|
+
} from "./chunk-VKSROGOF.js";
|
|
526
526
|
|
|
527
527
|
// src/environment.ts
|
|
528
528
|
function createEnvironment(parent, bindings = /* @__PURE__ */ new Map()) {
|
package/dist/internal.js
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
stableAnalyzeKeySource,
|
|
22
22
|
stablePathKey,
|
|
23
23
|
stablePathKeyGraph
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GHFGZ6PZ.js";
|
|
25
25
|
import {
|
|
26
26
|
$tryDigestSoft,
|
|
27
27
|
$tryMarkSoft,
|
|
@@ -169,7 +169,7 @@ import {
|
|
|
169
169
|
withEvalBudgetOverride,
|
|
170
170
|
withFnBudgetOverride,
|
|
171
171
|
wrapPromise
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-VKSROGOF.js";
|
|
173
173
|
|
|
174
174
|
// src/algebra/inlay.ts
|
|
175
175
|
function listFunctions(source) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nudojs/core",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.2",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=20"
|
|
6
6
|
},
|
|
@@ -46,10 +46,11 @@
|
|
|
46
46
|
"registry": "https://registry.npmjs.org"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@babel/parser": "^8.0.
|
|
49
|
+
"@babel/parser": "^8.0.7",
|
|
50
50
|
"@babel/types": "^8.0.6"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
+
"@types/node": "^26.6.5",
|
|
53
54
|
"commander": "^15.0.0",
|
|
54
55
|
"debug": "^4.4.3",
|
|
55
56
|
"escape-string-regexp": "^5.0.0",
|
|
@@ -59,8 +60,7 @@
|
|
|
59
60
|
"lodash": "^4.18.1",
|
|
60
61
|
"ms": "^2.1.3",
|
|
61
62
|
"p-limit": "^7.3.3",
|
|
62
|
-
"yocto-queue": "^1.2.2"
|
|
63
|
-
"@types/node": "^26.6.3"
|
|
63
|
+
"yocto-queue": "^1.2.2"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build": "tsup"
|