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

rxjs-marbles

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rxjs-marbles - npm Package Compare versions

Comparing version 4.3.1 to 4.3.2

17

ava/index.js
"use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};

@@ -10,0 +13,0 @@ function __export(m) {

"use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
var isArray = require("lodash/isArray");
var getPrototypeOf = Object.getPrototypeOf || function (obj) {
return obj.__proto__;
};
function _cases(adapter, cases) {
if (!isArray(cases)) {
if (getPrototypeOf(cases) !== Array.prototype) {
cases = Object.keys(cases).map(function (key) { return (__assign({}, cases[key], { name: key })); });

@@ -15,0 +20,0 @@ }

@@ -0,1 +1,8 @@

<a name="4.3.2"></a>
## [4.3.2](https://github.com/cartant/rxjs-marbles/compare/v4.3.1...v4.3.2) (2018-11-02)
### Build
* Replace `lodash` with `fast-equals` to avoid `require` calls in the ES module distributions. ([5909ebc](https://github.com/cartant/rxjs-marbles/commit/5909ebc))
<a name="4.3.1"></a>

@@ -2,0 +9,0 @@ ## [4.3.1](https://github.com/cartant/rxjs-marbles/compare/v4.3.0...v4.3.1) (2018-07-30)

"use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
var isEqual = require("lodash/isEqual");
var fast_equals_1 = require("fast-equals");
var defaultConfiguration = {

@@ -29,3 +32,3 @@ assert: defaultAssert,

function defaultAssertDeepEqual(a, b) {
if (isEqual(a, b)) {
if (fast_equals_1.deepEqual(a, b)) {
return;

@@ -32,0 +35,0 @@ }

"use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};

@@ -10,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

@@ -1,4 +0,6 @@

const isArray = require("lodash/isArray");
const getPrototypeOf = Object.getPrototypeOf || function (obj) {
return obj.__proto__;
};
export function _cases(adapter, cases) {
if (!isArray(cases)) {
if (getPrototypeOf(cases) !== Array.prototype) {
cases = Object.keys(cases).map((key) => (Object.assign({}, cases[key], { name: key })));

@@ -5,0 +7,0 @@ }

@@ -1,2 +0,2 @@

const isEqual = require("lodash/isEqual");
import { deepEqual } from "fast-equals";
const defaultConfiguration = {

@@ -18,3 +18,3 @@ assert: defaultAssert,

function defaultAssertDeepEqual(a, b) {
if (isEqual(a, b)) {
if (deepEqual(a, b)) {
return;

@@ -21,0 +21,0 @@ }

@@ -1,2 +0,2 @@

const isEqual = require("lodash/isEqual");
import { deepEqual } from "fast-equals";
function stringify(x) {

@@ -37,3 +37,3 @@ if (x === undefined) {

else {
const passed = isEqual(actual, expected);
const passed = deepEqual(actual, expected);
if (passed) {

@@ -40,0 +40,0 @@ assert(true, "");

@@ -1,8 +0,11 @@

var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};

@@ -9,0 +12,0 @@ import { test } from "ava";

@@ -1,12 +0,17 @@

var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var isArray = require("lodash/isArray");
var getPrototypeOf = Object.getPrototypeOf || function (obj) {
return obj.__proto__;
};
export function _cases(adapter, cases) {
if (!isArray(cases)) {
if (getPrototypeOf(cases) !== Array.prototype) {
cases = Object.keys(cases).map(function (key) { return (__assign({}, cases[key], { name: key })); });

@@ -13,0 +18,0 @@ }

@@ -1,10 +0,13 @@

var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var isEqual = require("lodash/isEqual");
import { deepEqual } from "fast-equals";
var defaultConfiguration = {

@@ -26,3 +29,3 @@ assert: defaultAssert,

function defaultAssertDeepEqual(a, b) {
if (isEqual(a, b)) {
if (deepEqual(a, b)) {
return;

@@ -29,0 +32,0 @@ }

@@ -1,8 +0,11 @@

var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};

@@ -9,0 +12,0 @@ import { animationFrameScheduler, asapScheduler, asyncScheduler, queueScheduler, VirtualTimeScheduler } from "rxjs";

@@ -1,8 +0,11 @@

var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};

@@ -9,0 +12,0 @@ import { _cases } from "../cases";

@@ -1,8 +0,11 @@

var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};

@@ -9,0 +12,0 @@ import { TestScheduler } from "rxjs/testing";

@@ -1,2 +0,2 @@

var isEqual = require("lodash/isEqual");
import { deepEqual } from "fast-equals";
function stringify(x) {

@@ -37,3 +37,3 @@ if (x === undefined) {

else {
var passed = isEqual(actual, expected);
var passed = deepEqual(actual, expected);
if (passed) {

@@ -40,0 +40,0 @@ assert(true, "");

@@ -1,8 +0,11 @@

var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};

@@ -9,0 +12,0 @@ import * as tape from "tape";

"use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};

@@ -10,0 +13,0 @@ function __export(m) {

"use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};

@@ -10,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var isEqual = require("lodash/isEqual");
var fast_equals_1 = require("fast-equals");
function stringify(x) {

@@ -39,3 +39,3 @@ if (x === undefined) {

else {
var passed = isEqual(actual, expected);
var passed = fast_equals_1.deepEqual(actual, expected);
if (passed) {

@@ -42,0 +42,0 @@ assert(true, "");

@@ -7,4 +7,3 @@ {

"dependencies": {
"@types/lodash": "^4.0.0",
"lodash": "^4.17.5"
"fast-equals": "^1.6.1"
},

@@ -47,4 +46,4 @@ "description": "An RxJS marble testing library for any test framework",

"unpkg": "./bundles/rxjs-marbles.umd.js",
"version": "4.3.1",
"version": "4.3.2",
"ava": {}
}
"use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};

@@ -10,0 +13,0 @@ function __export(m) {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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