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
6
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 3.8.4 to 3.9.0

9

cjs/diagnostics.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.shouldReportNoDiagnostics = exports.expectWarningsFromTransform = exports.expectWarnings = exports.findTestLocations = void 0;
const chai_1 = require("chai");
const deindent_1 = __importDefault(require("deindent"));
const core_1 = require("@stylable/core");
const chai_1 = require("chai");
const generate_test_util_1 = require("./generate-test-util");
const deindent = require('deindent');
function findTestLocations(css) {

@@ -70,3 +73,3 @@ let line = 1;

for (const path in config.files) {
const source = findTestLocations(deindent(config.files[path].content).trim());
const source = findTestLocations(deindent_1.default(config.files[path].content).trim());
config.files[path].content = source.css;

@@ -73,0 +76,0 @@ locations[path] = source;

{
"name": "@stylable/core-test-kit",
"version": "3.8.4",
"version": "3.9.0",
"description": "Stylable core test-kit",

@@ -14,5 +14,5 @@ "main": "./cjs/index.js",

"dependencies": {
"@stylable/core": "^3.8.4",
"@stylable/core": "^3.9.0",
"chai": "^4.2.0",
"flat": "^5.0.0",
"flat": "^5.0.2",
"postcss": "^7.0.32"

@@ -19,0 +19,0 @@ },

@@ -0,5 +1,5 @@

import { expect } from 'chai';
import deindent from 'deindent';
import { Diagnostics, process, safeParse, StylableMeta, StylableResults } from '@stylable/core';
import { expect } from 'chai';
import { Config, generateFromMock } from './generate-test-util';
const deindent = require('deindent');

@@ -6,0 +6,0 @@ export interface Diagnostic {

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