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.6.1 to 0.6.2

20

esm/index.js

@@ -147,8 +147,8 @@ 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); }

delete obj[key];
obj[key] = undefined;
},
process: function process() {
arrayLoop(items, function (cb) {
return cb();
});
for (var i = 0; i < items.length; i += 1) {
items[i]();
}
}

@@ -159,4 +159,6 @@ };

function validateDeclarationBlock(block, name) {
if (!isObject(block)) {
throw new TypeError("\"" + name + "\" must be a declaration object of CSS properties.");
if ("production" !== process.env.NODE_ENV) {
if (!isObject(block)) {
throw new TypeError("\"" + name + "\" must be a declaration object of CSS properties.");
}
}

@@ -192,4 +194,6 @@

function validateDeclarations(block, name) {
if (!isObject(block)) {
throw new Error(name + " must be a mapping of CSS " + (name === '@variables' ? 'variables' : 'declarations') + ".");
if ("production" !== process.env.NODE_ENV) {
if (!isObject(block)) {
throw new Error(name + " must be a mapping of CSS " + (name === '@variables' ? 'variables' : 'declarations') + ".");
}
}

@@ -196,0 +200,0 @@

@@ -153,8 +153,8 @@ 'use strict';

delete obj[key];
obj[key] = undefined;
},
process: function process() {
utils.arrayLoop(items, function (cb) {
return cb();
});
for (var i = 0; i < items.length; i += 1) {
items[i]();
}
}

@@ -165,4 +165,6 @@ };

function validateDeclarationBlock(block, name) {
if (!utils.isObject(block)) {
throw new TypeError("\"" + name + "\" must be a declaration object of CSS properties.");
if ("production" !== process.env.NODE_ENV) {
if (!utils.isObject(block)) {
throw new TypeError("\"" + name + "\" must be a declaration object of CSS properties.");
}
}

@@ -198,4 +200,6 @@

function validateDeclarations(block, name) {
if (!utils.isObject(block)) {
throw new Error(name + " must be a mapping of CSS " + (name === '@variables' ? 'variables' : 'declarations') + ".");
if ("production" !== process.env.NODE_ENV) {
if (!utils.isObject(block)) {
throw new Error(name + " must be a mapping of CSS " + (name === '@variables' ? 'variables' : 'declarations') + ".");
}
}

@@ -202,0 +206,0 @@

6

package.json
{
"name": "@aesthetic/sss",
"version": "0.6.1",
"version": "0.6.2",
"description": "A strict, type-safe, and structure-safe component style sheet format.",

@@ -33,3 +33,3 @@ "keywords": [

"dependencies": {
"@aesthetic/types": "^0.4.1",
"@aesthetic/types": "^0.4.2",
"@aesthetic/utils": "^0.6.1",

@@ -41,3 +41,3 @@ "csstype": "^3.0.5"

},
"gitHead": "7bb66e4727a310474a5412d037e2b1393c57540a"
"gitHead": "ba9b49086e409517e03cd920008934773fd4e6e9"
}

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

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