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 1.0.0 to 1.0.1

4

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

@@ -119,3 +119,3 @@ "author": "AMARO Fashion <tech@amaro.com>",

"watch": "npm run build && watch-run -p 'src/**/.{ts,tsx,scss}' npm run build",
"clean": "rimraf dist",
"clean": "rimraf dist/ es/ lib/ coverage/ .tmp/",
"lint": "eslint --max-warnings=0 src",

@@ -122,0 +122,0 @@ "format": "prettier --write './src/**/*.{js,jsx,ts,tsx,css,md,json}' --config ./prettier.config.cjs",

@@ -1,4 +0,4 @@

# React Credit Cards 2
# React Credit Cards 2 - Community Package
> This repository is a hard-fork from the original [react-credit-cards](https://github.com/amaroteam/react-credit-cards) package, and it does not intend to add any new functionality. The main purpose of this fork is to refresh dependencies from the original, to make it usable with React 17 and 18, and to clear the out installation warnings.
> This repository is a hard-fork from the original [react-credit-cards](https://github.com/amaroteam/react-credit-cards) package. The main purpose is to update dependencies, make it usable with React 17 and 18 and clear installation warnings.

@@ -45,3 +45,3 @@ [![NPM](https://img.shields.io/npm/v/react-credit-cards-2)](https://www.npmjs.com/package/react-credit-cards-2) [![BundleSize](https://img.shields.io/bundlephobia/min/react-credit-cards-2)](https://bundlephobia.com/package/react-credit-cards-2) [![Travis](https://travis-ci.org/amarofashion/react-credit-cards.svg?branch=master)](https://travis-ci.org/amarofashion/react-credit-cards) [![Maintainability](https://api.codeclimate.com/v1/badges/bb0aa1a6b782c3845f6a/maintainability)](https://codeclimate.com/github/amarofashion/react-credit-cards/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/bb0aa1a6b782c3845f6a/test_coverage)](https://codeclimate.com/github/amarofashion/react-credit-cards/test_coverage)

return (
<div id='PaymentForm'>
<div>
<Cards

@@ -72,5 +72,6 @@ number={state.number}

Don't forget to import the `react-credit-cards-2/lib/styles.scss` if you are using SASS in your project.
If you are using SASS, import the CSS `react-credit-cards-2/dist/lib/styles.scss`
Or you can import the CSS:
`import 'react-credit-cards-2/es/styles-compiled.css';`
`import 'react-credit-cards-2/dist/es/styles-compiled.css';`

@@ -193,1 +194,2 @@ ### Features

###### Made with ❤️ at [AMARO](https://amaro.com).
###### Maintained with ❤️ by the community
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