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

@aesthetic/utils

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aesthetic/utils - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

9

esm/index.js

@@ -79,9 +79,12 @@ import hash from 'string-hash';

var CAMEL_CASE_PATTERN = /[A-Z]/g;
var VENDOR_PREFIX_PATTERN = /^(m[s\u017F]|moz|web[k\u212A]it)/i;
var cache$1 = {};
function toLower(match) {
return "-" + match.toLocaleLowerCase();
return "-" + match.toLowerCase();
}
function isPrefixed(value) {
return value.slice(0, 2) === 'ms' || value.slice(0, 3) === 'moz' || value.slice(0, 6) === 'webkit';
}
function hyphenate(value) {

@@ -91,3 +94,3 @@ if (!cache$1[value]) {

if (VENDOR_PREFIX_PATTERN.test(result)) {
if (isPrefixed(result)) {
result = "-" + result;

@@ -94,0 +97,0 @@ }

@@ -87,9 +87,12 @@ 'use strict';

var CAMEL_CASE_PATTERN = /[A-Z]/g;
var VENDOR_PREFIX_PATTERN = /^(m[s\u017F]|moz|web[k\u212A]it)/i;
var cache$1 = {};
function toLower(match) {
return "-" + match.toLocaleLowerCase();
return "-" + match.toLowerCase();
}
function isPrefixed(value) {
return value.slice(0, 2) === 'ms' || value.slice(0, 3) === 'moz' || value.slice(0, 6) === 'webkit';
}
function hyphenate(value) {

@@ -99,3 +102,3 @@ if (!cache$1[value]) {

if (VENDOR_PREFIX_PATTERN.test(result)) {
if (isPrefixed(result)) {
result = "-" + result;

@@ -102,0 +105,0 @@ }

{
"name": "@aesthetic/utils",
"version": "0.4.0",
"version": "0.4.1",
"description": "Utility functions for Aesthetic.",

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

},
"gitHead": "8297745d639624433c264a334304166344702cfc"
"gitHead": "67700b2a4307e451ddb61b3f7ca631080174838f"
}

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