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 5.3.1-rc.1 to 5.4.0

4

dist/diagnostics.d.ts

@@ -44,4 +44,4 @@ import type { Position } from 'postcss';

export declare function shouldReportNoDiagnostics(meta: StylableMeta, checkTransformDiagnostics?: boolean): void;
export declare type DiagnosticsBank = Record<string, (...args: any[]) => DiagnosticBase>;
export declare type UnwrapDiagnosticMessage<T extends DiagnosticsBank> = {
export type DiagnosticsBank = Record<string, (...args: any[]) => DiagnosticBase>;
export type UnwrapDiagnosticMessage<T extends DiagnosticsBank> = {
[K in keyof T]: (...args: Parameters<T[K]>) => string;

@@ -48,0 +48,0 @@ };

@@ -24,3 +24,3 @@ import { Diagnostics, processNamespace, StylableMeta, Stylable, StylableConfig } from '@stylable/core';

}
export declare type RequireType = (path: string) => any;
export type RequireType = (path: string) => any;
/**@deprecated use testStylableCore */

@@ -27,0 +27,0 @@ export declare function generateInfra(config: InfraConfig, diagnostics?: Diagnostics): {

@@ -5,3 +5,2 @@ export { Diagnostic, expectAnalyzeDiagnostics, expectTransformDiagnostics, findTestLocations, shouldReportNoDiagnostics, diagnosticBankReportToStrings, } from './diagnostics';

export { matchCSSMatchers } from './matchers/match-css';
export { mediaQuery, styleRules } from './matchers/results';
export { matchAllRulesAndDeclarations, matchRuleAndDeclaration } from './match-rules';

@@ -8,0 +7,0 @@ export { testInlineExpects, testInlineExpectsErrors } from './inline-expectation';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.testStylableCore = exports.testInlineExpectsErrors = exports.testInlineExpects = exports.matchRuleAndDeclaration = exports.matchAllRulesAndDeclarations = exports.styleRules = exports.mediaQuery = exports.matchCSSMatchers = exports.flatMatch = exports.generateStylableEnvironment = exports.processSource = exports.generateStylableRoot = exports.generateStylableResult = exports.generateStylableExports = exports.generateInfra = exports.createTransformer = exports.createProcess = exports.diagnosticBankReportToStrings = exports.shouldReportNoDiagnostics = exports.findTestLocations = exports.expectTransformDiagnostics = exports.expectAnalyzeDiagnostics = void 0;
exports.testStylableCore = exports.testInlineExpectsErrors = exports.testInlineExpects = exports.matchRuleAndDeclaration = exports.matchAllRulesAndDeclarations = exports.matchCSSMatchers = exports.flatMatch = exports.generateStylableEnvironment = exports.processSource = exports.generateStylableRoot = exports.generateStylableResult = exports.generateStylableExports = exports.generateInfra = exports.createTransformer = exports.createProcess = exports.diagnosticBankReportToStrings = exports.shouldReportNoDiagnostics = exports.findTestLocations = exports.expectTransformDiagnostics = exports.expectAnalyzeDiagnostics = void 0;
var diagnostics_1 = require("./diagnostics");

@@ -23,5 +23,2 @@ Object.defineProperty(exports, "expectAnalyzeDiagnostics", { enumerable: true, get: function () { return diagnostics_1.expectAnalyzeDiagnostics; } });

Object.defineProperty(exports, "matchCSSMatchers", { enumerable: true, get: function () { return match_css_1.matchCSSMatchers; } });
var results_1 = require("./matchers/results");
Object.defineProperty(exports, "mediaQuery", { enumerable: true, get: function () { return results_1.mediaQuery; } });
Object.defineProperty(exports, "styleRules", { enumerable: true, get: function () { return results_1.styleRules; } });
var match_rules_1 = require("./match-rules");

@@ -28,0 +25,0 @@ Object.defineProperty(exports, "matchAllRulesAndDeclarations", { enumerable: true, get: function () { return match_rules_1.matchAllRulesAndDeclarations; } });

@@ -7,3 +7,3 @@ import { Stylable, StylableConfig, StylableResults } from '@stylable/core';

}
export declare type TestStylableConfig = Omit<StylableConfig, 'fileSystem' | `projectRoot` | `resolveNamespace`> & {
export type TestStylableConfig = Omit<StylableConfig, 'fileSystem' | `projectRoot` | `resolveNamespace`> & {
filesystem?: IFileSystem;

@@ -10,0 +10,0 @@ projectRoot?: StylableConfig['projectRoot'];

{
"name": "@stylable/core-test-kit",
"version": "5.3.1-rc.1",
"version": "5.4.0",
"description": "Stylable core test-kit",

@@ -11,6 +11,6 @@ "main": "dist/index.js",

"@file-services/memory": "^7.0.1",
"@stylable/core": "5.3.1-rc.1",
"chai": "^4.3.6",
"@stylable/core": "^5.4.0",
"chai": "^4.3.7",
"flat": "^5.0.2",
"postcss": "^8.4.18"
"postcss": "^8.4.19"
},

@@ -17,0 +17,0 @@ "files": [

@@ -25,5 +25,4 @@ export {

export { matchCSSMatchers } from './matchers/match-css';
export { mediaQuery, styleRules } from './matchers/results';
export { matchAllRulesAndDeclarations, matchRuleAndDeclaration } from './match-rules';
export { testInlineExpects, testInlineExpectsErrors } from './inline-expectation';
export { testStylableCore } from './test-stylable-core';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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