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

use-lunch-money

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-lunch-money - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

16

globals.d.ts

@@ -1,9 +0,15 @@

import { LMUserType } from './src/useLunchMoney';
interface LMProfile {
firstName: string;
lastName: string;
}
declare class LunchMoney {
constructor();
profile: LMProfile;
getProfile(): void;
}
declare global {
interface Window {
lunchMoney: {
getProfile: () => void;
profile: LMUserType;
};
LunchMoney: LunchMoney;
}

@@ -10,0 +16,0 @@ }

{
"name": "use-lunch-money",
"version": "1.1.0",
"description": "A starter for creating a new React hook",
"version": "1.1.1",
"description": "Lunch Money profile react hook",
"author": {
"name": "Dylan Bathurst",
"email": "hello@colbyfayock.com",
"url": "https://twitter.com/colbyfayock"
"email": "dylanbathurst@gmail.com",
"url": "https://twitter.com/dylanbathurst"
},

@@ -30,6 +30,6 @@ "keywords": [

"type": "git",
"url": "https://github.com/colbyfayock/use-lunch-money"
"url": "https://github.com/dylanbathurst/use-lunch-money"
},
"bugs": {
"url": "https://github.com/colbyfayock/use-lunch-money/issues"
"url": "https://github.com/dylanbathurst/use-lunch-money/issues"
},

@@ -36,0 +36,0 @@ "dependencies": {

@@ -33,4 +33,4 @@ "use strict";

try {
window.lunchMoney.getProfile();
var profile = window.lunchMoney.profile;
window.LunchMoney.getProfile();
var profile = window.LunchMoney.profile;

@@ -42,3 +42,3 @@ if (profile) {

}
}, [window.lunchMoney.profile]);
}, [window.LunchMoney.profile]);
return lmLocalUser;

@@ -45,0 +45,0 @@ };

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