@exponent/electron-cookies
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -37,4 +37,4 @@ 'use strict'; | ||
let appPath = app.getAppPath(); | ||
let relativePath = path.relative(appPath, location.pathname); | ||
return `${origin}/${relativePath}${location.search}${location.hash}`; | ||
let relativePath = path.relative(appPath, decodeURI(location.pathname)); | ||
return `${origin}/${encodeURI(relativePath)}${location.search}${location.hash}`; | ||
} | ||
@@ -41,0 +41,0 @@ |
{ | ||
"name": "@exponent/electron-cookies", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Provides document.cookie support for Electron", | ||
@@ -5,0 +5,0 @@ "main": "cookies.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4991
1