From ff4c222208f599781ac9652f641f9461383c0c98 Mon Sep 17 00:00:00 2001 From: Bottie McBotface Date: Mon, 16 Dec 2024 20:50:19 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix:=20use=20the=20correct=20imp?= =?UTF-8?q?ort=20specifier=20for=20JSONCParser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- JSONCFormatter.ts | 2 +- JSONCTweaker.ts | 2 +- mod.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/JSONCFormatter.ts b/JSONCFormatter.ts index 016e5b8..b1a2295 100644 --- a/JSONCFormatter.ts +++ b/JSONCFormatter.ts @@ -1,4 +1,4 @@ -import * as JSONCParser from 'npm:jsonc-parser'; +import * as JSONCParser from 'jsonc-parser'; import { DefaultFormattingOptions } from './DefaultFormattingOptions.ts'; /** diff --git a/JSONCTweaker.ts b/JSONCTweaker.ts index 60ab4a8..6d6cb5b 100644 --- a/JSONCTweaker.ts +++ b/JSONCTweaker.ts @@ -1,5 +1,5 @@ import { applyEdits, modify, parse, type Segment } from 'jsonc-parser'; -import type { ParseError } from 'npm:jsonc-parser'; +import type { ParseError } from 'jsonc-parser'; import { DefaultFormattingOptions } from './DefaultFormattingOptions.ts'; import { getAlphabeticalInsertionIndex } from './getAlphabeticalInsertionIndex.ts'; import { getValueAtPath } from './getValueAtPath.ts'; diff --git a/mod.ts b/mod.ts index d0ea224..800793a 100644 --- a/mod.ts +++ b/mod.ts @@ -1,4 +1,4 @@ -export * from 'npm:jsonc-parser'; +export * from 'jsonc-parser'; export * from './JSONCFormatter.ts'; export * from './JSONCTweaker.ts';