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-dev.51 to 3.0.0-dev.54

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-dev.51+3b7ed6eb",
"version": "3.0.0-dev.54+329808d5",
"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",

@@ -26,3 +26,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",

"dependencies": {
"@markuplint/ml-ast": "3.0.0-dev.51+3b7ed6eb",
"@markuplint/ml-ast": "3.0.0-dev.54+329808d5",
"dom-accessibility-api": "^0.5.14",

@@ -33,6 +33,6 @@ "tslib": "^2.4.1"

"@markuplint/test-tools": "3.0.0-rc.0",
"@markuplint/types": "3.0.0-dev.51+3b7ed6eb",
"@markuplint/types": "3.0.0-dev.54+329808d5",
"json-schema-to-typescript": "^11.0.2"
},
"gitHead": "3b7ed6eb7b92282165a191b63d8b5d2810cded2a"
"gitHead": "329808d50ff8875e24031f692a0504d00b72c4f8"
}
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