Socket
Socket
Sign inDemoInstall

@fastify/fast-json-stringify-compiler

Package Overview
Dependencies
12
Maintainers
17
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.1 to 4.0.0

test/duplicate-schema.test.js

4

index.js

@@ -13,2 +13,6 @@ 'use strict'

function responseSchemaCompiler (fjsOpts, { schema /* method, url, httpStatus */ }) {
if (fjsOpts.schema && schema.$id && fjsOpts.schema[schema.$id]) {
fjsOpts.schema = { ...fjsOpts.schema }
delete fjsOpts.schema[schema.$id]
}
return fastJsonStringify(schema, fjsOpts)

@@ -15,0 +19,0 @@ }

6

package.json
{
"name": "@fastify/fast-json-stringify-compiler",
"description": "Build and manage the fast-json-stringify instances for the fastify framework",
"version": "3.0.1",
"version": "4.0.0",
"main": "index.js",

@@ -28,6 +28,6 @@ "types": "index.d.ts",

"tap": "^16.0.0",
"tsd": "^0.20.0"
"tsd": "^0.21.0"
},
"dependencies": {
"fast-json-stringify": "^4.2.0"
"fast-json-stringify": "^5.0.0"
},

@@ -34,0 +34,0 @@ "tsd": {

@@ -16,2 +16,3 @@ # @fastify/fast-json-stringify-compiler

| v3.x | v4.x | ^4.x |
| v3.x | v5.x | ^4.x |

@@ -18,0 +19,0 @@ ### fast-json-stringify Configuration

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc