New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-credit-cards-2

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-credit-cards-2 - npm Package Compare versions

Comparing version 0.10.0 to 1.0.0

dist/es/index.js

86

package.json
{
"name": "react-credit-cards-2",
"version": "0.10.0",
"version": "1.0.0",
"description": "Beautiful credit cards for your payment forms",

@@ -25,8 +25,7 @@ "author": "AMARO Fashion <tech@amaro.com>",

"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"main": "dist/lib/index.js",
"module": "dist/es/index.js",
"types": "dist/index.d.ts",
"files": [
"es",
"lib",
"src"
"dist"
],

@@ -40,7 +39,6 @@ "keywords": [

"peerDependencies": {
"prop-types": "^15.7.2",
"react": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"dependencies": {
"credit-card-type": "^8.3.0",
"credit-card-type": "^9.1.0",
"luhn": "^2.4.1",

@@ -70,5 +68,13 @@ "payment": "^2.3.0"

"@babel/preset-env": "^7.14.9",
"@babel/preset-flow": "^7.14.5",
"@babel/preset-react": "^7.14.5",
"@size-limit/preset-small-lib": "^7.0.8",
"@babel/preset-typescript": "^7.18.6",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.0.0",
"@size-limit/preset-small-lib": "^8.2.4",
"@types/jest": "^29.4.0",
"@types/react": "^18.0.28",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.6",

@@ -81,40 +87,40 @@ "autoprefixer": "^10.2.6",

"cross-env": "^7.0.3",
"date-fns": "^2.22.1",
"del-cli": "^3.0.1",
"enzyme": "^3.11.0",
"eslint": "^7.28.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-flowtype": "^5.7.2",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.24.0",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react-hooks": "^4.6.0",
"flow-bin": "^0.152.0",
"husky": "^6.0.0",
"jest": "^27.0.6",
"jsdom": "^16.6.0",
"jest": "^29.4.2",
"jest-environment-jsdom": "^29.4.2",
"postcss": "^8.3.11",
"postcss-cli": "^8.3.1",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-test-renderer": "^17.0.2",
"repo-tools": "^0.2.2",
"rimraf": "^4.1.2",
"rollup": "^3.15.0",
"rollup-plugin-dts": "^5.2.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"sass": "^1.34.1",
"size-limit": "^7.0.8",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^22.0.0",
"stylelint-declaration-strict-value": "^1.7.12",
"stylelint-order": "^4.1.0",
"stylelint-scss": "^3.19.0",
"size-limit": "^8.2.4",
"stylelint": "^15.1.0",
"stylelint-config-standard": "^30.0.1",
"stylelint-order": "^6.0.2",
"stylelint-scss": "^4.4.0",
"typescript": "^4.9.5",
"watch-run": "^1.2.5"
},
"scripts": {
"build": "npm run clean && npm run build:commonjs && npm run build:es && npm run build:styles",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src -d lib",
"build:es": "cross-env NODE_ENV=production babel src -d es",
"build:code": "rollup -c",
"build:styles": "node tools/build-styles",
"watch": "npm run build && watch-run -p 'src/**/*.js' npm run build:es",
"clean": "del-cli es/* && del-cli lib/*",
"lint": "eslint --ext .js --ext .jsx src test tools",
"build": "npm run clean && npm run build:code && npm run build:styles",
"watch": "npm run build && watch-run -p 'src/**/.{ts,tsx,scss}' npm run build",
"clean": "rimraf dist",
"lint": "eslint --max-warnings=0 src",
"format": "prettier --write './src/**/*.{js,jsx,ts,tsx,css,md,json}' --config ./prettier.config.cjs",
"lint:styles": "stylelint 'src/**/*.scss'",

@@ -134,7 +140,7 @@ "test": "jest",

{
"path": "./es/index.js",
"path": "./dist/es/index.js",
"limit": "6 kB"
},
{
"path": "./lib/index.js",
"path": "./dist/lib/index.js",
"limit": "6 kB"

@@ -141,0 +147,0 @@ }

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