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 5.0.5 to 5.0.6

4

ava/index.js

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

}); };
var configured = marbles_1.configure(function (t) { return (__assign(__assign({}, configuration), factory(t))); });
var configured = marbles_1.configure(function (t) { return (__assign(__assign(__assign({}, configuration_1.defaults()), factory(t)), configuration)); });
var marbles = configured.marbles;

@@ -42,3 +42,3 @@ function cases(name, func, cases) {

exports.configure = configure;
var _a = configure(configuration_1.defaults()), cases = _a.cases, marbles = _a.marbles;
var _a = configure({}), cases = _a.cases, marbles = _a.marbles;
exports.cases = cases;

@@ -45,0 +45,0 @@ exports.marbles = marbles;

@@ -142,3 +142,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

"use strict";
eval("\r\nvar __assign = (this && this.__assign) || function () {\r\n __assign = Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar ava_1 = __webpack_require__(/*! ava */ \"ava\");\r\nvar cases_1 = __webpack_require__(/*! ../cases */ \"./source/cases.ts\");\r\nvar configuration_1 = __webpack_require__(/*! ../configuration */ \"./source/configuration.ts\");\r\nvar fake_1 = __webpack_require__(/*! ../fake */ \"./source/fake.ts\");\r\nvar marbles_1 = __webpack_require__(/*! ../marbles */ \"./source/marbles.ts\");\r\n__export(__webpack_require__(/*! ../configuration */ \"./source/configuration.ts\"));\r\n__export(__webpack_require__(/*! ../expect */ \"./source/expect.ts\"));\r\n__export(__webpack_require__(/*! ../fake */ \"./source/fake.ts\"));\r\nfunction configure(configuration) {\r\n var factory = function (t) { return ({\r\n assert: t.truthy.bind(t),\r\n assertDeepEqual: t.deepEqual.bind(t)\r\n }); };\r\n var configured = marbles_1.configure(function (t) { return (__assign(__assign({}, configuration), factory(t))); });\r\n var marbles = configured.marbles;\r\n function cases(name, func, cases) {\r\n cases_1._cases(function (c) {\r\n var t = c.only ? ava_1.default.only : c.skip ? ava_1.default.skip : ava_1.default;\r\n t(name + \" / \" + c.name, marbles(function (m, t) { return func(m, c, t); }));\r\n }, cases);\r\n }\r\n return { cases: cases, marbles: marbles };\r\n}\r\nexports.configure = configure;\r\nvar _a = configure(configuration_1.defaults()), cases = _a.cases, marbles = _a.marbles;\r\nexports.cases = cases;\r\nexports.marbles = marbles;\r\nfunction fakeSchedulers(fakeTest) {\r\n return fake_1.fakeSchedulers(fakeTest);\r\n}\r\nexports.fakeSchedulers = fakeSchedulers;\r\n\n\n//# sourceURL=webpack://rxjsMarbles/./source/ava/index.ts?");
eval("\r\nvar __assign = (this && this.__assign) || function () {\r\n __assign = Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar ava_1 = __webpack_require__(/*! ava */ \"ava\");\r\nvar cases_1 = __webpack_require__(/*! ../cases */ \"./source/cases.ts\");\r\nvar configuration_1 = __webpack_require__(/*! ../configuration */ \"./source/configuration.ts\");\r\nvar fake_1 = __webpack_require__(/*! ../fake */ \"./source/fake.ts\");\r\nvar marbles_1 = __webpack_require__(/*! ../marbles */ \"./source/marbles.ts\");\r\n__export(__webpack_require__(/*! ../configuration */ \"./source/configuration.ts\"));\r\n__export(__webpack_require__(/*! ../expect */ \"./source/expect.ts\"));\r\n__export(__webpack_require__(/*! ../fake */ \"./source/fake.ts\"));\r\nfunction configure(configuration) {\r\n var factory = function (t) { return ({\r\n assert: t.truthy.bind(t),\r\n assertDeepEqual: t.deepEqual.bind(t)\r\n }); };\r\n var configured = marbles_1.configure(function (t) { return (__assign(__assign(__assign({}, configuration_1.defaults()), factory(t)), configuration)); });\r\n var marbles = configured.marbles;\r\n function cases(name, func, cases) {\r\n cases_1._cases(function (c) {\r\n var t = c.only ? ava_1.default.only : c.skip ? ava_1.default.skip : ava_1.default;\r\n t(name + \" / \" + c.name, marbles(function (m, t) { return func(m, c, t); }));\r\n }, cases);\r\n }\r\n return { cases: cases, marbles: marbles };\r\n}\r\nexports.configure = configure;\r\nvar _a = configure({}), cases = _a.cases, marbles = _a.marbles;\r\nexports.cases = cases;\r\nexports.marbles = marbles;\r\nfunction fakeSchedulers(fakeTest) {\r\n return fake_1.fakeSchedulers(fakeTest);\r\n}\r\nexports.fakeSchedulers = fakeSchedulers;\r\n\n\n//# sourceURL=webpack://rxjsMarbles/./source/ava/index.ts?");

@@ -145,0 +145,0 @@ /***/ }),

