@json-layout/core
Advanced tools
Comparing version 0.9.1 to 0.9.2
{ | ||
"name": "@json-layout/core", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "Compilation and state management utilities for JSON Layout.", | ||
@@ -9,4 +9,4 @@ "type": "module", | ||
"import": { | ||
"default": "./src/index.js", | ||
"types": "./types/index.d.ts" | ||
"types": "./types/index.d.ts", | ||
"default": "./src/index.js" | ||
} | ||
@@ -16,4 +16,4 @@ }, | ||
"import": { | ||
"default": "./src/compile/serialize.js", | ||
"types": "./types/compile/serialize.d.ts" | ||
"types": "./types/compile/serialize.d.ts", | ||
"default": "./src/compile/serialize.js" | ||
} | ||
@@ -23,4 +23,4 @@ }, | ||
"import": { | ||
"default": "./src/utils/build.js", | ||
"types": "./types/utils/build.d.ts" | ||
"types": "./types/utils/build.d.ts", | ||
"default": "./src/utils/build.js" | ||
} | ||
@@ -30,4 +30,4 @@ }, | ||
"import": { | ||
"default": "./src/utils/doc-options.js", | ||
"types": "./types/utils/doc-options.d.ts" | ||
"types": "./types/utils/doc-options.d.ts", | ||
"default": "./src/utils/doc-options.js" | ||
} | ||
@@ -66,3 +66,3 @@ } | ||
"dependencies": { | ||
"@json-layout/vocabulary": "^0.9.0", | ||
"@json-layout/vocabulary": "^0.9.1", | ||
"@types/markdown-it": "^13.0.1", | ||
@@ -69,0 +69,0 @@ "ajv": "^8.12.0", |
@@ -57,2 +57,3 @@ import { isSwitchStruct, childIsCompObject, isCompositeLayout, isFocusableLayout } from '@json-layout/vocabulary' | ||
} | ||
draft.props = props | ||
@@ -59,0 +60,0 @@ draft.children = children |
// these dependencies are not pure ESM, users will probably need to inform their bundler to treat them as commonjs | ||
/** @type {string[]} */ | ||
export const commonjsDeps = [ | ||
'ajv', | ||
'ajv/dist/2019.js', | ||
@@ -11,1 +14,13 @@ 'ajv-formats', | ||
] | ||
/** @type {string[][]} */ | ||
export const commonjsDepsPaths = [ | ||
['@json-layout/core', 'ajv'], | ||
['@json-layout/core', 'ajv/dist/2019.js'], | ||
['@json-layout/core', 'ajv-formats'], | ||
['@json-layout/core', 'ajv-formats/dist/formats.js'], | ||
['@json-layout/core', 'ajv-i18n'], | ||
['@json-layout/core', 'ajv-errors'], | ||
['@json-layout/core', 'markdown-it'], | ||
['@json-layout/core', 'debug'] | ||
] |
@@ -0,2 +1,5 @@ | ||
/** @type {string[]} */ | ||
export const commonjsDeps: string[]; | ||
/** @type {string[][]} */ | ||
export const commonjsDepsPaths: string[][]; | ||
//# sourceMappingURL=build.d.ts.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
125247
2814