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

@doubter/json-schema

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@doubter/json-schema - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

package.json
{
"name": "@doubter/json-schema",
"version": "0.0.3",
"version": "0.0.4",
"description": "Converts Doubter shapes from and to JSON schemas.",

@@ -32,4 +32,4 @@ "main": "./index.js",

"peerDependencies": {
"doubter": "^4.0.2"
"doubter": "^5.0.0"
}
}

@@ -385,5 +385,5 @@ 'use strict';

function convertRecordShape(shape, converter) {
var schema = { additionalProperties: converter.convert(shape.valueShape) };
if (shape.keyShape !== null) {
schema.propertyNames = converter.convert(shape.keyShape);
var schema = { additionalProperties: converter.convert(shape.valuesShape) };
if (shape.keysShape !== null) {
schema.propertyNames = converter.convert(shape.keysShape);
}

@@ -390,0 +390,0 @@ return schema;

Sorry, the diff of this file is not supported yet

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