Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@markuplint/ml-spec

Package Overview
Dependencies
Maintainers
1
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@markuplint/ml-spec - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

8

lib/types/permitted-structures.d.ts

@@ -22,3 +22,3 @@ /**

export interface PermittedContentRequire {
require: Model;
require: Model | PermittedContentPattern[];
max?: number;

@@ -29,3 +29,3 @@ min?: number;

export interface PermittedContentOptional {
optional: Model;
optional: Model | PermittedContentPattern[];
max?: number;

@@ -45,2 +45,6 @@ _TODO_?: string;

export interface PermittedContentChoice {
/**
* @minItems 2
* @maxItems 5
*/
choice: [PermittedContentPattern[], PermittedContentPattern[]] | [PermittedContentPattern[], PermittedContentPattern[], PermittedContentPattern[]] | [PermittedContentPattern[], PermittedContentPattern[], PermittedContentPattern[], PermittedContentPattern[]] | [

@@ -47,0 +51,0 @@ PermittedContentPattern[],

{
"name": "@markuplint/ml-spec",
"version": "3.0.0",
"version": "3.0.1",
"description": "Types and schema that specs of the Markup languages for markuplint",

@@ -19,3 +19,3 @@ "repository": "git@github.com:markuplint/markuplint.git",

"schema:gen": "ts-node ./gen/gen.ts; prettier --write './schemas/*.json';",
"schema:content-models": "json2ts ./schemas/content-models.schema.json > ./src/types/permitted-structres.ts; prettier --write ./src/types/permitted-structres.ts; eslint --fix --config ../../../.eslintrc ./src/types/permitted-structres.ts",
"schema:content-models": "json2ts ./schemas/content-models.schema.json > ./src/types/permitted-structures.ts; prettier --write ./src/types/permitted-structures.ts; eslint --fix --config ../../../.eslintrc ./src/types/permitted-structures.ts",
"schema:attributes": "json2ts ./schemas/attributes.schema.json --cwd ./schemas > ./src/types/attributes.ts; prettier --write ./src/types/attributes.ts; eslint --fix --config ../../../.eslintrc ./src/types/attributes.ts",

@@ -35,3 +35,3 @@ "schema:aria": "json2ts ./schemas/aria.schema.json --cwd ./schemas > ./src/types/aria.ts; prettier --write ./src/types/aria.ts; eslint --fix --config ../../../.eslintrc ./src/types/aria.ts",

},
"gitHead": "51af6a64bb8da54376a138f19e3f15a2f759a967"
"gitHead": "4ade31aab89b4bcc3527d4b00bcbfa3dbd6eb032"
}
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