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

cy2

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cy2 - npm Package Compare versions

Comparing version 3.4.1 to 3.4.2

1

dist/index.d.ts

@@ -11,1 +11,2 @@ /**

export declare const inject: (injectedAbsolutePath: string, cypressPackagePath?: string) => Promise<void>;
export declare const getBinPath: (cypressPackagePath?: string) => Promise<string>;

@@ -5,3 +5,4 @@ "use strict";

});
exports.patch = exports.run = exports.inject = void 0;
exports.getBinPath = exports.run = exports.inject = exports.patch = void 0;
var _binPath = require("./bin-path");
var _context = require("./context");

@@ -80,1 +81,5 @@ var lib = _interopRequireWildcard(require("./patch"));

exports.inject = inject;
const getBinPath = _asyncToGenerator(function*(cypressPackagePath = require.resolve('cypress')) {
return yield (0, _context).runInContext(_binPath.getCypressCLIBinPath, new Map().set('cypressPackagePath', cypressPackagePath));
});
exports.getBinPath = getBinPath;

@@ -6,2 +6,3 @@ "use strict";

const req = Mod.prototype.require;
console.log('INJECTED');
// @ts-ignore

@@ -27,2 +28,3 @@ if ((ref = global.snapshotResult) === null || ref === void 0 ? void 0 : (ref1 = ref.customRequire) === null || ref1 === void 0 ? void 0 : ref1.exports) {

if (args[0].match(/app\.json/)) {
console.log('bingo! app.json');
return {

@@ -29,0 +31,0 @@ development: {

2

package.json
{
"name": "cy2",
"version": "3.4.1",
"version": "3.4.2",
"author": "Andrew Goldis",

@@ -5,0 +5,0 @@ "main": "./dist",

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