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

@json-layout/vocabulary

Package Overview
Dependencies
Maintainers
0
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@json-layout/vocabulary - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

2

package.json
{
"name": "@json-layout/vocabulary",
"version": "1.3.0",
"version": "1.4.0",
"description": "Main JSON Layout vocabulary as JSON schemas and Typescript types. Also contains some small utility functions to validate and normalize annotations.",

@@ -5,0 +5,0 @@ "type": "module",

@@ -474,2 +474,5 @@

"type": "string"
},
"props": {
"type": "object"
}

@@ -476,0 +479,0 @@ }

@@ -246,3 +246,4 @@ {

"properties": {
"name": {"type": "string"}
"name": {"type": "string"},
"props": {"type": "object"}
}

@@ -249,0 +250,0 @@ }

@@ -152,2 +152,5 @@ /**

name: string;
props?: {
[k: string]: unknown;
};
}

@@ -154,0 +157,0 @@ /**

@@ -237,3 +237,3 @@ import { validateLayoutKeyword, isComponentName, isPartialCompObject, isPartialChildren, isPartialSwitch, isPartialGetItemsExpr, isPartialGetItemsObj, isPartialSlotMarkdown, isPartialGetItemsFetch, isPartialChildComposite, isPartialChildSlot, isPartialSlotText, isPartialSlotName } from './layout-keyword/index.js'

} else if (isPartialSlotName(slot)) {
slots[name] = { name: slot.name }
slots[name] = { name: slot.name, props: slot.props }
} else if (isPartialSlotMarkdown(slot)) {

@@ -240,0 +240,0 @@ slots[name] = { markdown: markdown(slot.markdown).trim() }

@@ -533,2 +533,5 @@

"type": "string"
},
"props": {
"type": "object"
}

@@ -535,0 +538,0 @@ }

@@ -290,3 +290,4 @@ {

"properties": {
"name": {"type": "string"}
"name": {"type": "string"},
"props": {"type": "object"}
}

@@ -293,0 +294,0 @@ }

@@ -60,2 +60,5 @@ /**

name: string;
props?: {
[k: string]: unknown;
};
};

@@ -62,0 +65,0 @@ /**

@@ -379,2 +379,5 @@ declare namespace _default {

};
props: {
type: string;
};
};

@@ -381,0 +384,0 @@ };

@@ -145,2 +145,5 @@ /**

name: string;
props?: {
[k: string]: unknown;
};
}

@@ -147,0 +150,0 @@ /**

@@ -432,2 +432,3 @@ declare namespace _default {

name?: undefined;
props?: undefined;
};

@@ -444,2 +445,3 @@ } | {

name?: undefined;
props?: undefined;
};

@@ -454,2 +456,5 @@ } | {

};
props: {
type: string;
};
text?: undefined;

@@ -456,0 +461,0 @@ markdown?: undefined;

@@ -57,2 +57,5 @@ /**

name: string;
props?: {
[k: string]: unknown;
};
};

@@ -59,0 +62,0 @@ /**

Sorry, the diff of this file is not supported yet

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