@jest/snapshot-utils
Advanced tools
+1
-1
@@ -82,3 +82,3 @@ /*! | ||
| const SNAPSHOT_VERSION = exports.SNAPSHOT_VERSION = '1'; | ||
| const SNAPSHOT_HEADER_REGEXP = /^\/\/ Jest Snapshot v(.+), (.+)\r?\n/; | ||
| const SNAPSHOT_HEADER_REGEXP = /^\/\/ Jest Snapshot v(.+), (.+)$/m; | ||
| const SNAPSHOT_GUIDE_LINK = exports.SNAPSHOT_GUIDE_LINK = 'https://jestjs.io/docs/snapshot-testing'; | ||
@@ -85,0 +85,0 @@ 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.'); |
+2
-2
| { | ||
| "name": "@jest/snapshot-utils", | ||
| "version": "30.1.1", | ||
| "version": "30.1.2", | ||
| "repository": { | ||
@@ -37,3 +37,3 @@ "type": "git", | ||
| }, | ||
| "gitHead": "d347c0f3f87f976a1dbd9761d503e45f5ced2a7e" | ||
| "gitHead": "ebfa31cc9787303e8698a1a029a162a18e8974aa" | ||
| } |
+1
-1
@@ -16,3 +16,3 @@ /** | ||
| export const SNAPSHOT_VERSION = '1'; | ||
| const SNAPSHOT_HEADER_REGEXP = /^\/\/ Jest Snapshot v(.+), (.+)\r?\n/; | ||
| const SNAPSHOT_HEADER_REGEXP = /^\/\/ Jest Snapshot v(.+), (.+)$/m; | ||
| export const SNAPSHOT_GUIDE_LINK = 'https://jestjs.io/docs/snapshot-testing'; | ||
@@ -19,0 +19,0 @@ export const SNAPSHOT_VERSION_WARNING = chalk.yellow( |
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
30109
-0.02%2
100%