-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fast-json-patch commonjs import is wrong (#175)
<!-- GITHUB_RELEASE PR BODY: canary-version --> <details> <summary>📦 Published PR as canary version: <code>Canary Versions</code></summary> <br /> ✨ Test out this PR locally via: ```bash npm install @dotinc/[email protected] npm install @dotinc/[email protected] # or yarn add @dotinc/[email protected] yarn add @dotinc/[email protected] ``` </details> <!-- GITHUB_RELEASE PR BODY: canary-version -->
- Loading branch information
Showing
20 changed files
with
550 additions
and
89 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
export * from "./interfaces"; | ||
export * from "./repository"; | ||
export { Commit } from "./commit"; | ||
export * from "./ref"; | ||
export * from "./size"; | ||
export * from "./utils"; | ||
export * from "./git2json"; | ||
export * from "./interfaces.js"; | ||
export * from "./repository.js"; | ||
export { Commit } from "./commit.js"; | ||
export * from "./ref.js"; | ||
export * from "./size.js"; | ||
export * from "./utils.js"; | ||
export * from "./git2json.js"; | ||
|
||
export { compare, deepClone, Operation, JsonPatchError } from "fast-json-patch"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { test } from "tap"; | ||
import { cleanAuthor, mapPath, shaishToCommit } from "./utils"; | ||
import { Repository } from "./repository"; | ||
import { ComplexObject, testAuthor } from "./test.utils"; | ||
import { cleanAuthor, mapPath, shaishToCommit } from "./utils.js"; | ||
import { Repository } from "./repository.js"; | ||
import { ComplexObject, testAuthor } from "./test.utils.js"; | ||
|
||
test("author <[email protected]>", (t) => { | ||
const [name, email] = cleanAuthor("author <[email protected]>"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
diff --git a/node_modules/fast-json-patch/package.json b/node_modules/fast-json-patch/package.json | ||
index 688a6d0..8eb9957 100644 | ||
--- a/node_modules/fast-json-patch/package.json | ||
+++ b/node_modules/fast-json-patch/package.json | ||
@@ -25,6 +25,13 @@ | ||
"main": "index.js", | ||
"module": "index.mjs", | ||
"typings": "index.d.ts", | ||
+ "exports": { | ||
+ ".": { | ||
+ "import": "./index.mjs", | ||
+ "require": "./index.js", | ||
+ "types": "./index.d.ts" | ||
+ } | ||
+ }, | ||
"devDependencies": { | ||
"benchmark": "^2.1.4", | ||
"bluebird": "^3.5.5", |