rxjs-marbles
Advanced tools
Comparing version 5.0.6 to 6.0.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(__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?"); | ||
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).toStrictEqual(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 @@ /***/ }), |
@@ -0,1 +1,8 @@ | ||
<a name="6.0.0"></a> | ||
## [6.0.0](https://github.com/cartant/rxjs-marbles/compare/v5.0.6...v6.0.0) (2020-03-26) | ||
### Breaking changes | ||
* Use strict equality - `toStrictEqual` - by default for Jest. ([c12ce82](https://github.com/cartant/rxjs-marbles/commit/c12ce82)) | ||
<a name="5.0.6"></a> | ||
@@ -2,0 +9,0 @@ ## [5.0.6](https://github.com/cartant/rxjs-marbles/compare/v5.0.5...v5.0.6) (2020-03-26) |
@@ -9,3 +9,3 @@ import { _cases } from "../cases"; | ||
export function configure(configuration) { | ||
const { marbles } = _configure(Object.assign(Object.assign(Object.assign({}, defaults()), { assertDeepEqual: (a, e) => expect(a).toEqual(e), frameworkMatcher: true }), configuration)); | ||
const { marbles } = _configure(Object.assign(Object.assign(Object.assign({}, defaults()), { assertDeepEqual: (a, e) => expect(a).toStrictEqual(e), frameworkMatcher: true }), configuration)); | ||
function cases(name, func, cases) { | ||
@@ -12,0 +12,0 @@ describe(name, () => { |
@@ -27,3 +27,3 @@ var __assign = (this && this.__assign) || function () { | ||
export function configure(configuration) { | ||
var marbles = _configure(__assign(__assign(__assign({}, defaults()), { assertDeepEqual: function (a, e) { return expect(a).toEqual(e); }, frameworkMatcher: true }), configuration)).marbles; | ||
var marbles = _configure(__assign(__assign(__assign({}, defaults()), { assertDeepEqual: function (a, e) { return expect(a).toStrictEqual(e); }, frameworkMatcher: true }), configuration)).marbles; | ||
function cases(name, func, cases) { | ||
@@ -30,0 +30,0 @@ describe(name, function () { |
@@ -32,3 +32,3 @@ "use strict"; | ||
function configure(configuration) { | ||
var marbles = marbles_1.configure(__assign(__assign(__assign({}, configuration_1.defaults()), { assertDeepEqual: function (a, e) { return expect(a).toEqual(e); }, frameworkMatcher: true }), configuration)).marbles; | ||
var marbles = marbles_1.configure(__assign(__assign(__assign({}, configuration_1.defaults()), { assertDeepEqual: function (a, e) { return expect(a).toStrictEqual(e); }, frameworkMatcher: true }), configuration)).marbles; | ||
function cases(name, func, cases) { | ||
@@ -35,0 +35,0 @@ describe(name, function () { |
@@ -56,4 +56,4 @@ { | ||
"unpkg": "./bundles/rxjs-marbles.umd.js", | ||
"version": "5.0.6", | ||
"version": "6.0.0", | ||
"ava": {} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
444788