New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fastify/type-provider-typebox

Package Overview
Dependencies
Maintainers
20
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastify/type-provider-typebox - npm Package Compare versions

Comparing version 3.6.0 to 4.0.0

dist/cjs/index.d.ts

37

package.json
{
"name": "@fastify/type-provider-typebox",
"version": "3.6.0",
"version": "4.0.0",
"description": "A Type Provider for Typebox over Fastify",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/esm/index.mjs",
"main": "dist/cjs/index.js",
"types": "dist/cjs/index.d.ts",
"exports": {
".": {
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
},
"import": {
"types": "./dist/esm/index.d.mts",
"default": "./dist/esm/index.mjs"
}
}
},
"peerDependencies": {

@@ -11,7 +24,13 @@ "@sinclair/typebox": ">=0.26 <=0.32"

"scripts": {
"build": "rimraf ./dist && mkdir dist && tsc --outDir dist",
"test": "npm run build && npm run typescript && tap tests/index.js --no-check-coverage",
"lint": "eslint . --ext .ts --ext .js",
"build:clean": "rimraf ./dist",
"build:cjs": "tsc --outDir dist/cjs --module CommonJS --moduleResolution Node10 --sourcemap false",
"build:esm": "tsc --outDir dist/esm --module NodeNext --moduleResolution NodeNext --sourcemap false",
"build:post": "node post-build.js",
"build:test": "attw --pack .",
"build": "npm-run-all build:clean build:cjs build:esm build:post build:test",
"test:tap": "tap tests/index.js --no-check-coverage",
"test:types": "tsd",
"test": "npm-run-all build test:tap test:types",
"lint:fix": "npm run lint -- --fix",
"typescript": "tsd",
"lint": "eslint . --ext .ts --ext .js --ext .mts --ext .mjs",
"prepublishOnly": "npm run build"

@@ -34,2 +53,3 @@ },

"devDependencies": {
"@arethetypeswrong/cli": "^0.13.5",
"@types/node": "^20.1.0",

@@ -46,5 +66,6 @@ "@typescript-eslint/eslint-plugin": "^5.32.0",

"fastify-tsconfig": "^2.0.0",
"npm-run-all": "^4.1.5",
"rimraf": "^5.0.0",
"tap": "^16.3.0",
"tsd": "^0.29.0",
"tsd": "^0.30.1",
"typescript": "^5.0.2"

@@ -51,0 +72,0 @@ },

@@ -5,3 +5,3 @@ 'use strict'

const Fastify = require('fastify')
const { Type, TypeBoxValidatorCompiler } = require('../dist/index')
const { Type, TypeBoxValidatorCompiler } = require('../dist/cjs/index')

@@ -8,0 +8,0 @@ // This test ensures AJV ignores the TypeBox [Kind] symbol property in strict

@@ -8,3 +8,3 @@ {

},
"exclude": ["./node_modules", "types/**/*.test-d.ts"]
"exclude": ["./node_modules", "types/**/*.test-d.mts"]
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc