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

@stylable/core

Package Overview
Dependencies
Maintainers
6
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylable/core - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

11

dist/stylable-assets.d.ts
import type * as postcss from 'postcss';
import { UrlNode } from 'css-selector-tokenizer';
export interface UrlNode {
type: 'url';
url: string;
stringType?: string;
name?: string;
before?: string;
after?: string;
innerSpacingBefore?: string;
innerSpacingAfter?: string;
}
export declare type OnUrlCallback = (node: UrlNode) => void;

@@ -4,0 +13,0 @@ export declare function collectAssets(ast: postcss.Root): string[];

2

package.json
{
"name": "@stylable/core",
"version": "4.2.0",
"version": "4.2.1",
"description": "CSS for Components",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

import path from 'path';
import type * as postcss from 'postcss';
import cssSelectorTokenizer, { AnyValueNode, UrlNode } from 'css-selector-tokenizer';
import cssSelectorTokenizer from 'css-selector-tokenizer';
const { parseValues, stringifyValues } = cssSelectorTokenizer;
export interface UrlNode {
type: 'url';
url: string;
stringType?: string;
name?: string;
before?: string;
after?: string;
innerSpacingBefore?: string;
innerSpacingAfter?: string;
}
export type OnUrlCallback = (node: UrlNode) => void;

@@ -66,3 +77,3 @@

function findUrls(node: AnyValueNode, onUrl: OnUrlCallback) {
function findUrls(node: cssSelectorTokenizer.AnyValueNode, onUrl: OnUrlCallback) {
switch (node.type) {

@@ -69,0 +80,0 @@ case 'value':

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