Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aesthetic

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aesthetic - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

10

Aesthetic.js

@@ -179,9 +179,7 @@ 'use strict';

if (setCount > 0) {
(function () {
var transformedOutput = _this.adapter.transform(styleName, toTransform);
var transformedOutput = this.adapter.transform(styleName, toTransform);
Object.keys(transformedOutput).forEach(function (setName) {
output[setName] = _this.validateTransform(styleName, setName, transformedOutput[setName]);
});
})();
Object.keys(transformedOutput).forEach(function (setName) {
output[setName] = _this.validateTransform(styleName, setName, transformedOutput[setName]);
});
}

@@ -188,0 +186,0 @@

4

ClassNameAdapter.js

@@ -39,4 +39,4 @@ 'use strict';

_createClass(ClassNameAdapter, [{
key: 'transformStyles',
value: function transformStyles(styleName, declarations) {
key: 'transform',
value: function transform(styleName, declarations) {
var classNames = {};

@@ -43,0 +43,0 @@

{
"name": "aesthetic",
"version": "0.5.0",
"version": "0.5.1",
"description": "Abstract library to support a range of styling options for React components.",

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

"dependencies": {
"aesthetic-utils": "^0.4.0",
"aesthetic-utils": "^0.4.1",
"hoist-non-react-statics": "^1.2.0",

@@ -20,0 +20,0 @@ "lodash.merge": "^4.6.0"

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