@@ -226,3 +226,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

"use strict";
eval("\r\nvar __assign = (this && this.__assign) || function () {\r\n __assign = Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\nvar __spreadArrays = (this && this.__spreadArrays) || function () {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar cases_1 = __webpack_require__(/*! ../cases */ \"./source/cases.ts\");\r\nvar configuration_1 = __webpack_require__(/*! ../configuration */ \"./source/configuration.ts\");\r\nvar fake_1 = __webpack_require__(/*! ../fake */ \"./source/fake.ts\");\r\nvar marbles_1 = __webpack_require__(/*! ../marbles */ \"./source/marbles.ts\");\r\n__export(__webpack_require__(/*! ../configuration */ \"./source/configuration.ts\"));\r\n__export(__webpack_require__(/*! ../expect */ \"./source/expect.ts\"));\r\n__export(__webpack_require__(/*! ../fake */ \"./source/fake.ts\"));\r\n__export(__webpack_require__(/*! ./observe */ \"./source/jasmine/observe.ts\"));\r\nfunction configure(configuration) {\r\n var defaultAssert = configuration_1.defaults().assert;\r\n var marbles = marbles_1.configure(__assign(__assign({}, configuration), { assert: function (a, m) {\r\n var expectation = expect(a);\r\n if (expectation.withContext) {\r\n expect(a)\r\n .withContext(m)\r\n .toBeTruthy();\r\n }\r\n else {\r\n defaultAssert(a, m);\r\n }\r\n }, assertDeepEqual: function (a, e) { return expect(a).toEqual(e); } })).marbles;\r\n function cases(name, func, cases) {\r\n describe(name, function () {\r\n cases_1._cases(function (c) {\r\n var t = c.only ? fit : c.skip ? xit : it;\r\n if (func.length > 2) {\r\n t(c.name, marbles(function (m, second) {\r\n var rest = [];\r\n for (var _i = 2; _i < arguments.length; _i++) {\r\n rest[_i - 2] = arguments[_i];\r\n }\r\n return func.apply(void 0, __spreadArrays([m, c, second], rest));\r\n }));\r\n }\r\n else {\r\n t(c.name, marbles(function (m) {\r\n var rest = [];\r\n for (var _i = 1; _i < arguments.length; _i++) {\r\n rest[_i - 1] = arguments[_i];\r\n }\r\n return func.apply(void 0, __spreadArrays([m, c], rest));\r\n }));\r\n }\r\n }, cases);\r\n });\r\n }\r\n return { cases: cases, marbles: marbles };\r\n}\r\nexports.configure = configure;\r\nvar _a = configure(configuration_1.defaults()), cases = _a.cases, marbles = _a.marbles;\r\nexports.cases = cases;\r\nexports.marbles = marbles;\r\nfunction fakeSchedulers(fakeTest) {\r\n return fake_1.fakeSchedulers(fakeTest);\r\n}\r\nexports.fakeSchedulers = fakeSchedulers;\r\n\n\n//# sourceURL=webpack://rxjsMarbles/./source/jasmine/index.ts?");
eval("\r\nvar __assign = (this && this.__assign) || function () {\r\n __assign = Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\nvar __spreadArrays = (this && this.__spreadArrays) || function () {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar cases_1 = __webpack_require__(/*! ../cases */ \"./source/cases.ts\");\r\nvar configuration_1 = __webpack_require__(/*! ../configuration */ \"./source/configuration.ts\");\r\nvar fake_1 = __webpack_require__(/*! ../fake */ \"./source/fake.ts\");\r\nvar marbles_1 = __webpack_require__(/*! ../marbles */ \"./source/marbles.ts\");\r\n__export(__webpack_require__(/*! ../configuration */ \"./source/configuration.ts\"));\r\n__export(__webpack_require__(/*! ../expect */ \"./source/expect.ts\"));\r\n__export(__webpack_require__(/*! ../fake */ \"./source/fake.ts\"));\r\n__export(__webpack_require__(/*! ./observe */ \"./source/jasmine/observe.ts\"));\r\nfunction configure(configuration) {\r\n var defaultAssert = configuration_1.defaults().assert;\r\n var marbles = marbles_1.configure(__assign(__assign(__assign({}, configuration_1.defaults()), { assert: function (a, m) {\r\n var expectation = expect(a);\r\n if (expectation.withContext) {\r\n expect(a)\r\n .withContext(m)\r\n .toBeTruthy();\r\n }\r\n else {\r\n defaultAssert(a, m);\r\n }\r\n }, assertDeepEqual: function (a, e) { return expect(a).toEqual(e); } }), configuration)).marbles;\r\n function cases(name, func, cases) {\r\n describe(name, function () {\r\n cases_1._cases(function (c) {\r\n var t = c.only ? fit : c.skip ? xit : it;\r\n if (func.length > 2) {\r\n t(c.name, marbles(function (m, second) {\r\n var rest = [];\r\n for (var _i = 2; _i < arguments.length; _i++) {\r\n rest[_i - 2] = arguments[_i];\r\n }\r\n return func.apply(void 0, __spreadArrays([m, c, second], rest));\r\n }));\r\n }\r\n else {\r\n t(c.name, marbles(function (m) {\r\n var rest = [];\r\n for (var _i = 1; _i < arguments.length; _i++) {\r\n rest[_i - 1] = arguments[_i];\r\n }\r\n return func.apply(void 0, __spreadArrays([m, c], rest));\r\n }));\r\n }\r\n }, cases);\r\n });\r\n }\r\n return { cases: cases, marbles: marbles };\r\n}\r\nexports.configure = configure;\r\nvar _a = configure({}), cases = _a.cases, marbles = _a.marbles;\r\nexports.cases = cases;\r\nexports.marbles = marbles;\r\nfunction fakeSchedulers(fakeTest) {\r\n return fake_1.fakeSchedulers(fakeTest);\r\n}\r\nexports.fakeSchedulers = fakeSchedulers;\r\n\n\n//# sourceURL=webpack://rxjsMarbles/./source/jasmine/index.ts?");

