react-obfuscate
Advanced tools
Comparing version 3.6.9 to 3.6.10-0
{ | ||
"name": "react-obfuscate", | ||
"version": "3.6.9", | ||
"version": "3.6.10-0", | ||
"description": "An intelligent React component to obfuscate any contact link", | ||
"main": "dist/obfuscate.js", | ||
"files": [ | ||
"dist/obfuscate.js" | ||
"/lib" | ||
], | ||
"main": "./lib/cjs/index.js", | ||
"module": "./lib/esm/index.js", | ||
"types": "./lib/esm/index.d.ts", | ||
"author": "Coston Perkins <costonperkins@me.com> (https://coston.io)", | ||
@@ -24,3 +26,5 @@ "homepage": "https://github.com/coston/react-obfuscate", | ||
"start": "next", | ||
"build": "babel -d dist src", | ||
"build": "npm run build:esm && npm run build:cjs", | ||
"build:cjs": "tsc --module commonjs --outDir lib/cjs", | ||
"build:esm": "tsc", | ||
"build-site": "next build", | ||
@@ -32,4 +36,4 @@ "clean": "rm -rf dist && mkdir dist", | ||
"test:coverage": "jest --coverage", | ||
"lint": "eslint --ext=js --ext=jsx ./src", | ||
"lint:fix": "eslint --ext=js --ext=jsx ./src --fix", | ||
"lint": "eslint '**/*.{js,ts,tsx}'", | ||
"lint:fix": "eslint '**/*.{js,ts,tsx}' --fix", | ||
"coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls", | ||
@@ -40,49 +44,36 @@ "preversion": "npm run test && npm run lint:fix && npm run clean && npm run build && npm run export", | ||
"devDependencies": { | ||
"@babel/cli": "7.20.7", | ||
"@babel/core": "7.20.12", | ||
"@babel/plugin-transform-runtime": "7.19.6", | ||
"@babel/plugin-transform-spread": "7.20.7", | ||
"@babel/preset-env": "7.20.2", | ||
"@babel/preset-react": "7.18.6", | ||
"@commitlint/cli": "17.4.4", | ||
"@commitlint/config-conventional": "17.4.4", | ||
"babel-eslint": "10.1.0", | ||
"babel-jest": "27.5.1", | ||
"@babel/cli": "7.24.1", | ||
"@babel/core": "7.24.4", | ||
"@babel/eslint-parser": "7.24.1", | ||
"@babel/plugin-transform-runtime": "7.24.3", | ||
"@babel/plugin-transform-spread": "7.24.1", | ||
"@babel/preset-env": "7.24.4", | ||
"@babel/preset-react": "7.24.1", | ||
"@babel/preset-typescript": "^7.24.1", | ||
"@commitlint/cli": "19.2.1", | ||
"@commitlint/config-conventional": "19.1.0", | ||
"@testing-library/jest-dom": "^6.4.8", | ||
"@testing-library/react": "^15.0.2", | ||
"@types/jest": "^29.5.12", | ||
"@typescript-eslint/eslint-plugin": "^7.18.0", | ||
"@typescript-eslint/parser": "^7.18.0", | ||
"coveralls": "3.1.1", | ||
"enzyme": "3.11.0", | ||
"enzyme-adapter-react-16": "1.15.7", | ||
"enzyme-to-json": "3.6.2", | ||
"eslint": "8.34.0", | ||
"eslint-config-airbnb": "19.0.4", | ||
"eslint-config-prettier": "8.6.0", | ||
"eslint-plugin-import": "2.27.5", | ||
"eslint-plugin-jsx-a11y": "6.7.1", | ||
"eslint-plugin-prettier": "4.2.1", | ||
"eslint-plugin-react": "7.32.2", | ||
"eslint-plugin-react-hooks": "4.6.0", | ||
"husky": "8.0.3", | ||
"jest": "27.5.1", | ||
"lint-staged": "13.1.2", | ||
"next": "13.1.6", | ||
"prettier": "2.8.4", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"eslint-plugin-react": "^7.34.1", | ||
"husky": "9.0.11", | ||
"jest": "^29.7.0", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"lint-staged": "15.2.2", | ||
"next": "13.4.7", | ||
"prettier": "3.2.5", | ||
"prop-types": "15.8.1", | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0", | ||
"react-live": "3.1.1", | ||
"react-test-renderer": "18.2.0", | ||
"react-window-ui": "2.2.0" | ||
"react-live": "4.1.6", | ||
"react-window-ui": "2.2.0", | ||
"ts-jest": "^29.1.2", | ||
"typescript": "^5.4.5" | ||
}, | ||
"jest": { | ||
"setupFiles": [ | ||
"./test/jestsetup.js" | ||
], | ||
"testEnvironment": "jsdom", | ||
"collectCoverage": true, | ||
"snapshotSerializers": [ | ||
"enzyme-to-json/serializer" | ||
], | ||
"moduleNameMapper": { | ||
"^.+\\.(css|scss)$": "identity-obj-proxy" | ||
} | ||
}, | ||
"peerDependencies": { | ||
@@ -94,3 +85,3 @@ "prop-types": ">= 15", | ||
"lint-staged": { | ||
"*.{js,jsx}": [ | ||
"*.{js,jsx,ts,tsx}": [ | ||
"eslint --fix" | ||
@@ -97,0 +88,0 @@ ] |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
71201
9
295
1
1