react-hooks-library
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -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 () { |
{ | ||
"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 |
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
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
react-hooks-testing-library |
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
310702
2261
0