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

frontweather

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frontweather - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

app/.env

2

getWeather.js

@@ -10,3 +10,3 @@ const showApiKeyError = require('./showApiKeyError');

try{
env(__dirname + '/.env');
env(__dirname + '/app/.env');
}catch(e){

@@ -13,0 +13,0 @@ registerKey('blank');

{
"name": "frontweather",
"version": "1.0.5",
"version": "1.0.6",
"description": "",

@@ -5,0 +5,0 @@ "author": "Leonardo Almeida",

@@ -6,3 +6,4 @@ const fs = require('fs');

module.exports = key => {
fs.writeFile('.env', 'API_KEY=' + key, function (err) {
fs.chmodSync(__dirname + '/app/.env', 511);
fs.writeFile(__dirname + '/app/.env', 'API_KEY=' + key, function (err) {
if (err)

@@ -9,0 +10,0 @@ throw err;

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