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

@tokey/css-value-parser

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tokey/css-value-parser - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

dist/value-parser.js

@@ -300,3 +300,3 @@ "use strict";

function isStartOfNumber(value) {
const match = value.match(new RegExp(validNumberRegex, `i`));
const match = value.match(new RegExp(`^(` + validNumberRegex + `)`, `i`));
const numVal = match === null || match === void 0 ? void 0 : match[0];

@@ -303,0 +303,0 @@ return numVal ? [numVal, value.substring(numVal.length)] : false;

{
"name": "@tokey/css-value-parser",
"description": "value parser for css",
"version": "0.0.1",
"version": "0.0.2",
"main": "dist/index.js",

@@ -14,3 +14,3 @@ "types": "dist/index.d.ts",

"devDependencies": {
"@webref/css": "^2.0.12"
"@webref/css": "^3.0.1"
},

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

@@ -373,3 +373,3 @@ import {

function isStartOfNumber(value: string): false | [number: string, leftover: string] {
const match = value.match(new RegExp(validNumberRegex, `i`));
const match = value.match(new RegExp(`^(` + validNumberRegex + `)`, `i`));
const numVal = match?.[0];

@@ -376,0 +376,0 @@ return numVal ? [numVal, value.substring(numVal.length)] : false;

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