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

jasmine-node

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jasmine-node - npm Package Compare versions

Comparing version 1.0.28 to 1.1.0

lib/jasmine-node/jasmine-1.3.1.js

9

lib/jasmine-node/cli.js
var jasmine = require('./index');
var util,
Path= require('path');
Path= require('path'),
fs = require('fs');
try {

@@ -129,2 +130,8 @@ util = require('util')

process.on('uncaughtException', function(e) {
console.error(e.stack || e);
exitCode = 1;
process.exit(exitCode);
});
process.on("exit", onExit);

@@ -131,0 +138,0 @@

4

lib/jasmine-node/index.js

@@ -11,3 +11,3 @@ var fs = require('fs');

var filename = __dirname + '/jasmine-2.0.0.rc1.js';
var filename = __dirname + '/jasmine-1.3.1.js';
var isWindowUndefined = typeof global.window === 'undefined';

@@ -83,3 +83,3 @@ if (isWindowUndefined) {

specs = require('./spec-collection'),
jasmineEnv = jasmine.currentEnv_ = new jasmine.Env();
jasmineEnv = jasmine.getEnv();

@@ -86,0 +86,0 @@ specs.load(folder, fileMatcher);

@@ -17,3 +17,3 @@ var walkdir = require('walkdir');

exports.load = function(loadpath, matcher) {
var wannaBeSpecs = walkdir.sync(loadpath)
var wannaBeSpecs = walkdir.sync(loadpath, { follow_symlinks: true })
specs = [];

@@ -20,0 +20,0 @@

{
"name" : "jasmine-node"
, "version" : "1.0.28"
, "version" : "1.1.0"
, "description" : "DOM-less simple JavaScript BDD testing framework for Node"
, "contributors" : [ "Chris Moultrie <chris@moultrie.org>" ]
, "homepage" : [ "http://pivotal.github.com/jasmine"

@@ -6,0 +7,0 @@ , "https://github.com/mhevery/jasmine-node"]

@@ -73,2 +73,3 @@ jasmine-node

-----------
Install the dependent packages by running:

@@ -85,1 +86,6 @@

scripts/specs --verbose
changelog
---------
* _1.1.0 - Updated Jasmine to 1.3.1, fixed fs missing, catching uncaught exceptions, other fixes_

@@ -6,15 +6,11 @@ (function(){

beforeEach(function(){
this.addMatchers({
toHaveProperty: function(prop) {
try {
return prop in this.actual;
}
catch (e) {
return false;
}
jasmine.Matchers.prototype.toHaveProperty = function(prop) {
try {
return prop in this.actual;
}
});
});
catch (e) {
return false;
}
}
})();

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