@@ -229,0 +229,0 @@ /***/ }),

@@ -238,3 +238,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

"use strict";
eval("\r\nvar __assign = (this && this.__assign) || function () {\r\n __assign = Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\nvar __spreadArrays = (this && this.__spreadArrays) || function () {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar cases_1 = __webpack_require__(/*! ../cases */ \"./source/cases.ts\");\r\nvar configuration_1 = __webpack_require__(/*! ../configuration */ \"./source/configuration.ts\");\r\nvar marbles_1 = __webpack_require__(/*! ../marbles */ \"./source/marbles.ts\");\r\n__export(__webpack_require__(/*! ../configuration */ \"./source/configuration.ts\"));\r\n__export(__webpack_require__(/*! ../expect */ \"./source/expect.ts\"));\r\n__export(__webpack_require__(/*! ./fake */ \"./source/jest/fake.ts\"));\r\n__export(__webpack_require__(/*! ./observe */ \"./source/jest/observe.ts\"));\r\nfunction configure(configuration) {\r\n var marbles = marbles_1.configure(__assign(__assign({}, configuration), { assertDeepEqual: function (a, e) { return expect(a).toStrictEqual(e); }, frameworkMatcher: true })).marbles;\r\n function cases(name, func, cases) {\r\n describe(name, function () {\r\n cases_1._cases(function (c) {\r\n var t = c.only ? test.only : c.skip ? test.skip : test;\r\n if (func.length > 2) {\r\n t(c.name, marbles(function (m, second) {\r\n var rest = [];\r\n for (var _i = 2; _i < arguments.length; _i++) {\r\n rest[_i - 2] = arguments[_i];\r\n }\r\n return func.apply(void 0, __spreadArrays([m, c, second], rest));\r\n }));\r\n }\r\n else {\r\n t(c.name, marbles(function (m) {\r\n var rest = [];\r\n for (var _i = 1; _i < arguments.length; _i++) {\r\n rest[_i - 1] = arguments[_i];\r\n }\r\n return func.apply(void 0, __spreadArrays([m, c], rest));\r\n }));\r\n }\r\n }, cases);\r\n });\r\n }\r\n return { cases: cases, marbles: marbles };\r\n}\r\nexports.configure = configure;\r\nvar _a = configure(configuration_1.defaults()), cases = _a.cases, marbles = _a.marbles;\r\nexports.cases = cases;\r\nexports.marbles = marbles;\r\n\n\n//# sourceURL=webpack://rxjsMarbles/./source/jest/index.ts?");
eval("\r\nvar __assign = (this && this.__assign) || function () {\r\n __assign = Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\nvar __spreadArrays = (this && this.__spreadArrays) || function () {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar cases_1 = __webpack_require__(/*! ../cases */ \"./source/cases.ts\");\r\nvar configuration_1 = __webpack_require__(/*! ../configuration */ \"./source/configuration.ts\");\r\nvar marbles_1 = __webpack_require__(/*! ../marbles */ \"./source/marbles.ts\");\r\n__export(__webpack_require__(/*! ../configuration */ \"./source/configuration.ts\"));\r\n__export(__webpack_require__(/*! ../expect */ \"./source/expect.ts\"));\r\n__export(__webpack_require__(/*! ./fake */ \"./source/jest/fake.ts\"));\r\n__export(__webpack_require__(/*! ./observe */ \"./source/jest/observe.ts\"));\r\nfunction configure(configuration) {\r\n var marbles = marbles_1.configure(__assign(__assign(__assign({}, configuration_1.defaults()), { assertDeepEqual: function (a, e) { return expect(a).toEqual(e); }, frameworkMatcher: true }), configuration)).marbles;\r\n function cases(name, func, cases) {\r\n describe(name, function () {\r\n cases_1._cases(function (c) {\r\n var t = c.only ? test.only : c.skip ? test.skip : test;\r\n if (func.length > 2) {\r\n t(c.name, marbles(function (m, second) {\r\n var rest = [];\r\n for (var _i = 2; _i < arguments.length; _i++) {\r\n rest[_i - 2] = arguments[_i];\r\n }\r\n return func.apply(void 0, __spreadArrays([m, c, second], rest));\r\n }));\r\n }\r\n else {\r\n t(c.name, marbles(function (m) {\r\n var rest = [];\r\n for (var _i = 1; _i < arguments.length; _i++) {\r\n rest[_i - 1] = arguments[_i];\r\n }\r\n return func.apply(void 0, __spreadArrays([m, c], rest));\r\n }));\r\n }\r\n }, cases);\r\n });\r\n }\r\n return { cases: cases, marbles: marbles };\r\n}\r\nexports.configure = configure;\r\nvar _a = configure({}), cases = _a.cases, marbles = _a.marbles;\r\nexports.cases = cases;\r\nexports.marbles = marbles;\r\n\n\n//# sourceURL=webpack://rxjsMarbles/./source/jest/index.ts?");

