@stylable/core-test-kit
Advanced tools
Comparing version 5.3.1-rc.1 to 5.4.0
@@ -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
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
143681
43
2277
+ Added@stylable/core@5.19.0(transitive)
+ Added@tokey/css-value-parser@0.1.4(transitive)
+ Added@tokey/imports-parser@1.0.0(transitive)
- Removed@stylable/core@5.3.1-rc.1(transitive)
- Removed@tokey/imports-parser@0.1.2(transitive)
- Removeddeindent@0.1.0(transitive)
Updated@stylable/core@^5.4.0
Updatedchai@^4.3.7
Updatedpostcss@^8.4.19