Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

dark-sky-api

Package Overview
Dependencies
14
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.28 to 0.5.29

yarn-error.log

3

dist/dark-sky-api.js

@@ -163,5 +163,2 @@ 'use strict';

value: function time(_time) {
if (!_time) {
throw new Error(config.errorMessage.noTimeSupplied);
}
this._time = _moment2.default.isMoment(_time) ? _time.format(config.dateFormat) : _time;

@@ -168,0 +165,0 @@ }

{
"name": "dark-sky-api",
"version": "0.5.28",
"version": "0.5.29",
"description": "a simple and robust dark sky api service for client-side js",

@@ -33,2 +33,4 @@ "main": "index.js",

"babel-preset-env": "^1.3.2",
"babel-preset-latest": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"jest": "^19.0.2"

@@ -35,0 +37,0 @@ },

@@ -119,5 +119,2 @@ import darkSkySkeleton from 'dark-sky-skeleton';

time(time) {
if (!time) {
throw new Error(config.errorMessage.noTimeSupplied);
}
this._time = moment.isMoment(time) ? time.format(config.dateFormat) : time;

@@ -124,0 +121,0 @@ }

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