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

react-hooks-library

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hooks-library - npm Package Compare versions

Comparing version 0.0.18 to 0.0.19

1

dist/fields/Currency.d.ts

@@ -5,2 +5,3 @@ import { Numeric } from './Numeric';

readonly yuan: number;
readonly fuzzyYuan: number;
readonly kind: typeof Currency;

@@ -7,0 +8,0 @@ static isCurrency<P>(model: P): boolean;

@@ -36,2 +36,9 @@ import * as tslib_1 from "tslib";

});
Object.defineProperty(Currency.prototype, "fuzzyYuan", {
get: function () {
return numeral.unformat(this.format());
},
enumerable: true,
configurable: true
});
Object.defineProperty(Currency.prototype, "kind", {

@@ -38,0 +45,0 @@ get: function () {

2

package.json
{
"name": "react-hooks-library",
"version": "0.0.18",
"version": "0.0.19",
"license": "MIT",

@@ -5,0 +5,0 @@ "scripts": {

@@ -16,2 +16,6 @@ import numeral from 'numeral'

public get fuzzyYuan(): number {
return numeral.unformat(this.format())
}
public get kind() {

@@ -18,0 +22,0 @@ return Currency

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