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

@expandorg/components

Package Overview
Dependencies
Maintainers
3
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@expandorg/components - npm Package Compare versions

Comparing version 0.2.90 to 0.2.91

2

index.js

@@ -57,2 +57,3 @@ // @flow

lsRead,
lsRemove,
} from './src/components/hooks/useLocalStorage';

@@ -74,2 +75,3 @@ import usePrevious from './src/components/hooks/usePrevious';

lsRead,
lsRemove,
AutocompleteInput,

@@ -76,0 +78,0 @@ Suggestions,

4

package.json
{
"name": "@expandorg/components",
"version": "0.2.90",
"version": "0.2.91",
"description": "expand UI components library",

@@ -35,3 +35,3 @@ "main": "index.js",

},
"gitHead": "7581e061e807a78b0151fc1610222b9580697f08"
"gitHead": "700cec31f2370d456c6ab674267b7635555af2d5"
}

@@ -21,2 +21,10 @@ // @flow

export function lsRemove(key: string) {
try {
window.localStorage.removeItem(key);
} catch (error) {
console.log(error);
}
}
export function useLocalStorage(key: string, initial?: any) {

@@ -23,0 +31,0 @@ const [saved, setSaved] = useState(() => lsRead(key, initial));

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