New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cuked-zombie

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cuked-zombie - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "cuked-zombie",
"version": "1.0.2",
"version": "1.0.3",
"description": "use cucumber and acceptance tests with zombie",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -12,3 +12,4 @@ module.exports = function(options) {

hostname: os.hostname(),
domains: {}
domains: {},
debug: false
});

@@ -35,3 +36,3 @@

site: 'http://'+options.domain,
debug: false,
debug: options.debug,
headers: {

@@ -50,3 +51,3 @@ 'X-Environment-In-Tests': 'from-zombie'

/* globals console */
console.log.apply(arguments);
(console.log).apply(this, arguments);
};

@@ -83,2 +84,6 @@

this.waitForjQuery = function(callback) {
if (!that.browser.window) {
throw new Error('cannot wait for jQuery, that.browser.window is not defined. Did you forget to visit a page before waiting for jQuery?');
}
that.browser.wait(

@@ -89,4 +94,8 @@ function() {

function() {
if (!that.browser.window) {
throw new Error('cannot wait for jQuery, that.browser.window is not defined (after waiting)');
}
if (!that.browser.window.jQuery) {
throw new Error('timedout while waiting for jQuery');
throw new Error('timed out while waiting for jQuery');
}

@@ -235,4 +244,27 @@

this.loadFixtureParts = function(partsText, callback) {
if (options.debug) {
that.debug.log('loading fixture-parts:');
that.debug.log(partsText);
}
partsText = partsText.replace(/\r?\n/g, '_');
execFile(options.cli, ["db:fixture-parts", partsText, '--divider=_'], function(error, stdout, stderr) {
if (error) {
that.debug.log(stderr, stdout);
throw error;
}
if (options.debug) {
that.debug.log('fixture parts debug:');
that.debug.log(stdout);
}
callback.call(that);
});
};
callback(); // tell Cucumber we're finished and to use 'this' as the world instance
};
};

Sorry, the diff of this file is not supported yet

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