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

@rentspree/cookie

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rentspree/cookie - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

package.json
{
"name": "@rentspree/cookie",
"version": "1.0.2",
"version": "1.0.3",
"description": "Cookie library for Rentspree's projects",

@@ -17,3 +17,3 @@ "main": "build/index.js",

"dependencies": {
"lodash": "4.17.10",
"lodash": "^4.17.11",
"universal-cookie": "2.2.0"

@@ -20,0 +20,0 @@ },

@@ -5,3 +5,3 @@ <!-- Generated by documentation.js. Update this documentation by updating the source code. -->

npm install rentspree/cookie
npm install @rentspree/cookie

@@ -8,0 +8,0 @@ ## Update a newer version

@@ -97,5 +97,7 @@ import Cookies from 'universal-cookie'

it("should be able to remove all cookies that have \"woah\" at the start of their name", () => {
const cookieName = "noWoahTestGet"
const cookieValue = "test-get-cookie"
CookieUtils.setLocalItem(cookieName, cookieValue)
const cookieName = ["noWoahTestGet", "woahTestGet"]
const cookieValue = ["test-get-cookie", "get-cookie-test"]
for (let i = 0; i < 2; i += 1) {
CookieUtils.setLocalItem(cookieName[i], cookieValue[i])
}

@@ -106,5 +108,5 @@ CookieUtils.removeAllLocalItem("woah")

Object.entries(allCookies).length.should.equal(1)
allCookies.hasOwnProperty(cookieName).should.be.true
allCookies.hasOwnProperty(cookieName[0]).should.be.true
})
})
})

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