isomorphic-git 1.39.0 → 1.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -63,6 +63,7 @@ var crypto$1 = require('crypto');
63
63
  * @property {string} message Commit message
64
64
  * @property {string} tree SHA-1 object id of corresponding file tree
65
65
  * @property {string[]} parent an array of zero or more SHA-1 object ids
66
+ * @property {Array.<Array.<string|null>>} [changes] Changed files as `[newOid, oldOid, filepath]`; present when `log` is called with `includeChanges: true`.
66
67
  * @property {Object} author
67
68
  * @property {string} author.name The author's name
68
69
  * @property {string} author.email The author's email
@@ -103,6 +103,10 @@ export type CommitObject = {
103
103
  * an array of zero or more SHA-1 object ids
104
104
  */
105
105
  parent: string[];
106
+ /**
107
+ * Changed files as `[newOid, oldOid, filepath]`; present when `log` is called with `includeChanges: true`.
108
+ */
109
+ changes?: (string | null)[][] | undefined;
106
110
  author: {
107
111
  name: string;
108
112
  email: string;
@@ -102,6 +102,10 @@ export type CommitObject = {
102
102
  * an array of zero or more SHA-1 object ids
103
103
  */
104
104
  parent: string[];
105
+ /**
106
+ * Changed files as `[newOid, oldOid, filepath]`; present when `log` is called with `includeChanges: true`.
107
+ */
108
+ changes?: (string | null)[][] | undefined;
105
109
  author: {
106
110
  name: string;
107
111
  email: string;
package/managers/index.js CHANGED
@@ -56,6 +56,7 @@ import pako from 'pako';
56
56
  * @property {string} message Commit message
57
57
  * @property {string} tree SHA-1 object id of corresponding file tree
58
58
  * @property {string[]} parent an array of zero or more SHA-1 object ids
59
+ * @property {Array.<Array.<string|null>>} [changes] Changed files as `[newOid, oldOid, filepath]`; present when `log` is called with `includeChanges: true`.
59
60
  * @property {Object} author
60
61
  * @property {string} author.name The author's name
61
62
  * @property {string} author.email The author's email
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isomorphic-git",
3
- "version": "1.39.0",
3
+ "version": "1.40.0",
4
4
  "description": "A pure JavaScript reimplementation of git for node and browsers",
5
5
  "type": "module",
6
6
  "typings": "./index.d.cts",