Skip to content

Commit 36d892b

Browse files
Copilotstreamich
andcommitted
feat: replace local json-pointer with @jsonjoy.com/json-pointer package
Co-authored-by: streamich <[email protected]>
1 parent 72d6954 commit 36d892b

File tree

7 files changed

+5
-8
lines changed

7 files changed

+5
-8
lines changed

src/cbor/CborDecoder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {CONST, ERROR, MAJOR} from './constants';
22
import {CborDecoderBase} from './CborDecoderBase';
33
import {JsonPackValue} from '../JsonPackValue';
4-
import type {Path} from '../json-pointer';
4+
import type {Path} from '@jsonjoy.com/json-pointer';
55
import type {IReader, IReaderResettable} from '@jsonjoy.com/util/lib/buffers';
66

77
export class CborDecoder<

src/cbor/__tests__/shallow-read.genShallowRead.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {genShallowReader} from '../../msgpack/shallow-read';
22
import {CborEncoder} from '../CborEncoder';
33
import {CborDecoder} from '../CborDecoder';
4-
import {Path} from '../../json-pointer';
4+
import {Path} from '@jsonjoy.com/json-pointer';
55
import {Writer} from '@jsonjoy.com/util/lib/buffers/Writer';
66

77
const assetShallowRead = (doc: unknown, path: Path): void => {

src/json-pointer/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/json-pointer/types.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/msgpack/MsgPackDecoder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {JsonPackValue} from '.';
22
import {MsgPackDecoderFast} from './MsgPackDecoderFast';
3-
import type {Path} from '../json-pointer';
3+
import type {Path} from '@jsonjoy.com/json-pointer';
44
import type {Reader} from '@jsonjoy.com/util/lib/buffers/Reader';
55

66
/**

src/msgpack/__tests__/shallow-read.genShallowRead.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {genShallowReader} from '../shallow-read';
22
import {MsgPackEncoder} from '../MsgPackEncoder';
33
import {MsgPackDecoder} from '../MsgPackDecoder';
4-
import {Path} from '../../json-pointer';
4+
import {Path} from '@jsonjoy.com/json-pointer';
55

66
const assetShallowRead = (doc: unknown, path: Path): void => {
77
const encoder = new MsgPackEncoder();

src/msgpack/shallow-read.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Path} from '../json-pointer';
1+
import {Path} from '@jsonjoy.com/json-pointer';
22
import {Codegen} from '@jsonjoy.com/util/lib/codegen/Codegen';
33
import type {MsgPackDecoder} from './MsgPackDecoder';
44

0 commit comments

Comments
 (0)