+2
-2
| { | ||
| "name": "ajv-cmd", | ||
| "version": "0.9.0", | ||
| "version": "0.10.0", | ||
| "description": "Deref, Validate, Transpile, and Test JSON-Schema (.json) files using ajv", | ||
@@ -146,3 +146,3 @@ "type": "module", | ||
| "ajv-formats": "3.0.1", | ||
| "ajv-ftl-i18n": "0.1.1", | ||
| "ajv-ftl-i18n": "0.2.1", | ||
| "ajv-i18n": "4.2.0", | ||
@@ -149,0 +149,0 @@ "ajv-keywords": "5.1.0", |
+1
-1
@@ -45,3 +45,3 @@ "use strict"; | ||
| ); | ||
| const sast = (schema, options = {}) => { | ||
| const sast = (_schema, options = {}) => { | ||
| options = { ...defaultOptions, ...options }; | ||
@@ -48,0 +48,0 @@ const ajv = new import__.default(options); |
+1
-1
@@ -16,3 +16,3 @@ // Copyright 2026 will Farrell, and ajv-cmd contributors. | ||
| ); | ||
| export const sast = (schema, options = {}) => { | ||
| export const sast = (_schema, options = {}) => { | ||
| options = { ...defaultOptions, ...options }; | ||
@@ -19,0 +19,0 @@ |
+1
-1
@@ -56,3 +56,3 @@ "use strict"; | ||
| let js = (0, import_standalone.default)(ajv, validate); | ||
| const file = (0, import_node_path.join)(__dirname, (0, import_node_crypto.randomBytes)(16).toString("hex") + ".js"); | ||
| const file = (0, import_node_path.join)(__dirname, `${(0, import_node_crypto.randomBytes)(16).toString("hex")}.js`); | ||
| await (0, import_promises.writeFile)(file, js, "utf8"); | ||
@@ -59,0 +59,0 @@ await (0, import_esbuild.build)({ |
+1
-1
@@ -28,3 +28,3 @@ // Copyright 2026 will Farrell, and ajv-cmd contributors. | ||
| const file = join(__dirname, randomBytes(16).toString("hex") + ".js"); | ||
| const file = join(__dirname, `${randomBytes(16).toString("hex")}.js`); | ||
| await writeFile(file, js, "utf8"); | ||
@@ -31,0 +31,0 @@ |
+1
-1
@@ -41,3 +41,3 @@ "use strict"; | ||
| for (const data of options?.testData ?? []) { | ||
| valid = validate(data); | ||
| valid = validate(structuredClone(data)); | ||
| if (!valid) { | ||
@@ -44,0 +44,0 @@ console.error(validate.errors); |
+1
-1
@@ -36,3 +36,3 @@ // Copyright 2026 will Farrell, and ajv-cmd contributors. | ||
| for (const data of options?.testData ?? []) { | ||
| valid = validate(data); | ||
| valid = validate(structuredClone(data)); | ||
| if (!valid) { | ||
@@ -39,0 +39,0 @@ console.error(validate.errors); |
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
12
-25%110842
-19.5%3133
-18.37%+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated