Skip to content

Commit

Permalink
🔧 fix: use the correct import specifier for JSONCParser
Browse files Browse the repository at this point in the history
  • Loading branch information
Bottie McBotface committed Dec 16, 2024
1 parent f6a4ca1 commit ff4c222
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion JSONCFormatter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as JSONCParser from 'npm:jsonc-parser';
import * as JSONCParser from 'jsonc-parser';
import { DefaultFormattingOptions } from './DefaultFormattingOptions.ts';

/**
Expand Down
2 changes: 1 addition & 1 deletion JSONCTweaker.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
2 changes: 1 addition & 1 deletion mod.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from 'npm:jsonc-parser';
export * from 'jsonc-parser';

export * from './JSONCFormatter.ts';
export * from './JSONCTweaker.ts';
Expand Down

0 comments on commit ff4c222

Please sign in to comment.