@stylable/core-test-kit
Advanced tools
Comparing version 2.1.4 to 2.1.5-alpha.0
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var flatten = require('flat'); | ||
var chai_1 = require("chai"); | ||
var flat_1 = __importDefault(require("flat")); | ||
function flatMatch(chai, util) { | ||
@@ -9,3 +12,3 @@ var flag = util.flag; | ||
if (maxDepth === void 0) { maxDepth = 5; } | ||
chai_1.expect(flatten(flag(this, 'object'), { maxDepth: maxDepth })).to.contain(flatten(obj)); | ||
chai_1.expect(flat_1.default(flag(this, 'object'), { maxDepth: maxDepth })).to.contain(flat_1.default(obj)); | ||
}); | ||
@@ -12,0 +15,0 @@ } |
{ | ||
"name": "@stylable/core-test-kit", | ||
"version": "2.1.4", | ||
"version": "2.1.5-alpha.0", | ||
"description": "Stylable core test-kit", | ||
@@ -14,3 +14,3 @@ "main": "./cjs/index.js", | ||
"dependencies": { | ||
"@stylable/core": "^2.1.4", | ||
"@stylable/core": "^2.1.5-alpha.0", | ||
"chai": "^4.2.0", | ||
@@ -35,3 +35,3 @@ "flat": "^4.1.0", | ||
"license": "BSD-3-Clause", | ||
"gitHead": "7649161870e66f45df058db8157b4e03afba98a1" | ||
"gitHead": "afc507c97909ce8d221ca4dc90344fadbc0e385a" | ||
} |
@@ -1,4 +0,3 @@ | ||
const flatten = require('flat'); | ||
import { expect } from 'chai'; | ||
import flatten from 'flat'; | ||
@@ -5,0 +4,0 @@ export function flatMatch(chai: any, util: any) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
50895
794
1
1