Skip to content

Commit 94e44c2

Browse files
committed
chore: migrate to json-schema-migrate-x
1 parent 87a9fbc commit 94e44c2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.changeset/poor-dolphins-exist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"eslint-plugin-json-schema-validator": minor
33
---
44

5-
refactor: use actively maintained [`@unts/json-schema-migrate`](https://github.com/un-ts/json-schema-migrate) instead
5+
refactor: use actively maintained [`json-schema-migrate-x`](https://github.com/un-ts/json-schema-migrate-x) instead

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
},
5454
"dependencies": {
5555
"@eslint-community/eslint-utils": "^4.3.0",
56-
"@unts/json-schema-migrate": "^2.0.1",
5756
"ajv": "^8.0.0",
5857
"debug": "^4.3.1",
5958
"eslint-compat-utils": "^0.6.5",
6059
"eslint-json-compat-utils": "^0.2.1",
60+
"json-schema-migrate-x": "^2.1.0",
6161
"jsonc-eslint-parser": "^2.0.0",
6262
"minimatch": "^9.0.0 || ^10.0.0",
6363
"synckit": "^0.11.1",

src/utils/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { draft7 as migrateToDraft7 } from "@unts/json-schema-migrate";
21
import debugBuilder from "debug";
32
import fs from "fs";
3+
import { draft7 as migrateToDraft7 } from "json-schema-migrate-x";
44
import path from "path";
55

66
import type { RuleContext } from "../types";

src/utils/validator-factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { draft7 as migrateToDraft7 } from "@unts/json-schema-migrate";
1+
import { draft7 as migrateToDraft7 } from "json-schema-migrate-x";
22

33
import type { RuleContext } from "../types";
44
import type {

0 commit comments

Comments
 (0)