Socket
Socket
Sign inDemoInstall

immutable-class-tester

Package Overview
Dependencies
4
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.8 to 0.5.9

5

build/index.js

@@ -45,3 +45,3 @@ "use strict";

}
for (var i = 0; i < objects.length; i++) {
var _loop_1 = function (i) {
var where = "[in object " + i + "]";

@@ -80,2 +80,5 @@ var objectJSON = JSON.stringify(objects[i]);

chai_1.expect(instJSONCopy.toJS(), className + ".fromJS(JSON.parse(JSON.stringify(" + instanceName + "))).toJS() returned something bad " + where).to.deep.equal(inst.toJS());
};
for (var i = 0; i < objects.length; i++) {
_loop_1(i);
}

@@ -82,0 +85,0 @@ for (var j = 0; j < objects.length; j++) {

2

build/index.mocha.js
"use strict";
var chai_1 = require("chai");
var index_1 = require('./index');
var index_1 = require("./index");
function isInstanceOf(thing, constructor) {

@@ -5,0 +5,0 @@ if (typeof constructor !== 'function')

{
"name": "immutable-class-tester",
"version": "0.5.8",
"version": "0.5.9",
"description": "A helper for testing immutable classes",

@@ -33,7 +33,7 @@ "keywords": [

"devDependencies": {
"@types/mocha": "2.2.32",
"mocha": "3.1.2",
"tdi": "0.1.6",
"typescript": "2.0.8"
"@types/mocha": "2.2.33",
"mocha": "3.2.0",
"tdi": "0.2.4",
"typescript": "2.1.4"
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc