Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jest/create-cache-key-function

Package Overview
Dependencies
Maintainers
6
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jest/create-cache-key-function - npm Package Compare versions

Comparing version 29.1.2 to 29.2.0

14

build/index.js

@@ -7,33 +7,23 @@ 'use strict';

exports.default = createCacheKey;
function _crypto() {
const data = require('crypto');
_crypto = function () {
return data;
};
return data;
}
function _fs() {
const data = require('fs');
_fs = function () {
return data;
};
return data;
}
function _path() {
const data = require('path');
_path = function () {
return data;
};
return data;
}
/**

@@ -46,3 +36,5 @@ * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.

*/
// eslint-disable-next-line no-restricted-imports
function getGlobalCacheKey(files, values) {

@@ -62,3 +54,2 @@ return [

}
function getCacheKeyFunction(globalCacheKey) {

@@ -84,5 +75,4 @@ return (sourceText, sourcePath, configString, options) => {

}
function createCacheKey(files = [], values = []) {
return getCacheKeyFunction(getGlobalCacheKey(files, values));
}

8

package.json
{
"name": "@jest/create-cache-key-function",
"version": "29.1.2",
"version": "29.2.0",
"repository": {

@@ -10,7 +10,7 @@ "type": "git",

"dependencies": {
"@jest/types": "^29.1.2"
"@jest/types": "^29.2.0"
},
"devDependencies": {
"@types/node": "*",
"jest-util": "^29.1.2"
"jest-util": "^29.2.0"
},

@@ -33,3 +33,3 @@ "engines": {

},
"gitHead": "3c31dd619e8c022cde53f40fa12ea2a67f4752ce"
"gitHead": "ee5b37a4f4433afcfffb0356cea47739d8092287"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc