New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@axelarjs/utils

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axelarjs/utils - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

array.d.ts

2

build/commonjs/react/effect.d.ts

@@ -1,2 +0,2 @@

import { DependencyList, EffectCallback } from "react";
import { type DependencyList, type EffectCallback } from "react";
export declare const useChangedEffect: (effect: EffectCallback, deps?: DependencyList) => void;

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

import { Draft } from "immer";
import { type Draft } from "immer";
export declare function usePersistedState<T>(storage: Storage, key: string, defaultValue: T): readonly [T, (valueOrProducerFn: T | ((draft: Draft<T>) => void)) => void];
export declare function useLocalStorageState<T>(key: string, defaultValue: T): readonly [T, (valueOrProducerFn: T | ((draft: Draft<T>) => void)) => void];
export declare function useSessionStorageState<T>(key: string, defaultValue: T): readonly [T, (valueOrProducerFn: T | ((draft: Draft<T>) => void)) => void];

@@ -1,2 +0,2 @@

import { DependencyList, EffectCallback } from "react";
import { type DependencyList, type EffectCallback } from "react";
export declare const useChangedEffect: (effect: EffectCallback, deps?: DependencyList) => void;

@@ -1,2 +0,2 @@

import { useEffect, useRef } from "react";
import { useEffect, useRef, } from "react";
export const useChangedEffect = (effect, deps) => {

@@ -3,0 +3,0 @@ const isFirstMountRef = useRef(true);

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

import { Draft } from "immer";
import { type Draft } from "immer";
export declare function usePersistedState<T>(storage: Storage, key: string, defaultValue: T): readonly [T, (valueOrProducerFn: T | ((draft: Draft<T>) => void)) => void];
export declare function useLocalStorageState<T>(key: string, defaultValue: T): readonly [T, (valueOrProducerFn: T | ((draft: Draft<T>) => void)) => void];
export declare function useSessionStorageState<T>(key: string, defaultValue: T): readonly [T, (valueOrProducerFn: T | ((draft: Draft<T>) => void)) => void];
{
"name": "@axelarjs/utils",
"version": "0.1.2",
"version": "0.1.3",
"publishConfig": {

@@ -17,11 +17,21 @@ "access": "public"

"./index.js",
"./index.d.ts",
"./array.js",
"./array.d.ts",
"./case-conversion.js",
"./case-conversion.d.ts",
"./function.js",
"./function.d.ts",
"./guard.js",
"./guard.d.ts",
"./hex.js",
"./hex.d.ts",
"./monad.js",
"./monad.d.ts",
"./record.js",
"./record.d.ts",
"./string.js",
"./types.js"
"./string.d.ts",
"./types.js",
"./types.d.ts"
],

@@ -67,3 +77,3 @@ "exports": {

"vitest": "^0.34.4",
"@axelarjs/config": "0.1.2"
"@axelarjs/config": "0.1.3"
},

@@ -81,4 +91,6 @@ "dependencies": {

"build": "scripts/build.sh",
"clean": "scripts/clean.sh"
"clean": "scripts/clean.sh",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix"
}
}

@@ -1,2 +0,2 @@

import { DependencyList, EffectCallback } from "react";
import { type DependencyList, type EffectCallback } from "react";
export declare const useChangedEffect: (effect: EffectCallback, deps?: DependencyList) => void;

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

import { Draft } from "immer";
import { type Draft } from "immer";
export declare function usePersistedState<T>(storage: Storage, key: string, defaultValue: T): readonly [T, (valueOrProducerFn: T | ((draft: Draft<T>) => void)) => void];
export declare function useLocalStorageState<T>(key: string, defaultValue: T): readonly [T, (valueOrProducerFn: T | ((draft: Draft<T>) => void)) => void];
export declare function useSessionStorageState<T>(key: string, defaultValue: T): readonly [T, (valueOrProducerFn: T | ((draft: Draft<T>) => void)) => void];
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