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

@lwc/style-compiler

Package Overview
Dependencies
Maintainers
0
Versions
798
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lwc/style-compiler - npm Package Compare versions

Comparing version 8.9.0 to 8.10.0-alpha.0

2

dist/css-import/transform.d.ts

@@ -1,2 +0,2 @@

import { Root, Result } from 'postcss';
import type { Root, Result } from 'postcss';
export default function process(root: Root, result: Result, isScoped: boolean): void;

@@ -1,2 +0,2 @@

import { Root } from 'postcss-selector-parser';
import type { Root } from 'postcss-selector-parser';
export default function (root: Root): void;

@@ -357,2 +357,8 @@ /**

/*
* Copyright (c) 2018, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
function process$1(root, result, isScoped) {

@@ -652,2 +658,8 @@ root.walkAtRules('import', (node) => {

/*
* Copyright (c) 2018, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
// Subset of prefixes for animation-related names that we expect people might be using.

@@ -702,2 +714,8 @@ // The most important is -webkit, which is actually part of the spec now. All -webkit prefixes

/*
* Copyright (c) 2018, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
function shouldTransformSelector(rule) {

@@ -792,3 +810,3 @@ // @keyframe at-rules are special, rules inside are not standard selectors and should not be

exports.transform = transform;
/** version: 8.9.0 */
/** version: 8.10.0-alpha.0 */
//# sourceMappingURL=index.cjs.js.map

@@ -353,2 +353,8 @@ /**

/*
* Copyright (c) 2018, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
function process$1(root, result, isScoped) {

@@ -648,2 +654,8 @@ root.walkAtRules('import', (node) => {

/*
* Copyright (c) 2018, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
// Subset of prefixes for animation-related names that we expect people might be using.

@@ -698,2 +710,8 @@ // The most important is -webkit, which is actually part of the spec now. All -webkit prefixes

/*
* Copyright (c) 2018, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
function shouldTransformSelector(rule) {

@@ -788,3 +806,3 @@ // @keyframe at-rules are special, rules inside are not standard selectors and should not be

export { transform };
/** version: 8.9.0 */
/** version: 8.10.0-alpha.0 */
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

import { Root } from 'postcss-selector-parser';
import type { Root } from 'postcss-selector-parser';
export default function (root: Root): void;

@@ -1,3 +0,3 @@

import { TransformCallback } from 'postcss';
import { APIVersion } from '@lwc/shared';
import type { APIVersion } from '@lwc/shared';
import type { TransformCallback } from 'postcss';
export default function postCssLwcPlugin(options: {

@@ -4,0 +4,0 @@ scoped: boolean;

@@ -1,2 +0,2 @@

import { Root } from 'postcss';
import type { Root } from 'postcss';
export default function process(root: Root): void;

@@ -1,2 +0,2 @@

import { Root } from 'postcss-selector-parser';
import type { Root } from 'postcss-selector-parser';
export interface SelectorScopingConfig {

@@ -3,0 +3,0 @@ /** When set to true, the :host selector gets replace with the the scoping token. */

@@ -1,2 +0,2 @@

import { Root } from 'postcss-selector-parser';
import type { Root } from 'postcss-selector-parser';
export default function validate(root: Root, native: boolean): void;

@@ -1,3 +0,3 @@

import { Result } from 'postcss';
import { Config } from './index';
import type { Config } from './index';
import type { Result } from 'postcss';
export default function serialize(result: Result, config: Config): string;

@@ -1,2 +0,2 @@

import { Message } from 'postcss';
import type { Message } from 'postcss';
interface ImportMessage extends Message {

@@ -3,0 +3,0 @@ type: 'import';

@@ -1,2 +0,2 @@

import { Node, Pseudo } from 'postcss-selector-parser';
import type { Node, Pseudo } from 'postcss-selector-parser';
export declare function isDirPseudoClass(node: Node): node is Pseudo;

@@ -1,4 +0,4 @@

import { Node, Container } from 'postcss-selector-parser';
import type { Node, Container } from 'postcss-selector-parser';
export declare function findNode<T extends Node>(container: Container, predicate: (node: Node) => node is T): T | undefined;
export declare function replaceNodeWith(oldNode: Node, ...newNodes: Node[]): void;
export declare function trimNodeWhitespaces(node: Node): void;

@@ -7,3 +7,3 @@ {

"name": "@lwc/style-compiler",
"version": "8.9.0",
"version": "8.10.0-alpha.0",
"description": "Transform style sheet to be consumed by the LWC engine",

@@ -46,3 +46,3 @@ "keywords": [

"dependencies": {
"@lwc/shared": "8.9.0",
"@lwc/shared": "8.10.0-alpha.0",
"postcss": "~8.4.49",

@@ -52,2 +52,2 @@ "postcss-selector-parser": "~7.0.0",

}
}
}

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