@@ -241,0 +241,0 @@ /***/ }),

@@ -238,3 +238,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

"use strict";
eval("\r\nvar __assign = (this && this.__assign) || function () {\r\n __assign = Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar tape = __webpack_require__(/*! tape */ \"tape\");\r\nvar cases_1 = __webpack_require__(/*! ../cases */ \"./source/cases.ts\");\r\nvar configuration_1 = __webpack_require__(/*! ../configuration */ \"./source/configuration.ts\");\r\nvar fake_1 = __webpack_require__(/*! ../fake */ \"./source/fake.ts\");\r\nvar marbles_1 = __webpack_require__(/*! ../marbles */ \"./source/marbles.ts\");\r\n__export(__webpack_require__(/*! ../configuration */ \"./source/configuration.ts\"));\r\n__export(__webpack_require__(/*! ../expect */ \"./source/expect.ts\"));\r\n__export(__webpack_require__(/*! ../fake */ \"./source/fake.ts\"));\r\nfunction configure(configuration) {\r\n var factory = function (t) { return ({\r\n assert: t.ok.bind(t),\r\n assertDeepEqual: t.deepEqual.bind(t)\r\n }); };\r\n var configured = marbles_1.configure(function (t) { return (__assign(__assign({}, configuration), factory(t))); });\r\n var marbles = configured.marbles;\r\n function cases(name, func, cases) {\r\n cases_1._cases(function (c) {\r\n var t = c.only ? tape.only : c.skip ? tape.skip : tape;\r\n t(name + \" / \" + c.name, marbles(function (m, t) { return func(m, c, t); }));\r\n }, cases);\r\n }\r\n return { cases: cases, marbles: marbles };\r\n}\r\nexports.configure = configure;\r\nvar _a = configure(configuration_1.defaults()), cases = _a.cases, marbles = _a.marbles;\r\nexports.cases = cases;\r\nexports.marbles = marbles;\r\nfunction fakeSchedulers(fakeTest) {\r\n return fake_1.fakeSchedulers(fakeTest);\r\n}\r\nexports.fakeSchedulers = fakeSchedulers;\r\n\n\n//# sourceURL=webpack://rxjsMarbles/./source/tape/index.ts?");
eval("\r\nvar __assign = (this && this.__assign) || function () {\r\n __assign = Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar tape = __webpack_require__(/*! tape */ \"tape\");\r\nvar cases_1 = __webpack_require__(/*! ../cases */ \"./source/cases.ts\");\r\nvar configuration_1 = __webpack_require__(/*! ../configuration */ \"./source/configuration.ts\");\r\nvar fake_1 = __webpack_require__(/*! ../fake */ \"./source/fake.ts\");\r\nvar marbles_1 = __webpack_require__(/*! ../marbles */ \"./source/marbles.ts\");\r\n__export(__webpack_require__(/*! ../configuration */ \"./source/configuration.ts\"));\r\n__export(__webpack_require__(/*! ../expect */ \"./source/expect.ts\"));\r\n__export(__webpack_require__(/*! ../fake */ \"./source/fake.ts\"));\r\nfunction configure(configuration) {\r\n var factory = function (t) { return ({\r\n assert: t.ok.bind(t),\r\n assertDeepEqual: t.deepEqual.bind(t)\r\n }); };\r\n var configured = marbles_1.configure(function (t) { return (__assign(__assign(__assign({}, configuration_1.defaults()), factory(t)), configuration)); });\r\n var marbles = configured.marbles;\r\n function cases(name, func, cases) {\r\n cases_1._cases(function (c) {\r\n var t = c.only ? tape.only : c.skip ? tape.skip : tape;\r\n t(name + \" / \" + c.name, marbles(function (m, t) { return func(m, c, t); }));\r\n }, cases);\r\n }\r\n return { cases: cases, marbles: marbles };\r\n}\r\nexports.configure = configure;\r\nvar _a = configure({}), cases = _a.cases, marbles = _a.marbles;\r\nexports.cases = cases;\r\nexports.marbles = marbles;\r\nfunction fakeSchedulers(fakeTest) {\r\n return fake_1.fakeSchedulers(fakeTest);\r\n}\r\nexports.fakeSchedulers = fakeSchedulers;\r\n\n\n//# sourceURL=webpack://rxjsMarbles/./source/tape/index.ts?");

