Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

browser-cookies

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-cookies - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

6

package.json
{
"name": "browser-cookies",
"description": "Tiny cookies library for the browser",
"version": "1.0.1",
"version": "1.0.2",
"main": "browser-cookies.js",

@@ -41,3 +41,3 @@ "files": [

},
"license": "Public Domain",
"license": "Unlicence",
"repository": {

@@ -55,4 +55,4 @@ "type": "git",

"browserify",
"RFC6265"
"rfc6265"
]
}

@@ -1,5 +0,8 @@

![browser-cookies][logo-url]
<img width="425" height="200" src="https://raw.githubusercontent.com/voltace/browser-cookies/master/browser-cookies.png"/>
# browser-cookies
**Tiny cookies library for the browser**
[![NPM Version][npm-version-image]][npm-url]
[![NPM Downloads][npm-downloads-image]][npm-url]
[![Build Status][travis-image]][travis-url]

@@ -31,6 +34,8 @@ [![Coveralls Status][coveralls-image]][coveralls-url]

### Installation
```javascript
npm install browser-cookies
```
Using NPM
`npm install browser-cookies`
Using Bower
`bower install browser-cookies`
### Usage

@@ -128,4 +133,3 @@ ```javascript

- Distribution:
- Generate downloadable minified file for CommonJS?
- Create builds for other loaders (AMD?) and for use without a loader.
- Generate build (development build + minified version) for use without a loader.
- Cross browser consistency:

@@ -151,3 +155,5 @@ - When a domain is not specified most browsers only allow an exact domain match, but [IE sends cookies to all subdomains](http://erik.io/blog/2014/03/04/definitive-guide-to-cookie-domains/). Perhaps save cookies to all subdomains by default for consistent behavior amongst all browsers? Would need to investigate whether something like window.location.hostname is cross-browser supported though. Or check how other cookie libs solved this. But first of all need to decide on the desired behavior.

[logo-url]: https://raw.githubusercontent.com/voltace/browser-cookies/master/browser-cookies.png
[npm-url]: https://npmjs.org/package/browser-cookies
[npm-version-image]: http://img.shields.io/npm/v/browser-cookies.svg
[npm-downloads-image]: http://img.shields.io/npm/dm/browser-cookies.svg

@@ -154,0 +160,0 @@ [travis-url]: https://travis-ci.org/voltace/browser-cookies

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