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

@foodsy-app/fastify-typebox

Package Overview
Dependencies
Maintainers
8
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@foodsy-app/fastify-typebox - npm Package Compare versions

Comparing version 5.0.0 to 5.1.0

3

index.d.ts

@@ -56,3 +56,4 @@ /// <reference types="node" />

declare const createTypeboxSchema: <T extends Schema>(typeboxSchema: T) => T;
declare const _default: import("fastify").FastifyPluginCallback<{}, import("http").Server>;
declare const _default: import("fastify").FastifyPluginCallback<Record<never, never>, import("http").Server>;
export default _default;
export { createTypeboxSchema };

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.createTypeboxSchema = void 0;
var fastify_plugin_1 = __importDefault(require("fastify-plugin"));
var createTypeboxSchema = function (typeboxSchema) { return typeboxSchema; };
exports.createTypeboxSchema = createTypeboxSchema;
var plugin = function (fastify, _options, done) {

@@ -10,0 +12,0 @@ fastify.decorate("typeboxSchema", createTypeboxSchema);

@@ -122,1 +122,2 @@ import { Static, TSchema } from "@sinclair/typebox";

export default fp(plugin, { fastify: ">=3.x", name: "@foodsy-app/fastify-typebox" });
export { createTypeboxSchema };
{
"name": "@foodsy-app/fastify-typebox",
"version": "5.0.0",
"version": "5.1.0",
"description": "Plugin for Fastify to prevent having to write duplicate type definitions for schemas",

@@ -33,13 +33,14 @@ "keywords": [

"clean": "rimraf index.js index.d.ts",
"prepublishOnly": "npm run clean && npm run build"
"prepublishOnly": "npm run clean && npm run build",
"postinstall": "npx patch-package --patch-dir ."
},
"dependencies": {
"@sinclair/typebox": "^0.10.1",
"fastify-plugin": "^2.0.1",
"@sinclair/typebox": "^0.16.0",
"fastify-plugin": "^3.0.0",
"rimraf": "^3.0.2"
},
"devDependencies": {
"@types/node": "^14.0.24",
"fastify": "^3.1.1",
"typescript": "^3.9.7"
"@types/node": "^14.14.35",
"fastify": "^3.14.0",
"typescript": "^4.2.3"
},

@@ -49,2 +50,2 @@ "engines": {

}
}
}

@@ -0,0 +0,0 @@ {

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