Socket
Socket
Sign inDemoInstall

cookiejar

Package Overview
Dependencies
0
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

3

package.json
{
"name": "cookiejar",
"version": "2.1.0",
"version": "2.1.1",
"author": {

@@ -9,2 +9,3 @@ "name": "bradleymeck"

"description": "simple persistent cookiejar system",
"files": ["cookiejar.js"],
"license": "MIT",

@@ -11,0 +12,0 @@ "jshintConfig": {

@@ -1,12 +0,12 @@

#CookieJar
# CookieJar
Simple robust cookie library
##Exports
## Exports
###CookieAccessInfo(domain,path,secure,script)
### CookieAccessInfo(domain,path,secure,script)
class to determine matching qualities of a cookie
#####Properties
##### Properties

@@ -19,3 +19,3 @@ * String domain - domain to match

###Cookie(cookiestr_or_cookie, request_domain, request_path)
### Cookie(cookiestr_or_cookie, request_domain, request_path)

@@ -28,3 +28,3 @@ turns input into a Cookie (singleton if given a Cookie)

#####Properties
##### Properties

@@ -41,3 +41,3 @@ * String name - name of the cookie

#####Methods
##### Methods

@@ -51,11 +51,11 @@ * String toString() - the __set-cookie:__ string for this cookie

###CookieJar()
### CookieJar()
class to hold numerous cookies from multiple domains correctly
#####Methods
##### Methods
* Cookie setCookie(cookie, request_domain, request_path) - add a cookie to the jar
* Cookie[] setCookies(cookiestr_or_list, request_domain, request_path) - add a large number of cookies to the jar
* Cookie setCookie(cookie, request_domain, request_path) - modify (or add if not already-existing) a cookie to the jar
* Cookie[] setCookies(cookiestr_or_list, request_domain, request_path) - modify (or add if not already-existing) a large number of cookies to the jar
* Cookie getCookie(cookie_name,access_info) - get a cookie with the name and access_info matching
* Cookie[] getCookies(access_info) - grab all cookies matching this access_info
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc