@stylable/core
Advanced tools
Comparing version 6.0.1 to 6.0.2
@@ -34,5 +34,5 @@ import { FeatureContext } from './feature'; | ||
export declare const PseudoImportDecl: { | ||
DEFAULT: "-st-default"; | ||
NAMED: "-st-named"; | ||
FROM: "-st-from"; | ||
readonly DEFAULT: "-st-default"; | ||
readonly NAMED: "-st-named"; | ||
readonly FROM: "-st-from"; | ||
}; | ||
@@ -39,0 +39,0 @@ /** |
@@ -47,4 +47,4 @@ import * as STSymbol from './st-symbol'; | ||
export declare const MixinType: { | ||
ALL: "-st-mixin"; | ||
PARTIAL: "-st-partial-mixin"; | ||
readonly ALL: "-st-mixin"; | ||
readonly PARTIAL: "-st-partial-mixin"; | ||
}; | ||
@@ -51,0 +51,0 @@ export declare const diagnostics: { |
import type { FunctionNode } from 'postcss-value-parser'; | ||
export declare const PROPERTY: "-st-global"; | ||
export declare const GLOBAL_FUNC: "st-global"; | ||
export declare const PROPERTY = "-st-global"; | ||
export declare const GLOBAL_FUNC = "st-global"; | ||
export declare function globalValue(str: string): string | undefined; | ||
export declare function globalValueFromFunctionNode(funcNode: FunctionNode): string | undefined; | ||
//# sourceMappingURL=global.d.ts.map |
{ | ||
"name": "@stylable/core", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"description": "CSS for Components", | ||
@@ -10,3 +10,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@file-services/resolve": "^9.0.0", | ||
"@file-services/resolve": "^9.2.0", | ||
"@tokey/css-selector-parser": "^0.6.2", | ||
@@ -20,3 +20,3 @@ "@tokey/css-value-parser": "^0.1.4", | ||
"lodash.clonedeepwith": "^4.5.0", | ||
"postcss": "^8.4.35", | ||
"postcss": "^8.4.38", | ||
"postcss-js": "^4.0.1", | ||
@@ -23,0 +23,0 @@ "postcss-nested": "^6.0.1", |
@@ -51,6 +51,6 @@ import { createFeature, FeatureContext, FeatureTransformContext } from './feature'; | ||
export const PseudoImportDecl = { | ||
DEFAULT: `-st-default` as const, | ||
NAMED: `-st-named` as const, | ||
FROM: `-st-from` as const, | ||
}; | ||
DEFAULT: `-st-default`, | ||
NAMED: `-st-named`, | ||
FROM: `-st-from`, | ||
} as const; | ||
@@ -57,0 +57,0 @@ /** |
@@ -58,5 +58,5 @@ import { createFeature, FeatureTransformContext } from './feature'; | ||
export const MixinType = { | ||
ALL: `-st-mixin` as const, | ||
PARTIAL: `-st-partial-mixin` as const, | ||
}; | ||
ALL: `-st-mixin`, | ||
PARTIAL: `-st-partial-mixin`, | ||
} as const; | ||
@@ -63,0 +63,0 @@ export const diagnostics = { |
@@ -508,3 +508,3 @@ import { plugableRecord } from '../helpers/plugable-record'; | ||
for (let i = def.params.length - 1; i >= 0; i--) { | ||
const node = def.params[i]; | ||
const node: BaseAstNode = def.params[i]; | ||
if (node === arrowEnd) { | ||
@@ -511,0 +511,0 @@ break; |
import type { FunctionNode } from 'postcss-value-parser'; | ||
export const PROPERTY = `-st-global` as const; | ||
export const GLOBAL_FUNC = 'st-global' as const; | ||
export const PROPERTY = `-st-global`; | ||
export const GLOBAL_FUNC = 'st-global'; | ||
@@ -6,0 +6,0 @@ const globalValueRegExp = new RegExp(`^${GLOBAL_FUNC}\\((.*?)\\)$`); |
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
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
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
5364349
29283
Updatedpostcss@^8.4.38