postcss-preset-mantine
Advanced tools
Comparing version 1.6.0 to 1.7.0
@@ -28,3 +28,3 @@ "use strict"; | ||
const em = createConverter('em'); | ||
const getRegExp = (units) => new RegExp('(?!\\W+)' + units + '\\(([^()]+)\\)', 'g'); | ||
const getRegExp = (units) => new RegExp('\\b' + units + '\\(([^()]+)\\)', 'g'); | ||
const emRegExp = getRegExp('em'); | ||
@@ -31,0 +31,0 @@ const remRegExp = getRegExp('rem'); |
{ | ||
"name": "postcss-preset-mantine", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "PostCSS preset for Mantine (7.0+) applications", | ||
@@ -15,2 +15,3 @@ "main": "dist/preset.js", | ||
"devDependencies": { | ||
"@types/jest": "^29.5.2", | ||
"@types/node": "^20.2.6", | ||
@@ -21,3 +22,6 @@ "@types/postcss-mixins": "^9.0.0", | ||
"eslint": "^8.42.0", | ||
"jest": "^29.5.0", | ||
"postcss": "^8.4.24", | ||
"prettier": "^2.8.8", | ||
"ts-jest": "^29.1.0", | ||
"tsc": "^2.0.4", | ||
@@ -29,5 +33,8 @@ "typescript": "^5.1.3" | ||
"lint": "eslint src --cache", | ||
"format": "prettier src", | ||
"format:check": "prettier --check src", | ||
"typecheck": "tsc --noEmit", | ||
"test": "npm run typecheck && npm run lint", | ||
"prepublish": "npm test && npm run build" | ||
"jest": "jest", | ||
"prepublish": "yarn test && yarn build", | ||
"test": "npm run lint && npm run format:check && npm run typecheck && npm run jest" | ||
}, | ||
@@ -34,0 +41,0 @@ "repository": { |
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
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
12938
13
190
12