New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vue-sellsuki-auth-2

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-sellsuki-auth-2 - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

16

index.js

@@ -83,4 +83,4 @@ /* global localStorage */

if (string.indexOf(substring) !== -1) {
document.cookie = 'sellsuki.storeId=' + storeId
console.log('set cookie as local')
document.cookie = 'sellsuki.storeId=' + storeId + ';domain=localhost;path=/'
// console.log('set cookie as local')
} else {

@@ -90,15 +90,5 @@ var now = new Date()

document.cookie = 'sellsuki.storeId=' + storeId + ';domain=.sellsuki.com;expires=' + now.toUTCString() + ';path=/'
console.log('set cookie as production')
// console.log('set cookie as production')
}
// console.log('=====' + window.location.origin)
// if (window.location.origin === 'https://dm.sellsuki.com' || window.location.origin === 'https://staging-dm.sellsuki.com' || window.location.origin === 'https://dealer.sellsuki.com' || window.location.origin === 'https://staging-dealer.sellsuki.com') {
// console.log('1')
// var now = new Date()
// now.setHours(now.getHours() + 8760)
// document.cookie = 'sellsuki.storeId=' + storeId + ';domain=.sellsuki.com;expires=' + now.toUTCString() + ';path=/'
// } else {
// console.log('2')
// document.cookie = 'sellsuki.storeId=' + storeId
// }
if (!setupStorage()) {

@@ -105,0 +95,0 @@ window.location.href = scope.portal

2

package.json
{
"name": "vue-sellsuki-auth-2",
"version": "2.5.0",
"version": "2.5.1",
"description": "vue-sellsuki-auth new version",

@@ -5,0 +5,0 @@ "main": "index.js",

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