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

@cryptic-css/core

Package Overview
Dependencies
Maintainers
2
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cryptic-css/core - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

12

dist/ccss.test.js

@@ -40,8 +40,14 @@ import ccss, { setValueMap } from "./";

});
it('undefined', () => {
it('pseudo/child', () => {
expect(ccss({
a: undefined
})).toBe('');
child: {
':h': {
c: 'white'
}
}
}).trim()).toBe(`:hover {
color: white;
}`);
});
});
});

@@ -330,5 +330,7 @@ export declare const valueMap: {

export declare const pseudoMap: {
':ac': string;
':a': string;
':al': string;
':b': string;
':bl': string;
':c': string;

@@ -335,0 +337,0 @@ ':cur': string;

@@ -326,5 +326,7 @@ import mergeDeep from "./utils";

export const pseudoMap = {
':a': 'active',
':ac': 'active',
':a': 'after',
':al': 'any-link',
':b': 'blank',
':b': 'before',
':bl': 'blank',
':c': 'checked',

@@ -331,0 +333,0 @@ ':cur': 'current',

@@ -13,3 +13,3 @@ export declare const evaluateCSSProp: (...args: any[]) => any;

* child({
* h: { d: 'b' },
* ':h': { d: 'b' },
* '.childDiv': { p: 10 }

@@ -16,0 +16,0 @@ * })

@@ -87,3 +87,3 @@ import options from "./options";

* child({
* h: { d: 'b' },
* ':h': { d: 'b' },
* '.childDiv': { p: 10 }

@@ -90,0 +90,0 @@ * })

{
"name": "@cryptic-css/core",
"version": "0.0.8",
"version": "0.0.9",
"description": "> TODO: description",

@@ -35,3 +35,3 @@ "author": "Viktor Vincze <viktor.vincze@doclerholding.com>",

},
"gitHead": "1eec7967b84dcebe17d54a4c3dd6b02529bf4d64"
"gitHead": "09229301644f4834d35568bb6b484fe535b8b38a"
}

@@ -30,6 +30,14 @@ import ccss, { setValueMap } from '@'

})
it('undefined', () => {
expect(ccss({ a: undefined })).toBe('')
it('pseudo/child', () => {
expect(
ccss({
child: {
':h': { c: 'white' }
}
}).trim()
).toBe(`:hover {
color: white;
}`)
})
})
})

@@ -330,5 +330,7 @@ export declare const valueMap: {

export declare const pseudoMap: {
':ac': string;
':a': string;
':al': string;
':b': string;
':bl': string;
':c': string;

@@ -335,0 +337,0 @@ ':cur': string;

@@ -331,5 +331,7 @@ import mergeDeep from './utils'

export const pseudoMap = {
':a': 'active',
':ac': 'active',
':a': 'after',
':al': 'any-link',
':b': 'blank',
':b': 'before',
':bl': 'blank',
':c': 'checked',

@@ -336,0 +338,0 @@ ':cur': 'current',

@@ -13,3 +13,3 @@ export declare const evaluateCSSProp: (...args: any[]) => any;

* child({
* h: { d: 'b' },
* ':h': { d: 'b' },
* '.childDiv': { p: 10 }

@@ -16,0 +16,0 @@ * })

@@ -74,3 +74,3 @@ import options from './options'

* child({
* h: { d: 'b' },
* ':h': { d: 'b' },
* '.childDiv': { p: 10 }

@@ -77,0 +77,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