File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " generate-json-patch" ,
3- "version" : " 1.1.0 " ,
3+ "version" : " 1.1.1 " ,
44 "author" : " Marco Link <marcoxlink@gmail.com>" ,
55 "private" : false ,
66 "repository" : " marcolink/generate-json-patch" ,
1515 " README.md"
1616 ],
1717 "exports" : {
18- "default" : " ./dist/index.js" ,
1918 "require" : " ./dist/index.js" ,
2019 "import" : " ./dist/index.mjs" ,
21- "node" : " ./dist/index.js"
20+ "node" : " ./dist/index.js" ,
21+ "default" : " ./dist/index.js"
2222 },
2323 "keywords" : [
2424 " json" ,
Original file line number Diff line number Diff line change 11import { moveOperations } from './move-operations' ;
22
3- export type JsonObject = { [ Key in string ] : JsonValue | undefined } ;
4-
5- export type JsonArray = JsonValue [ ] | readonly JsonValue [ ] ;
6-
73export type JsonPrimitive = string | number | boolean | null ;
84
95export type JsonValue = JsonPrimitive | JsonObject | JsonArray ;
106
7+ export type JsonObject =
8+ | { [ Key in string ] : JsonValue | undefined }
9+ | { [ key : string ] : any } ;
10+
11+ export type JsonArray = JsonValue [ ] | readonly JsonValue [ ] ;
12+
1113export interface BaseOperation {
1214 path : string ;
1315}
You can’t perform that action at this time.
0 commit comments