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

codemirror-json-schema

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codemirror-json-schema - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

6

CHANGELOG.md
# codemirror-json-schema
## 0.2.1
### Patch Changes
- 0b34915: fix: hover format for anyOf
## 0.2.0

@@ -4,0 +10,0 @@

2

dist/json-hover.js

@@ -52,3 +52,3 @@ import { Draft04 } from "json-schema-library";

}
if (schema.allOf) {
if (schema.anyOf) {
codeBlock.innerText = formatComplexType(schema, "anyOf", draft);

@@ -55,0 +55,0 @@ }

@@ -64,3 +64,3 @@ [codemirror-json-schema](../README.md) / index

[json-completion.ts:820](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/json-completion.ts#L820)
[json-completion.ts:820](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/json-completion.ts#L820)

@@ -102,3 +102,3 @@ ---

[json-hover.ts:24](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/json-hover.ts#L24)
[json-hover.ts:24](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/json-hover.ts#L24)

@@ -138,3 +138,3 @@ ---

[json-validation.ts:35](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/json-validation.ts#L35)
[json-validation.ts:35](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/json-validation.ts#L35)

@@ -166,3 +166,3 @@ ## Utilities

[utils/jsonPointers.ts:37](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/utils/jsonPointers.ts#L37)
[utils/jsonPointers.ts:37](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/utils/jsonPointers.ts#L37)

@@ -190,3 +190,3 @@ ---

[utils/jsonPointers.ts:98](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/utils/jsonPointers.ts#L98)
[utils/jsonPointers.ts:98](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/utils/jsonPointers.ts#L98)

@@ -216,3 +216,3 @@ ---

[utils/jsonPointers.ts:81](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/utils/jsonPointers.ts#L81)
[utils/jsonPointers.ts:81](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/utils/jsonPointers.ts#L81)

@@ -244,3 +244,3 @@ ---

[utils/parseJSONDocument.ts:23](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/utils/parseJSONDocument.ts#L23)
[utils/parseJSONDocument.ts:23](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/utils/parseJSONDocument.ts#L23)

@@ -272,3 +272,3 @@ ---

[utils/parseJSONDocument.ts:9](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/utils/parseJSONDocument.ts#L9)
[utils/parseJSONDocument.ts:9](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/utils/parseJSONDocument.ts#L9)

@@ -290,3 +290,3 @@ ## Type Aliases

[json-hover.ts:9](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/json-hover.ts#L9)
[json-hover.ts:9](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/json-hover.ts#L9)

@@ -301,3 +301,3 @@ ---

[json-hover.ts:11](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/json-hover.ts#L11)
[json-hover.ts:11](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/json-hover.ts#L11)

@@ -319,3 +319,3 @@ ---

[json-hover.ts:13](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/json-hover.ts#L13)
[json-hover.ts:13](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/json-hover.ts#L13)

@@ -330,3 +330,3 @@ ---

[utils/jsonPointers.ts:8](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/utils/jsonPointers.ts#L8)
[utils/jsonPointers.ts:8](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/utils/jsonPointers.ts#L8)

@@ -348,3 +348,3 @@ ---

[types.ts:4](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/types.ts#L4)
[types.ts:4](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/types.ts#L4)

@@ -368,3 +368,3 @@ ---

[types.ts:9](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/types.ts#L9)
[types.ts:9](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/types.ts#L9)

@@ -379,3 +379,3 @@ ---

[types.ts:16](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/types.ts#L16)
[types.ts:16](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/types.ts#L16)

@@ -397,2 +397,2 @@ ---

[json-validation.ts:24](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/json-validation.ts#L24)
[json-validation.ts:24](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/json-validation.ts#L24)

@@ -52,3 +52,3 @@ [codemirror-json-schema](../README.md) / json5

[json5-hover.ts:11](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/json5-hover.ts#L11)
[json5-hover.ts:11](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/json5-hover.ts#L11)

@@ -88,3 +88,3 @@ ---

[json5-validation.ts:10](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/json5-validation.ts#L10)
[json5-validation.ts:10](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/json5-validation.ts#L10)

@@ -116,3 +116,3 @@ ## Utilities

[utils/parseJSON5Document.ts:28](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/utils/parseJSON5Document.ts#L28)
[utils/parseJSON5Document.ts:28](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/utils/parseJSON5Document.ts#L28)

@@ -144,2 +144,2 @@ ---

[utils/parseJSON5Document.ts:14](https://github.com/acao/codemirror-json-schema/blob/fea8ea7/src/utils/parseJSON5Document.ts#L14)
[utils/parseJSON5Document.ts:14](https://github.com/acao/codemirror-json-schema/blob/19c373f/src/utils/parseJSON5Document.ts#L14)
{
"name": "codemirror-json-schema",
"license": "MIT",
"version": "0.2.0",
"version": "0.2.1",
"description": "A JSONSchema enabled mode for codemirror 6, for both json4 and json5, inspired by monaco-json",

@@ -88,3 +88,3 @@ "contributors": [

"test:coverage": "vitest run --dom --coverage",
"version-packages": "changeset version && pnpm prettier:write CHANGELOG.md",
"version-packages": "changeset version && pnpm prettier:write CHANGELOG.md && git add package.json pnpm-lock.yaml CHANGELOG.md",
"release": "pnpm build && changeset publish",

@@ -91,0 +91,0 @@ "typedoc": "typedoc --out docs src/index.ts src/json5.ts && pnpm prettier:write docs/**/*",

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