Fixed #1 - Fixed the whatsnew-** script for loading release notes into builds
Added test to ensure that release notes are parsed properly Updated to latest dependencies to fix security vulnerability Updated GH Actions Workflow to run test before updating tag Updated README.md to reflect proper whatsnew documentation.
This commit is contained in:
1
node_modules/jest-leak-detector/build/index.d.ts
generated
vendored
1
node_modules/jest-leak-detector/build/index.d.ts
generated
vendored
@@ -9,6 +9,5 @@ export default class {
|
||||
constructor(value: unknown);
|
||||
isLeaking(): boolean;
|
||||
private _runGarbageCollector;
|
||||
private _isPrimitive;
|
||||
}
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
2
node_modules/jest-leak-detector/build/index.d.ts.map
generated
vendored
2
node_modules/jest-leak-detector/build/index.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,MAAM,CAAC,OAAO;IACZ,OAAO,CAAC,qBAAqB,CAAU;gBAE3B,KAAK,EAAE,OAAO;IAiC1B,SAAS,IAAI,OAAO;IAMpB,OAAO,CAAC,oBAAoB;IAa5B,OAAO,CAAC,YAAY;CAGrB"}
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH,MAAM,CAAC,OAAO;IACZ,OAAO,CAAC,qBAAqB,CAAU;gBAE3B,KAAK,EAAE,OAAO;IAiC1B,SAAS,IAAI,OAAO;IAMpB,OAAO,CAAC,oBAAoB;CAY7B"}
|
||||
16
node_modules/jest-leak-detector/build/index.js
generated
vendored
16
node_modules/jest-leak-detector/build/index.js
generated
vendored
@@ -35,6 +35,16 @@ function _prettyFormat() {
|
||||
return data;
|
||||
}
|
||||
|
||||
function _jestGetType() {
|
||||
const data = require('jest-get-type');
|
||||
|
||||
_jestGetType = function _jestGetType() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _interopRequireDefault(obj) {
|
||||
return obj && obj.__esModule ? obj : {default: obj};
|
||||
}
|
||||
@@ -57,7 +67,7 @@ class _default {
|
||||
constructor(value) {
|
||||
_defineProperty(this, '_isReferenceBeingHeld', void 0);
|
||||
|
||||
if (this._isPrimitive(value)) {
|
||||
if ((0, _jestGetType().isPrimitive)(value)) {
|
||||
throw new TypeError(
|
||||
[
|
||||
'Primitives cannot leak memory.',
|
||||
@@ -109,10 +119,6 @@ class _default {
|
||||
_v().default.setFlagsFromString('--no-expose-gc');
|
||||
}
|
||||
}
|
||||
|
||||
_isPrimitive(value) {
|
||||
return value !== Object(value);
|
||||
}
|
||||
}
|
||||
|
||||
exports.default = _default;
|
||||
|
||||
Reference in New Issue
Block a user