New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cssfn/cssfn

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cssfn/cssfn - npm Package Compare versions

Comparing version 2.0.9 to 2.0.10

dist/index.d.ts

16

__tests__/styleSheets.test.ts

@@ -13,2 +13,3 @@ import type {

styleSheet as _styleSheet,
styleSheetRegistry as _styleSheetRegistry,

@@ -21,7 +22,4 @@

globalScope as _globalScope,
} from '../dist/cssfn.js'
} from '../dist/index.js'
import type {
styleSheetRegistry as _styleSheetRegistry,
} from '../dist/styleSheets.js'
import type {
Subject as _Subject,

@@ -76,4 +74,3 @@ } from 'rxjs'

const cssfnModule = await import('../dist/cssfn.js')
const styleSheetModule = await import('../dist/styleSheets.js')
const cssfnModule = await import('../dist/index.js')
const rxjsModule = await import('rxjs')

@@ -86,3 +83,3 @@

globalScope = cssfnModule.globalScope
styleSheetRegistry = styleSheetModule.styleSheetRegistry
styleSheetRegistry = cssfnModule.styleSheetRegistry

@@ -379,4 +376,3 @@ Subject = rxjsModule.Subject

const cssfnModule = await import('../dist/cssfn.js')
const styleSheetModule = await import('../dist/styleSheets.js')
const cssfnModule = await import('../dist/index.js')
const rxjsModule = await import('rxjs')

@@ -389,3 +385,3 @@

globalScope = cssfnModule.globalScope
styleSheetRegistry = styleSheetModule.styleSheetRegistry
styleSheetRegistry = cssfnModule.styleSheetRegistry

@@ -392,0 +388,0 @@ Subject = rxjsModule.Subject

import {
generateId,
} from '../dist/utilities.js'
} from '../dist/index.js'

@@ -5,0 +5,0 @@

import type { CssCustomValue, CssCustomProps, CssKnownValueOf, CssProps, CssRule, CssRuleCollection, CssStyle, CssStyleCollection, CssFontFaceStyleCollection, CssCustomKeyframesRef, CssKeyframes, CssKeyframesRule, CssSelectorCollection, CssSelectorOptions, CssScopeName, CssScopeOptions, CssScopeEntry } from '@cssfn/css-types';
import type { Combinator } from '@cssfn/css-selectors';
export { StyleSheetOptions, StyleSheet, styleSheets, styleSheet, } from './styleSheets.js';
export { camelCase, } from 'camel-case';
export { pascalCase, } from 'pascal-case';
/**

@@ -7,0 +4,0 @@ * Defines a conditional style(s) that is applied when the specified `selectors` meets the conditions.

// internals:
import { flat, isFinalSelector, normalizeSelectorOptions, } from './utilities.js';
export { styleSheets, styleSheet, } from './styleSheets.js';
// other libs:
export { camelCase, } from 'camel-case';
export { pascalCase, } from 'pascal-case';
import {

@@ -8,0 +5,0 @@ // tests:

import type { SingleOrDeepArray } from '@cssfn/types';
import type { CssFinalStyleMap, CssStyleCollection, CssSelectorOptions, CssRawSelector, CssFinalSelector, CssScopeName } from '@cssfn/css-types';
export { camelCase, } from 'camel-case';
export { pascalCase, } from 'pascal-case';
/**

@@ -9,5 +11,5 @@ * Returns a new array with all sub-array elements concatenated into it recursively up to infinity depth.

export declare const flat: <T>(collection: SingleOrDeepArray<T>) => T[];
export declare const isFinalSelector: (selector: CssRawSelector | CssFinalSelector) => selector is CssFinalSelector;
export declare const isFinalSelector: (selector: CssRawSelector | CssFinalSelector) => selector is string;
export declare const isFinalStyleMap: (style: CssStyleCollection | CssFinalStyleMap) => style is CssFinalStyleMap;
export declare const normalizeSelectorOptions: <TDefaultOptions extends CssSelectorOptions>(options: CssSelectorOptions | undefined, defaultOptions: TDefaultOptions) => TDefaultOptions;
export declare const generateId: (styleSheetId: string, scopeName: CssScopeName) => string;

@@ -5,2 +5,4 @@ // other libs:

default as warning, } from 'tiny-warning';
export { camelCase, } from 'camel-case';
export { pascalCase, } from 'pascal-case';
/**

@@ -7,0 +9,0 @@ * Returns a new array with all sub-array elements concatenated into it recursively up to infinity depth.

{
"name": "@cssfn/cssfn",
"version": "2.0.9",
"version": "2.0.10",
"description": "Writes, imports, and exports css stylesheets as javascript modules.",

@@ -19,4 +19,4 @@ "keywords": [

},
"main": "dist/cssfn.js",
"types": "dist/cssfn.d.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",

@@ -50,4 +50,3 @@ "sideEffects": false,

"jsdom": "^19.0.0"
},
"gitHead": "773a4e8cf24a14b27864205e30e5f30b27925c4e"
}
}

@@ -53,16 +53,4 @@ // cssfn:

} from './utilities.js'
export {
StyleSheetOptions,
StyleSheet,
styleSheets,
styleSheet,
} from './styleSheets.js'
// other libs:
export {
camelCase,
} from 'camel-case'
export {
pascalCase,
} from 'pascal-case'
import {

@@ -69,0 +57,0 @@ // tests:

@@ -23,2 +23,8 @@ // cssfn:

} from 'tiny-warning'
export {
camelCase,
} from 'camel-case'
export {
pascalCase,
} from 'pascal-case'

@@ -25,0 +31,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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