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

gwen

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gwen - npm Package Compare versions

Comparing version 0.8.6 to 0.8.7

21

lib/src/GwenBaseBase.js

@@ -20,4 +20,8 @@ "use strict";

};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var emotion_1 = require("emotion");
var object_hash_1 = __importDefault(require("object-hash"));
var flattenArg = function (arg) {

@@ -67,5 +71,4 @@ var allArgs = [];

}
var hashKey = JSON.stringify(args);
var hashKey = object_hash_1.default(args);
if (_this._cache[hashKey]) {
// console.log(`cache hit`);
return _this._cache[hashKey];

@@ -78,2 +81,16 @@ }

};
// _css = <T extends keyof ObjectInterpolation<undefined>>(key: T, arg: ObjectInterpolation<undefined>[T]) => {
// // const hashKey = JSON.stringify(args);
// if (this._cache[hashKey]) {
// // console.log(`cache hit`);
// return this._cache[hashKey] as any;
// }
// // this.params.cssArray = [...this.params.cssArray, ...args];
// const newInstance = new (this as any).constructor(this.theme, {
// ...this.params,
// cssArray: [...this.params.cssArray, ...args],
// });
// this._cache[hashKey] = newInstance;
// return newInstance;
// };
// cx = (...args: CxArgs): this => {

@@ -80,0 +97,0 @@ // return new (this as any).constructor(this.theme, {

6

package.json
{
"name": "gwen",
"version": "0.8.6",
"version": "0.8.7",
"description": "A utility-first CSS library designed for brevity",

@@ -23,3 +23,5 @@ "main": "./lib/src/index.js",

"@types/color": "^3.0.1",
"color": "^3.1.2"
"@types/object-hash": "^1.3.3",
"color": "^3.1.2",
"object-hash": "^2.0.3"
},

@@ -26,0 +28,0 @@ "tags": [],

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