Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-custom-number

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-custom-number - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

1

build/index.esm.js

@@ -59,3 +59,2 @@ import React, { useRef, useState, useEffect } from 'react';

var value = params.value, places = params.places;
console.log('remove_format', value);
var str_val = String(value).replace(/(\D)/g, '');

@@ -62,0 +61,0 @@ var whole = str_val.substr(0, str_val.length - places);

@@ -65,3 +65,2 @@ 'use strict';

var value = params.value, places = params.places;
console.log('remove_format', value);
var str_val = String(value).replace(/(\D)/g, '');

@@ -68,0 +67,0 @@ var whole = str_val.substr(0, str_val.length - places);

2

package.json
{
"name": "react-custom-number",
"version": "0.0.1",
"version": "0.0.2",
"main": "build/index.js",

@@ -5,0 +5,0 @@ "module": "build/index.esm.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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