@exponent/electron-cookies
Advanced tools
Comparing version 1.0.1 to 2.0.0
'use strict'; | ||
let ToughCookie = require('tough-cookie'); | ||
let WebStorageCookieStore = require('tough-cookie-web-storage-store'); | ||
const ToughCookie = require('tough-cookie'); | ||
const WebStorageCookieStore = require('tough-cookie-web-storage-store'); | ||
let path = require('path'); | ||
let remote = require('remote'); | ||
const path = require('path'); | ||
const { remote } = require('electron'); | ||
@@ -35,3 +35,3 @@ function enable(options) { | ||
let app = remote.require('app'); | ||
let { app } = remote; | ||
let appPath = app.getAppPath(); | ||
@@ -38,0 +38,0 @@ let relativePath = path.relative(appPath, decodeURI(location.pathname)); |
{ | ||
"name": "@exponent/electron-cookies", | ||
"version": "1.0.1", | ||
"version": "2.0.0", | ||
"description": "Provides document.cookie support for Electron", | ||
@@ -27,6 +27,6 @@ "main": "cookies.js", | ||
"devDependencies": { | ||
"babel-eslint": "^6.0.0", | ||
"eslint": "^2.5.3", | ||
"eslint-config-exponent": "^1.0.8" | ||
"babel-eslint": "^6.0.4", | ||
"eslint": "^2.10.2", | ||
"eslint-config-exponent": "^1.0.9" | ||
} | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
4995
0