@vinejs/compiler
Advanced tools
Comparing version 2.3.0 to 2.4.0
@@ -525,3 +525,5 @@ // src/compiler/buffer.ts | ||
// src/scripts/object/move_unknown_properties.ts | ||
import { inspect } from "node:util"; | ||
function arrayToString(arr) { | ||
return `[${arr.map((str) => `"${str}"`).join(", ")}]`; | ||
} | ||
function defineMoveProperties({ | ||
@@ -535,3 +537,4 @@ variableName, | ||
} | ||
return `moveProperties(${variableName}.value, ${variableName}_out, ${inspect(fieldsToIgnore)});`; | ||
const serializedFieldsToIgnore = arrayToString(fieldsToIgnore); | ||
return `moveProperties(${variableName}.value, ${variableName}_out, ${serializedFieldsToIgnore});`; | ||
} | ||
@@ -538,0 +541,0 @@ |
{ | ||
"name": "@vinejs/compiler", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"description": "Low level compiler for VineJS validator", | ||
@@ -43,23 +43,23 @@ "type": "module", | ||
"devDependencies": { | ||
"@adonisjs/eslint-config": "^1.1.8", | ||
"@adonisjs/prettier-config": "^1.1.8", | ||
"@adonisjs/tsconfig": "^1.1.8", | ||
"@japa/assert": "^2.0.1", | ||
"@japa/runner": "^3.0.5", | ||
"@swc/core": "^1.3.96", | ||
"@types/node": "^20.9.2", | ||
"acorn": "^8.11.2", | ||
"@adonisjs/eslint-config": "^1.2.1", | ||
"@adonisjs/prettier-config": "^1.2.1", | ||
"@adonisjs/tsconfig": "^1.2.1", | ||
"@japa/assert": "^2.1.0", | ||
"@japa/runner": "^3.1.1", | ||
"@swc/core": "^1.3.102", | ||
"@types/node": "^20.10.6", | ||
"acorn": "^8.11.3", | ||
"ajv": "^8.12.0", | ||
"benchmark": "^2.1.4", | ||
"c8": "^8.0.1", | ||
"c8": "^9.0.0", | ||
"del-cli": "^5.1.0", | ||
"eslint": "^8.54.0", | ||
"eslint": "^8.56.0", | ||
"github-label-sync": "^2.3.1", | ||
"js-beautify": "^1.14.11", | ||
"np": "^8.0.3", | ||
"prettier": "^3.1.0", | ||
"np": "^9.2.0", | ||
"prettier": "^3.1.1", | ||
"tinybench": "^2.5.1", | ||
"ts-node": "^10.9.1", | ||
"tsup": "^8.0.0", | ||
"typescript": "^5.2.2", | ||
"ts-node": "^10.9.2", | ||
"tsup": "^8.0.1", | ||
"typescript": "^5.3.3", | ||
"zod": "^3.22.4" | ||
@@ -66,0 +66,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
141661
1809