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

@aesthetic/sss

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aesthetic/sss - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

13

esm/index.js

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

import { objectLoop, isObject, hyphenate, arrayLoop, toArray } from '@aesthetic/utils';
import { objectLoop, arrayLoop, isObject, hyphenate, toArray } from '@aesthetic/utils';

@@ -113,3 +113,3 @@ var Block = function () {

if (Array.isArray(fontFace.local)) {
fontFace.local.forEach(function (alias) {
arrayLoop(fontFace.local, function (alias) {
src.push("local('" + alias + "')");

@@ -121,3 +121,3 @@ });

if (Array.isArray(fontFace.srcPaths)) {
fontFace.srcPaths.forEach(function (srcPath) {
arrayLoop(fontFace.srcPaths, function (srcPath) {
var ext = srcPath.slice(srcPath.lastIndexOf('.'));

@@ -360,3 +360,6 @@

var SELECTOR = /^((\[[\x2Da-z\u017F\u212A]+\])|(::?[\x2Da-z\u017F\u212A]+))$/i;
function isSelector(value) {
return value[0] === ':' || value[0] === '[';
}
function parseSelector(parent, selector, object, inAtRule, events) {

@@ -366,3 +369,3 @@ if ("production" !== process.env.NODE_ENV) {

if ((selector.includes(',') || !selector.match(SELECTOR)) && !inAtRule) {
if ((selector.includes(',') || !isSelector(selector)) && !inAtRule) {
throw new Error("Advanced selector \"" + selector + "\" must be nested within a @selectors block.");

@@ -369,0 +372,0 @@ }

@@ -117,3 +117,3 @@ 'use strict';

if (Array.isArray(fontFace.local)) {
fontFace.local.forEach(function (alias) {
utils.arrayLoop(fontFace.local, function (alias) {
src.push("local('" + alias + "')");

@@ -125,3 +125,3 @@ });

if (Array.isArray(fontFace.srcPaths)) {
fontFace.srcPaths.forEach(function (srcPath) {
utils.arrayLoop(fontFace.srcPaths, function (srcPath) {
var ext = srcPath.slice(srcPath.lastIndexOf('.'));

@@ -364,3 +364,6 @@

var SELECTOR = /^((\[[\x2Da-z\u017F\u212A]+\])|(::?[\x2Da-z\u017F\u212A]+))$/i;
function isSelector(value) {
return value[0] === ':' || value[0] === '[';
}
function parseSelector(parent, selector, object, inAtRule, events) {

@@ -370,3 +373,3 @@ if ("production" !== process.env.NODE_ENV) {

if ((selector.includes(',') || !selector.match(SELECTOR)) && !inAtRule) {
if ((selector.includes(',') || !isSelector(selector)) && !inAtRule) {
throw new Error("Advanced selector \"" + selector + "\" must be nested within a @selectors block.");

@@ -373,0 +376,0 @@ }

@@ -105,2 +105,3 @@ import { CSST, FontFace as BaseFontFace, Keyframes as BaseKeyframes, Declarations, Property, Value, Variables } from '@aesthetic/types';

borderTop?: CSST.Property.BorderTop<Value> | BorderProperty;
clip?: string;
columnRule?: CSST.Property.ColumnRule<Value> | ColumnRuleProperty;

@@ -107,0 +108,0 @@ flex?: CSST.Property.Flex<Value> | FlexProperty;

{
"name": "@aesthetic/sss",
"version": "0.4.0",
"version": "0.4.1",
"description": "A strict, type-safe, and structure-safe component style sheet format.",

@@ -28,6 +28,6 @@ "keywords": [

"dependencies": {
"@aesthetic/types": "^0.2.0",
"@aesthetic/utils": "^0.4.0"
"@aesthetic/types": "^0.2.1",
"@aesthetic/utils": "^0.4.1"
},
"gitHead": "8297745d639624433c264a334304166344702cfc"
"gitHead": "67700b2a4307e451ddb61b3f7ca631080174838f"
}

Sorry, the diff of this file is not supported yet

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