You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@jest/snapshot-utils

Package Overview
Dependencies
Maintainers
5
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jest/snapshot-utils - npm Package Compare versions

Comparing version

to
30.0.0-beta.3

4

api-extractor.json
{
"extends": "../../api-extractor.json",
"mainEntryPointFilePath": "/Users/simen/repos/jest/packages/jest-snapshot-utils/build/index.d.ts",
"projectFolder": "/Users/simen/repos/jest/packages/jest-snapshot-utils"
"mainEntryPointFilePath": "/Users/cpojer/Dropbox/Projects/jest/packages/jest-snapshot-utils/build/index.d.ts",
"projectFolder": "/Users/cpojer/Dropbox/Projects/jest/packages/jest-snapshot-utils"
}

@@ -31,3 +31,4 @@ /**

export declare const SNAPSHOT_GUIDE_LINK = 'https://goo.gl/fbAQLP';
export declare const SNAPSHOT_GUIDE_LINK =
'https://jestjs.io/docs/snapshot-testing';

@@ -34,0 +35,0 @@ export declare const SNAPSHOT_VERSION = '1';

@@ -67,4 +67,3 @@ /*!

function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
var Symbol = globalThis['jest-symbol-do-not-touch'] || globalThis.Symbol;

@@ -85,3 +84,3 @@ var Symbol = globalThis['jest-symbol-do-not-touch'] || globalThis.Symbol;

const SNAPSHOT_VERSION_REGEXP = /^\/\/ Jest Snapshot v(.+),/;
const SNAPSHOT_GUIDE_LINK = exports.SNAPSHOT_GUIDE_LINK = 'https://goo.gl/fbAQLP';
const SNAPSHOT_GUIDE_LINK = exports.SNAPSHOT_GUIDE_LINK = 'https://jestjs.io/docs/snapshot-testing';
const SNAPSHOT_VERSION_WARNING = exports.SNAPSHOT_VERSION_WARNING = _chalk.default.yellow(`${_chalk.default.bold('Warning')}: Before you upgrade snapshots, ` + 'we recommend that you revert any local changes to tests or other code, ' + 'to ensure that you do not store invalid state.');

@@ -88,0 +87,0 @@ const writeSnapshotVersion = () => `// Jest Snapshot v${SNAPSHOT_VERSION}, ${SNAPSHOT_GUIDE_LINK}`;

{
"name": "@jest/snapshot-utils",
"version": "30.0.0-alpha.7",
"version": "30.0.0-beta.3",
"repository": {

@@ -22,3 +22,3 @@ "type": "git",

"dependencies": {
"@jest/types": "30.0.0-alpha.7",
"@jest/types": "30.0.0-beta.3",
"chalk": "^4.0.0",

@@ -33,3 +33,3 @@ "graceful-fs": "^4.2.9",

"engines": {
"node": "^16.10.0 || ^18.12.0 || >=20.0.0"
"node": "^18.14.0 || ^20.0.0 || >=22.0.0"
},

@@ -39,3 +39,3 @@ "publishConfig": {

},
"gitHead": "bacb7de30d053cd87181294b0c8a8576632a8b02"
"gitHead": "a123a3b667a178fb988662aaa1bc6308af759017"
}

@@ -17,3 +17,3 @@ /**

const SNAPSHOT_VERSION_REGEXP = /^\/\/ Jest Snapshot v(.+),/;
export const SNAPSHOT_GUIDE_LINK = 'https://goo.gl/fbAQLP';
export const SNAPSHOT_GUIDE_LINK = 'https://jestjs.io/docs/snapshot-testing';
export const SNAPSHOT_VERSION_WARNING = chalk.yellow(

@@ -20,0 +20,0 @@ `${chalk.bold('Warning')}: Before you upgrade snapshots, ` +