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

dark-sky-skeleton

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dark-sky-skeleton - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

src/dark-sky-skeleton.spec.js

6

dist/dark-sky-skeleton.js

@@ -57,3 +57,3 @@ 'use strict';

value: function time(_time) {
!_time ? null : this._time = _time;
this._time = _time;
return this;

@@ -85,3 +85,3 @@ }

value: function extendHourly(param) {
!param ? null : this.query.extend = !!param;
this.query.extend = !!param;
return this;

@@ -102,3 +102,3 @@ }

return new Promise(function (resolve, reject) {
reject("Request not sent. ERROR: Longitute or Latitude is missing.");
reject('Request not sent. ERROR: Longitute or Latitude is missing.');
});

@@ -105,0 +105,0 @@ }

{
"name": "dark-sky-skeleton",
"version": "0.1.2",
"version": "0.1.3",
"description": "barebones dark sky weather api for client side js - supports api key and proxy urls",
"main": "index.js",
"scripts": {
"build": "babel ./src/dark-sky-skeleton.js --out-file ./dist/dark-sky-skeleton.js"
"build": "babel ./src/dark-sky-skeleton.js --out-file ./dist/dark-sky-skeleton.js",
"test": "jest",
"test:watch": "yarn run test -- --watch"
},

@@ -38,2 +40,2 @@ "repository": {

}
}
}

@@ -29,3 +29,3 @@ import queryString from 'query-string';

time(time) {
!time ? null : this._time = time;
this._time = time;
return this;

@@ -51,3 +51,3 @@ }

extendHourly(param) {
!param ? null : this.query.extend = !!param;
this.query.extend = !!param;
return this;

@@ -70,3 +70,3 @@ }

return new Promise((resolve, reject) => {
reject("Request not sent. ERROR: Longitute or Latitude is missing.");
reject('Request not sent. ERROR: Longitute or Latitude is missing.');
});

@@ -73,0 +73,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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