New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@sinclair/typebox-codegen

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sinclair/typebox-codegen - npm Package Compare versions

Comparing version
0.10.3
to
0.10.4
+1
-1
model/model-to-arktype.js

@@ -299,3 +299,3 @@ "use strict";

}
buffer.push('}).compile()');
buffer.push('}).export()');
buffer.push('\n');

@@ -302,0 +302,0 @@ for (const type of model.types.filter((type) => Types.TypeGuard.IsSchema(type))) {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -141,6 +141,6 @@ "use strict";

if (key === `^(0|[1-9][0-9]*)$`) {
return UnsupportedType(schema);
return Type('v.record', `v.number(), ${type}`, []);
}
else {
return Type(`v.record`, type, []);
return Type(`v.record`, `v.string(), ${type}`, []);
}

@@ -147,0 +147,0 @@ }

@@ -0,0 +0,0 @@ "use strict";

{
"name": "@sinclair/typebox-codegen",
"version": "0.10.3",
"version": "0.10.4",
"description": "Code Generation Tools for TypeBox",

@@ -32,3 +32,3 @@ "main": "index.js",

"dependencies": {
"@sinclair/typebox": "^0.32.6",
"@sinclair/typebox": "^0.33.1",
"prettier": "^2.8.7",

@@ -35,0 +35,0 @@ "typescript": "^5.4.5"