Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lit-weather

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lit-weather - npm Package Compare versions

Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2

CHANGELOG.md

2

package.json
{
"name": "lit-weather",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"description": "lit-weather is a web component using lit-html to display current weather and a forecast with the openWeather apis",

@@ -5,0 +5,0 @@ "author": "lit-weather",

@@ -382,3 +382,4 @@ import { html, css, LitElement } from 'lit-element';

// eslint-disable-next-line no-restricted-globals
const isZipCode = !isNaN(query.charAt(0) - parseFloat(query.charAt(0)));
const firstChar = query.toString().charAt(0);
const isZipCode = !isNaN(firstChar - parseFloat(firstChar));
return isZipCode ? `zip=${query}` : `q=${query}`;

@@ -412,2 +413,3 @@ }

};
this.dispatchEvent(new CustomEvent('data-changed', { detail: { value: this.data } }));
})

@@ -414,0 +416,0 @@ .catch(error => {

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