New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.20 to 0.0.23

dist/hooks/useInterval.d.ts

1

dist/fields/Currency.d.ts

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

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

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

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

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

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

@@ -65,3 +65,3 @@ import * as tslib_1 from "tslib";

typeof props.onFailure === 'function' && props.onFailure(error_1);
throw error_1;
return [3 /*break*/, 4];
case 4: return [2 /*return*/, undefined];

@@ -68,0 +68,0 @@ }

{
"name": "react-hooks-library",
"version": "0.0.20",
"version": "0.0.23",
"license": "MIT",

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

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

public get fuzzyYuan(): number {
return numeral(this.presentation).value()
}
public get kind() {

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

@@ -76,4 +76,2 @@ import { useState, useEffect } from 'react'

typeof props.onFailure === 'function' && props.onFailure(error)
throw error
}

@@ -80,0 +78,0 @@ }

@@ -196,3 +196,3 @@ {

"no-dynamic-delete": true,
"no-empty": true,
"no-empty": false,
"no-empty-interface": true,

@@ -199,0 +199,0 @@ "no-eval": true,

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