@nudojs/core 1.6.0 → 1.7.0

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.
@@ -5250,7 +5250,7 @@ function scanLiteralCalls(source, knownFns, phi, opts) {
5250
5250
  if (absArg.shape.k === "unknown" && !absArg.term) return;
5251
5251
  const slots = absArg.shape.k === "obj" ? absArg.shape.slots : void 0;
5252
5252
  if (!slots) {
5253
- if (absArg.shape.k !== "unknown" && absArg.shape.k !== "never") {
5253
+ if (absArg.shape.k !== "unknown" && absArg.shape.k !== "never" && absArg.shape.k !== "any") {
5254
5254
  out.push({
5255
5255
  severity: "error",
5256
5256
  code: "nudo:constraint-violated",
package/dist/index.js CHANGED
@@ -91,7 +91,7 @@ import {
91
91
  takeRefineDiagsSince,
92
92
  throwConstraintToKinds,
93
93
  union
94
- } from "./chunk-I35CHJNO.js";
94
+ } from "./chunk-CEYNHXFC.js";
95
95
  import {
96
96
  $add,
97
97
  $arguments,
package/dist/internal.js CHANGED
@@ -19,7 +19,7 @@ import {
19
19
  stableAnalyzeKeySource,
20
20
  stablePathKey,
21
21
  stablePathKeyGraph
22
- } from "./chunk-I35CHJNO.js";
22
+ } from "./chunk-CEYNHXFC.js";
23
23
  import {
24
24
  $tryDigestSoft,
25
25
  $tryMarkSoft,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nudojs/core",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "engines": {
5
5
  "node": ">=20"
6
6
  },
@@ -60,7 +60,7 @@
60
60
  "ms": "^2.1.3",
61
61
  "p-limit": "^7.3.3",
62
62
  "yocto-queue": "^1.2.2",
63
- "@types/node": "^26.6.2"
63
+ "@types/node": "^26.6.3"
64
64
  },
65
65
  "scripts": {
66
66
  "build": "tsup"