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 3.2.1 to 3.3.0

13

CHANGELOG.md

@@ -6,2 +6,15 @@ # Change Log

# [3.3.0](https://github.com/wintercounter/ccss/compare/v3.2.1...v3.3.0) (2020-04-17)
### Features
* **prop:** add support boolean value for opacity ([17a4302](https://github.com/wintercounter/ccss/commit/17a4302a9f4d7a12af459b0f2f86fd00252ecb13))
* **props:** add support for the most popular, non-standard webkit prefixed CSS properties ([3a6e6b3](https://github.com/wintercounter/ccss/commit/3a6e6b361a5425c1266ad822009810f1699dd755))
* **pseudo:** add support for the popular `::before, ::after` combo together ([624591c](https://github.com/wintercounter/ccss/commit/624591cf1c5cebd923a32b12486655b783899c84))
## [3.2.1](https://github.com/wintercounter/ccss/compare/v3.2.0...v3.2.1) (2020-04-09)

@@ -8,0 +21,0 @@

22

dist/cjs/createMaps.js

@@ -340,4 +340,23 @@ "use strict";

},
op: {
// @ts-ignore
[true]: 1,
// @ts-ignore
[false]: 0
},
tfo: getTfoBgpPos(),
shd: _objectSpread({}, getFalseNone())
shd: _objectSpread({}, getFalseNone()),
wtc: {
d: 'default',
n: 'none'
},
wos: {
a: 'auto',
t: 'touch'
},
wud: {
a: 'auto',
e: 'element',
n: 'none'
}
}, overrides);

@@ -351,2 +370,3 @@

'::a': '::after',
'::a, ::b': '::after, ::before',
':al': ':any-link',

@@ -353,0 +373,0 @@ '::b': '::before',

3

dist/cjs/createProps.js

@@ -30,3 +30,4 @@ "use strict";

['shd', 'shadow', 'box-shadow', _parsers.mapValue, _parsers.parseArray], ['siz', 'sizing', 'box-sizing', _parsers.mapValue], // Misc
['of', 'obj-fit', 'object-fit', _parsers.mapValue], ['oP', 'obj-pos', 'object-position'], ['op', 'opacity', 'opacity', _parsers.mapValue], ['or', 'order', 'order'], ['ol', 'outline', 'outline'], ['mbm', 'blend-mode', 'mix-blend-mode', _parsers.mapValue], ['ct', 'content', 'content'], ['cur', 'cur', 'cursor', _parsers.mapValue], ['pe', 'p-events', 'pointer-events', _parsers.mapValue], ['fil', 'filter', 'filter'], ['sb', 's-behavior', 'scroll-behavior', _parsers.mapValue], ['sw', 's-width', 'scrollbar-width', _parsers.mapValue], ['sh', 's-height', 'scrollbar-height', _parsers.mapValue], ['us', 'u-select', 'user-select', _parsers.mapValue]];
['of', 'obj-fit', 'object-fit', _parsers.mapValue], ['oP', 'obj-pos', 'object-position'], ['op', 'opacity', 'opacity', _parsers.mapValue], ['or', 'order', 'order'], ['ol', 'outline', 'outline'], ['mbm', 'blend-mode', 'mix-blend-mode', _parsers.mapValue], ['ct', 'content', 'content'], ['cur', 'cur', 'cursor', _parsers.mapValue], ['pe', 'p-events', 'pointer-events', _parsers.mapValue], ['fil', 'filter', 'filter'], ['sb', 's-behavior', 'scroll-behavior', _parsers.mapValue], ['sw', 's-width', 'scrollbar-width', _parsers.mapValue], ['sh', 's-height', 'scrollbar-height', _parsers.mapValue], ['us', 'u-select', 'user-select', _parsers.mapValue], // Webkit
['wtc', 'webkit-touch-callout', '-webkit-touch-callout', _parsers.mapValue], ['wos', 'webkit-overflow-scrolling', '-webkit-overflow-scrolling', _parsers.mapValue], ['wthc', 'webkit-tap-highlight-color', '-webkit-tap-highlight-color', _parsers.mapValue], ['wtfc', 'webkit-text-fill-color', '-webkit-text-fill-color', _parsers.mapValue], ['wud', 'webkit-user-drag', '-webkit-user-drag', _parsers.mapValue]];
};

@@ -33,0 +34,0 @@

