@react-email/button
Advanced tools
Comparing version 0.0.11 to 0.0.13
@@ -68,3 +68,3 @@ "use strict"; | ||
} | ||
const matches = value.match(/^([\d.]+)(px|em|rem|%)$/); | ||
const matches = /^([\d.]+)(px|em|rem|%)$/.exec(value); | ||
if (matches && matches.length === 3) { | ||
@@ -71,0 +71,0 @@ const numValue = parseFloat(matches[1]); |
{ | ||
"name": "@react-email/button", | ||
"version": "0.0.11", | ||
"version": "0.0.13", | ||
"description": "A link that is styled to look like a button", | ||
@@ -15,3 +15,3 @@ "sideEffects": false, | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"types": "./dist/index.d.mts", | ||
"default": "./dist/index.mjs" | ||
@@ -26,10 +26,2 @@ }, | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "tsup src/index.ts --format esm,cjs --dts --external react", | ||
"clean": "rm -rf dist", | ||
"dev": "tsup src/index.ts --format esm,cjs --dts --external react --watch", | ||
"lint": "eslint .", | ||
"test:watch": "vitest", | ||
"test": "vitest run" | ||
}, | ||
"repository": { | ||
@@ -52,10 +44,18 @@ "type": "git", | ||
"@babel/preset-react": "7.22.5", | ||
"@react-email/render": "workspace:*", | ||
"eslint-config-custom": "workspace:*", | ||
"tsconfig": "workspace:*", | ||
"typescript": "5.1.6" | ||
"typescript": "5.1.6", | ||
"eslint-config-custom": "0.0.0", | ||
"@react-email/render": "0.0.10", | ||
"tsconfig": "0.0.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
"build": "tsup src/index.ts --format esm,cjs --dts --external react", | ||
"clean": "rm -rf dist", | ||
"dev": "tsup src/index.ts --format esm,cjs --dts --external react --watch", | ||
"lint": "eslint .", | ||
"test:watch": "vitest", | ||
"test": "vitest run" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17775