File tree Expand file tree Collapse file tree 5 files changed +249
-249
lines changed Expand file tree Collapse file tree 5 files changed +249
-249
lines changed Original file line number Diff line number Diff line change 56
56
"tslib" : " 2"
57
57
},
58
58
"dependencies" : {
59
- "@jsonjoy.com/json-pointer" : " ^1.0.0" ,
60
- "@jsonjoy.com/util" : " ^1.6.0"
59
+ "@jsonjoy.com/codegen" : " ^1.0.0" ,
60
+ "@jsonjoy.com/json-pointer" : " ^1.0.2" ,
61
+ "@jsonjoy.com/util" : " ^1.9.0"
61
62
},
62
63
"devDependencies" : {
63
64
"@biomejs/biome" : " ^1.9.4" ,
Original file line number Diff line number Diff line change 1
1
import * as util from './util' ;
2
- import { Codegen } from '@jsonjoy.com/util /lib/codegen /Codegen' ;
2
+ import { Codegen } from '@jsonjoy.com/codegen /lib/Codegen' ;
3
3
import { type ExpressionResult , Literal } from './codegen-steps' ;
4
4
import { createEvaluate } from './createEvaluate' ;
5
- import type { JavaScript } from '@jsonjoy.com/util/lib/codegen' ;
6
5
import { Vars } from './Vars' ;
6
+ import type { JavaScript } from '@jsonjoy.com/codegen' ;
7
7
import type * as types from './types' ;
8
8
9
9
export type JsonExpressionFn = ( vars : types . JsonExpressionExecutionContext [ 'vars' ] ) => unknown ;
Original file line number Diff line number Diff line change 1
1
import { Expression , type ExpressionResult } from '../codegen-steps' ;
2
- import type * as types from '../types' ;
3
2
import { toPath } from '@jsonjoy.com/json-pointer/lib/util' ;
4
- import type { Path } from '@jsonjoy.com/json-pointer/lib/types' ;
5
- import { type JavaScript , type JavaScriptLinked , compileClosure } from '@jsonjoy.com/util/lib/codegen' ;
3
+ import { compileClosure } from '@jsonjoy.com/codegen/lib/compile' ;
6
4
import { $findRef } from '@jsonjoy.com/json-pointer/lib/codegen/findRef' ;
7
5
import { find } from '@jsonjoy.com/json-pointer/lib/find' ;
6
+ import type * as types from '../types' ;
7
+ import type { Path } from '@jsonjoy.com/json-pointer/lib/types' ;
8
+ import type { JavaScript , JavaScriptLinked } from '@jsonjoy.com/codegen' ;
8
9
9
10
const validateAddOperandCount = ( count : number ) => {
10
11
if ( count < 3 ) {
Original file line number Diff line number Diff line change 1
- import type { JavaScript } from '@jsonjoy.com/util/lib/ codegen' ;
1
+ import type { JavaScript } from '@jsonjoy.com/codegen' ;
2
2
import type { Vars } from './Vars' ;
3
3
import type { ExpressionResult } from './codegen-steps' ;
4
4
import type { JsonExpressionFn } from './codegen' ;
You can’t perform that action at this time.
0 commit comments