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

@stylable/core-test-kit

Package Overview
Dependencies
Maintainers
5
Versions
188
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylable/core-test-kit - npm Package Compare versions

Comparing version 2.1.4 to 2.1.5-alpha.0

7

cjs/matchers/flat-match.js
"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

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