@@ -333,4 +333,23 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

},
op: {
// @ts-ignore
[true]: 1,
// @ts-ignore
[false]: 0
},
tfo: getTfoBgpPos(),
shd: _objectSpread({}, getFalseNone())
shd: _objectSpread({}, getFalseNone()),
wtc: {
d: 'default',
n: 'none'
},
wos: {
a: 'auto',
t: 'touch'
},
wud: {
a: 'auto',
e: 'element',
n: 'none'
}
}, overrides);

@@ -341,2 +360,3 @@ export const createPseudoMap = overrides => {

'::a': '::after',
'::a, ::b': '::after, ::before',
':al': ':any-link',

@@ -343,0 +363,0 @@ '::b': '::before',

@@ -21,3 +21,4 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

['shd', 'shadow', 'box-shadow', mapValue, parseArray], ['siz', 'sizing', 'box-sizing', mapValue], // Misc
['of', 'obj-fit', 'object-fit', mapValue], ['oP', 'obj-pos', 'object-position'], ['op', 'opacity', 'opacity', mapValue], ['or', 'order', 'order'], ['ol', 'outline', 'outline'], ['mbm', 'blend-mode', 'mix-blend-mode', mapValue], ['ct', 'content', 'content'], ['cur', 'cur', 'cursor', mapValue], ['pe', 'p-events', 'pointer-events', mapValue], ['fil', 'filter', 'filter'], ['sb', 's-behavior', 'scroll-behavior', mapValue], ['sw', 's-width', 'scrollbar-width', mapValue], ['sh', 's-height', 'scrollbar-height', mapValue], ['us', 'u-select', 'user-select', mapValue]];
['of', 'obj-fit', 'object-fit', mapValue], ['oP', 'obj-pos', 'object-position'], ['op', 'opacity', 'opacity', mapValue], ['or', 'order', 'order'], ['ol', 'outline', 'outline'], ['mbm', 'blend-mode', 'mix-blend-mode', mapValue], ['ct', 'content', 'content'], ['cur', 'cur', 'cursor', mapValue], ['pe', 'p-events', 'pointer-events', mapValue], ['fil', 'filter', 'filter'], ['sb', 's-behavior', 'scroll-behavior', mapValue], ['sw', 's-width', 'scrollbar-width', mapValue], ['sh', 's-height', 'scrollbar-height', mapValue], ['us', 'u-select', 'user-select', mapValue], // Webkit
['wtc', 'webkit-touch-callout', '-webkit-touch-callout', mapValue], ['wos', 'webkit-overflow-scrolling', '-webkit-overflow-scrolling', mapValue], ['wthc', 'webkit-tap-highlight-color', '-webkit-tap-highlight-color', mapValue], ['wtfc', 'webkit-text-fill-color', '-webkit-text-fill-color', mapValue], ['wud', 'webkit-user-drag', '-webkit-user-drag', mapValue]];
};

@@ -24,0 +25,0 @@

{
"name": "@cryptic-css/core",
"version": "3.2.1",
"version": "3.3.0",
"description": "> TODO: description",

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

@@ -339,5 +339,24 @@ import { mergeDeep } from './utils'

},
op: {
// @ts-ignore
[true]: 1,
// @ts-ignore
[false]: 0
},
tfo: getTfoBgpPos(),
shd: {
...getFalseNone()
},
wtc: {
d: 'default',
n: 'none'
},
wos: {
a: 'auto',
t: 'touch'
},
wud: {
a: 'auto',
e: 'element',
n: 'none'
}

@@ -352,2 +371,3 @@ },

'::a': '::after',
'::a, ::b': '::after, ::before',
':al': ':any-link',

@@ -354,0 +374,0 @@ '::b': '::before',

@@ -217,3 +217,10 @@ import { pipe, mapValue, parseArray, parseSingle, toCSSRule, child } from './parsers'

['sh', 's-height', 'scrollbar-height', mapValue],
['us', 'u-select', 'user-select', mapValue]
['us', 'u-select', 'user-select', mapValue],
// Webkit
['wtc', 'webkit-touch-callout', '-webkit-touch-callout', mapValue],
['wos', 'webkit-overflow-scrolling', '-webkit-overflow-scrolling', mapValue],
['wthc', 'webkit-tap-highlight-color', '-webkit-tap-highlight-color', mapValue],
['wtfc', 'webkit-text-fill-color', '-webkit-text-fill-color', mapValue],
['wud', 'webkit-user-drag', '-webkit-user-drag', mapValue]
]

@@ -220,0 +227,0 @@ }

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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