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

@quartz/js-utils

Package Overview
Dependencies
Maintainers
8
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@quartz/js-utils - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

5

dist/hexToRGB.d.ts
/**
* Convert a hex color like #336699 to an array of RGB values.
*
* @param {String} hexColor 3- or 6-character hex color.
* @return {Array}
*/
export default function hexToRGB(hexColor: string): number[];
export default function hexToRGB(hexColor: string): [number, number, number];

3

dist/hexToRGB.js

@@ -5,5 +5,2 @@ "use strict";

* Convert a hex color like #336699 to an array of RGB values.
*
* @param {String} hexColor 3- or 6-character hex color.
* @return {Array}
*/

@@ -10,0 +7,0 @@ function hexToRGB(hexColor) {

@@ -11,5 +11,5 @@ "use strict";

function minifyCss(css) {
return css.replace(/\s*([{}\(\);:,])\s*/g, '$1');
return css.replace(/\s*([{}\(\);:,])\s*/g, '$1').trim();
}
exports.default = minifyCss;
//# sourceMappingURL=minifyCss.js.map
{
"name": "@quartz/js-utils",
"version": "1.1.0",
"version": "1.1.1",
"description": "A collection of reusable JavaScript utilities for Quartz products.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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