@@ -241,0 +241,0 @@ /***/ }),

@@ -0,1 +1,9 @@

<a name="5.0.6"></a>
## [5.0.6](https://github.com/cartant/rxjs-marbles/compare/v5.0.5...v5.0.6) (2020-03-26)
### Fixes
* Revert defaulting Jest to `toStrictEqual` ([c12ce82](https://github.com/cartant/rxjs-marbles/commit/c12ce82)), as it was a breaking change.
* Allow caller-specified configurations to override default and framework-specific configurations. ([e4f5930](https://github.com/cartant/rxjs-marbles/commit/e4f5930))
<a name="5.0.5"></a>

@@ -7,2 +15,3 @@ ## [5.0.5](https://github.com/cartant/rxjs-marbles/compare/v5.0.4...v5.0.5) (2020-03-20)

* Fix links to RxJS documentation in `README.md`. ([469b780](https://github.com/cartant/rxjs-marbles/commit/469b780))
* Use strict equality - `toStrictEqual` - by default for Jest. ([c12ce82](https://github.com/cartant/rxjs-marbles/commit/c12ce82))

@@ -9,0 +18,0 @@ <a name="5.0.4"></a>

@@ -14,3 +14,3 @@ import test from "ava";

});
const configured = _configure((t) => (Object.assign(Object.assign({}, configuration), factory(t))));
const configured = _configure((t) => (Object.assign(Object.assign(Object.assign({}, defaults()), factory(t)), configuration)));
const marbles = configured.marbles;

@@ -25,3 +25,3 @@ function cases(name, func, cases) {

}
const { cases, marbles } = configure(defaults());
const { cases, marbles } = configure({});
export { cases, marbles };

@@ -28,0 +28,0 @@ export function fakeSchedulers(fakeTest) {

@@ -11,3 +11,3 @@ import { _cases } from "../cases";

const { assert: defaultAssert } = defaults();
const { marbles } = _configure(Object.assign(Object.assign({}, configuration), { assert: (a, m) => {
const { marbles } = _configure(Object.assign(Object.assign(Object.assign({}, defaults()), { assert: (a, m) => {
const expectation = expect(a);

@@ -22,3 +22,3 @@ if (expectation.withContext) {

}
}, assertDeepEqual: (a, e) => expect(a).toEqual(e) }));
}, assertDeepEqual: (a, e) => expect(a).toEqual(e) }), configuration));
function cases(name, func, cases) {

@@ -39,3 +39,3 @@ describe(name, () => {

}
const { cases, marbles } = configure(defaults());
const { cases, marbles } = configure({});
export { cases, marbles };

@@ -42,0 +42,0 @@ export function fakeSchedulers(fakeTest) {

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

export function configure(configuration) {
const { marbles } = _configure(Object.assign(Object.assign({}, configuration), { assertDeepEqual: (a, e) => expect(a).toStrictEqual(e), frameworkMatcher: true }));
const { marbles } = _configure(Object.assign(Object.assign(Object.assign({}, defaults()), { assertDeepEqual: (a, e) => expect(a).toEqual(e), frameworkMatcher: true }), configuration));
function cases(name, func, cases) {

@@ -26,3 +26,3 @@ describe(name, () => {

}
const { cases, marbles } = configure(defaults());
const { cases, marbles } = configure({});
export { cases, marbles };

@@ -14,3 +14,3 @@ import * as tape from "tape";

});
const configured = _configure((t) => (Object.assign(Object.assign({}, configuration), factory(t))));
const configured = _configure((t) => (Object.assign(Object.assign(Object.assign({}, defaults()), factory(t)), configuration)));
const marbles = configured.marbles;

@@ -25,3 +25,3 @@ function cases(name, func, cases) {

}
const { cases, marbles } = configure(defaults());
const { cases, marbles } = configure({});
export { cases, marbles };

@@ -28,0 +28,0 @@ export function fakeSchedulers(fakeTest) {

@@ -25,3 +25,3 @@ var __assign = (this && this.__assign) || function () {

}); };
var configured = _configure(function (t) { return (__assign(__assign({}, configuration), factory(t))); });
var configured = _configure(function (t) { return (__assign(__assign(__assign({}, defaults()), factory(t)), configuration)); });
var marbles = configured.marbles;

@@ -36,3 +36,3 @@ function cases(name, func, cases) {

}
var _a = configure(defaults()), cases = _a.cases, marbles = _a.marbles;
var _a = configure({}), cases = _a.cases, marbles = _a.marbles;
export { cases, marbles };

@@ -39,0 +39,0 @@ export function fakeSchedulers(fakeTest) {

@@ -29,3 +29,3 @@ var __assign = (this && this.__assign) || function () {

var defaultAssert = defaults().assert;
var marbles = _configure(__assign(__assign({}, configuration), { assert: function (a, m) {
var marbles = _configure(__assign(__assign(__assign({}, defaults()), { assert: function (a, m) {
var expectation = expect(a);

@@ -40,3 +40,3 @@ if (expectation.withContext) {

}
}, assertDeepEqual: function (a, e) { return expect(a).toEqual(e); } })).marbles;
}, assertDeepEqual: function (a, e) { return expect(a).toEqual(e); } }), configuration)).marbles;
function cases(name, func, cases) {

@@ -69,3 +69,3 @@ describe(name, function () {

}
var _a = configure(defaults()), cases = _a.cases, marbles = _a.marbles;
var _a = configure({}), cases = _a.cases, marbles = _a.marbles;
export { cases, marbles };

@@ -72,0 +72,0 @@ export function fakeSchedulers(fakeTest) {

@@ -27,3 +27,3 @@ var __assign = (this && this.__assign) || function () {

export function configure(configuration) {
var marbles = _configure(__assign(__assign({}, configuration), { assertDeepEqual: function (a, e) { return expect(a).toStrictEqual(e); }, frameworkMatcher: true })).marbles;
var marbles = _configure(__assign(__assign(__assign({}, defaults()), { assertDeepEqual: function (a, e) { return expect(a).toEqual(e); }, frameworkMatcher: true }), configuration)).marbles;
function cases(name, func, cases) {

@@ -56,3 +56,3 @@ describe(name, function () {

}
var _a = configure(defaults()), cases = _a.cases, marbles = _a.marbles;
var _a = configure({}), cases = _a.cases, marbles = _a.marbles;
export { cases, marbles };

@@ -25,3 +25,3 @@ var __assign = (this && this.__assign) || function () {

}); };
var configured = _configure(function (t) { return (__assign(__assign({}, configuration), factory(t))); });
var configured = _configure(function (t) { return (__assign(__assign(__assign({}, defaults()), factory(t)), configuration)); });
var marbles = configured.marbles;

@@ -36,3 +36,3 @@ function cases(name, func, cases) {

}
var _a = configure(defaults()), cases = _a.cases, marbles = _a.marbles;
var _a = configure({}), cases = _a.cases, marbles = _a.marbles;
export { cases, marbles };

@@ -39,0 +39,0 @@ export function fakeSchedulers(fakeTest) {

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

var defaultAssert = configuration_1.defaults().assert;
var marbles = marbles_1.configure(__assign(__assign({}, configuration), { assert: function (a, m) {
var marbles = marbles_1.configure(__assign(__assign(__assign({}, configuration_1.defaults()), { assert: function (a, m) {
var expectation = expect(a);

@@ -45,3 +45,3 @@ if (expectation.withContext) {

}
}, assertDeepEqual: function (a, e) { return expect(a).toEqual(e); } })).marbles;
}, assertDeepEqual: function (a, e) { return expect(a).toEqual(e); } }), configuration)).marbles;
function cases(name, func, cases) {

@@ -75,3 +75,3 @@ describe(name, function () {

exports.configure = configure;
var _a = configure(configuration_1.defaults()), cases = _a.cases, marbles = _a.marbles;
var _a = configure({}), cases = _a.cases, marbles = _a.marbles;
exports.cases = cases;

@@ -78,0 +78,0 @@ exports.marbles = marbles;

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

function configure(configuration) {
var marbles = marbles_1.configure(__assign(__assign({}, configuration), { assertDeepEqual: function (a, e) { return expect(a).toStrictEqual(e); }, frameworkMatcher: true })).marbles;
var marbles = marbles_1.configure(__assign(__assign(__assign({}, configuration_1.defaults()), { assertDeepEqual: function (a, e) { return expect(a).toEqual(e); }, frameworkMatcher: true }), configuration)).marbles;
function cases(name, func, cases) {

@@ -62,4 +62,4 @@ describe(name, function () {

exports.configure = configure;
var _a = configure(configuration_1.defaults()), cases = _a.cases, marbles = _a.marbles;
var _a = configure({}), cases = _a.cases, marbles = _a.marbles;
exports.cases = cases;
exports.marbles = marbles;

@@ -56,4 +56,4 @@ {

"unpkg": "./bundles/rxjs-marbles.umd.js",
"version": "5.0.5",
"version": "5.0.6",
"ava": {}
}

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

}); };
var configured = marbles_1.configure(function (t) { return (__assign(__assign({}, configuration), factory(t))); });
var configured = marbles_1.configure(function (t) { return (__assign(__assign(__assign({}, configuration_1.defaults()), factory(t)), configuration)); });
var marbles = configured.marbles;

@@ -42,3 +42,3 @@ function cases(name, func, cases) {

exports.configure = configure;
var _a = configure(configuration_1.defaults()), cases = _a.cases, marbles = _a.marbles;
var _a = configure({}), cases = _a.cases, marbles = _a.marbles;
exports.cases = cases;

@@ -45,0 +45,0 @@ exports.marbles = marbles;

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