Socket
Socket
Sign inDemoInstall

openweather-api-node

Package Overview
Dependencies
2
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.1 to 2.1.2

20

dist/index.d.ts

@@ -103,3 +103,4 @@ import { Alert, Language, Location, Options, Unit, CurrentWeather, MinutelyWeather, HourlyWeather, DailyWeather, Everything, AirPollution, WeatherHistory, ForecastWeather } from "./types";

/**
* Getter for minutely weather
* Getter for minutely weather\
* ⚠️ This method uses the old OneCall api endpoint. See [this](https://lolotoster.github.io/openweather-api-node/#old-onecall-api-endpoint) for more information.
*

@@ -112,3 +113,4 @@ * @param limit - maximum length of returned array

/**
* Getter for hourly weather
* Getter for hourly weather\
* ⚠️ This method uses the old OneCall api endpoint. See [this](https://lolotoster.github.io/openweather-api-node/#old-onecall-api-endpoint) for more information.
*

@@ -121,2 +123,4 @@ * @param limit - maximum length of returned array

/**
* Getter for daily weather\
* ⚠️ This method uses the old OneCall api endpoint. See [this](https://lolotoster.github.io/openweather-api-node/#old-onecall-api-endpoint) for more information.
*

@@ -130,3 +134,4 @@ * @param limit - maximum length of returned array

/**
* Getter for today's weather
* Getter for today's weather\
* ⚠️ This method uses the old OneCall api endpoint. See [this](https://lolotoster.github.io/openweather-api-node/#old-onecall-api-endpoint) for more information.
*

@@ -139,3 +144,4 @@ * @param options - options used only for this call

* Getter for alerts\
* **Note:** some agencies provide the alert’s description only in a local language.
* **Note:** some agencies provide the alert’s description only in a local language.\
* ⚠️ This method uses the old OneCall api endpoint. See [this](https://lolotoster.github.io/openweather-api-node/#old-onecall-api-endpoint) for more information.
*

@@ -147,3 +153,4 @@ * @param options - options used only for this call

/**
* Getter for every type of weather call and alerts
* Getter for every type of weather call and alerts\
* ⚠️ This method uses the old OneCall api endpoint. See [this](https://lolotoster.github.io/openweather-api-node/#old-onecall-api-endpoint) for more information.
*

@@ -155,3 +162,4 @@ * @param options - options used only for this call

/**
* Getter for historical data about weather
* Getter for historical data about weather\
* ⚠️ This method uses the old OneCall api endpoint. See [this](https://lolotoster.github.io/openweather-api-node/#old-onecall-api-endpoint) for more information.
*

@@ -158,0 +166,0 @@ * @param dt - Date from the **previous five days** (Unix time, UTC time zone)

@@ -290,3 +290,4 @@ "use strict";

/**
* Getter for minutely weather
* Getter for minutely weather\
* ⚠️ This method uses the old OneCall api endpoint. See [this](https://lolotoster.github.io/openweather-api-node/#old-onecall-api-endpoint) for more information.
*

@@ -307,3 +308,4 @@ * @param limit - maximum length of returned array

/**
* Getter for hourly weather
* Getter for hourly weather\
* ⚠️ This method uses the old OneCall api endpoint. See [this](https://lolotoster.github.io/openweather-api-node/#old-onecall-api-endpoint) for more information.
*

@@ -324,2 +326,4 @@ * @param limit - maximum length of returned array

/**
* Getter for daily weather\
* ⚠️ This method uses the old OneCall api endpoint. See [this](https://lolotoster.github.io/openweather-api-node/#old-onecall-api-endpoint) for more information.
*

@@ -343,3 +347,4 @@ * @param limit - maximum length of returned array

/**
* Getter for today's weather
* Getter for today's weather\
* ⚠️ This method uses the old OneCall api endpoint. See [this](https://lolotoster.github.io/openweather-api-node/#old-onecall-api-endpoint) for more information.
*

@@ -354,3 +359,4 @@ * @param options - options used only for this call

* Getter for alerts\
* **Note:** some agencies provide the alert’s description only in a local language.
* **Note:** some agencies provide the alert’s description only in a local language.\
* ⚠️ This method uses the old OneCall api endpoint. See [this](https://lolotoster.github.io/openweather-api-node/#old-onecall-api-endpoint) for more information.
*

@@ -370,3 +376,4 @@ * @param options - options used only for this call

/**
* Getter for every type of weather call and alerts
* Getter for every type of weather call and alerts\
* ⚠️ This method uses the old OneCall api endpoint. See [this](https://lolotoster.github.io/openweather-api-node/#old-onecall-api-endpoint) for more information.
*

@@ -394,3 +401,4 @@ * @param options - options used only for this call

/**
* Getter for historical data about weather
* Getter for historical data about weather\
* ⚠️ This method uses the old OneCall api endpoint. See [this](https://lolotoster.github.io/openweather-api-node/#old-onecall-api-endpoint) for more information.
*

@@ -397,0 +405,0 @@ * @param dt - Date from the **previous five days** (Unix time, UTC time zone)

{
"name": "openweather-api-node",
"version": "2.1.1",
"version": "2.1.2",
"description": "Simple Node.js package that makes it easy to work with OpenWeather API",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc