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

ngx-cookie-service

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-cookie-service - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

.angular-cli.json

5

package.json
{
"name": "ngx-cookie-service",
"description": "an (aot ready) angular (4.2+) cookie service",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",

@@ -45,2 +45,5 @@ "author": "7leads GmbH <info@7leads.org>",

"name": "flakolefluk"
},
{
"name": "mattbanks"
}

@@ -47,0 +50,0 @@ ],

66

README.md

@@ -60,2 +60,8 @@ # NGX Cookie Service

# What to do now?
* Run `npm run test` to run the tests for the cookie service (located in the `demo-app` folder)
* Have a look at and play around with the `demo-app` to get to know the cookie service with `npm run start` (open `http://localhost:4200/` in your favourite browser)
* If you do not want to install this via [NPM](http://npmjs.com/), you can run `npm run compile` and use the `*.d.ts` and `*.js` files in the `dist-lib` folder
# Methods

@@ -115,6 +121,51 @@

# FAQ & Troubleshooting
# FAQ
Are you having any trouble with your integration or cookies in general? Check out our [FAQ](https://github.com/7leads/ngx-cookie-service#faq), maybe it will save you some headache.
## General tips
Checking out the following resources usually solves most of the problems people seem to have with this cookie service:
* [article about cookies in general @MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies) (recommended read!)
* [common localhost problems @StackOverflow](https://stackoverflow.com/questions/1134290/cookies-on-localhost-with-explicit-domain)
* [problems with secure cookies @StackOverflow](https://stackoverflow.com/questions/8064318/how-to-read-a-secure-cookie-using-javascript)
* [how do browser cookie domains work? @StackOverflow](https://stackoverflow.com/questions/1062963/how-do-browser-cookie-domains-work)
* [get cookies from different paths](https://github.com/7leads/ngx-cookie-service/issues/7#issuecomment-351321518)
The following general steps are usually very helpful when debugging problems with this cookie service or cookies in general:
* check out if there are any [open](https://github.com/7leads/ngx-cookie-service/issues) or [closed](https://github.com/7leads/ngx-cookie-service/issues?q=is%3Aissue+is%3Aclosed) issues that answer your question
* check out the actual value(s) of `document.cookie`
* does it work if you use `document.cookie` manually (i.e. in a console of your choice)?
* set explicit paths for your cookies
* [explain to your local rubber duck why your code should work and why it (probably) does not](https://en.wikipedia.org/wiki/Rubber_duck_debugging)
# I am always getting a "token missing" or "no provider" error.
Package managers are a well known source of frustration. If you have "token missing" or "no provider" errors, a simple re-installation of your node modules might suffice:
```
rm -rf node_modules
yarn # or `npm install`
```
## I have a problem with framework X or library Y. What can I do?
Please be aware that we cannot help you with problems that are out of scope. For example, we cannot debug a Symfony or Springboot application for you. In that case, you are better off asking the nice folks over at [StackOverflow](https://stackoverflow.com/) for help.
## Do you support Angular Universal?
There is an [issue](https://github.com/7leads/ngx-cookie-service/issues/1) for that. Check out [this comment](https://github.com/7leads/ngx-cookie-service/issues/1#issuecomment-361150174) for more information about future support.
# Opening issues
Please make sure to check out our FAQ before you open a new issue. Also, try to give us as much information as you can when you open an issue. Maybe you can even supply a test environment or test cases, if necessary?
# Contributing
We are happy to accept pull requests or test cases for things that do not work. Feel free to submit one of those.
However, we will only accept pull requests that pass all tests and include some new ones (as long as it makes sense to add them, of course).
* [Open a new pull request](https://github.com/7leads/ngx-cookie-service/compare)
# Author

@@ -124,6 +175,15 @@

Check out the [GitHub page](https://github.com/7leads/ngx-cookie-service) for more.
# Contributors
Thanks to all contributors:
* [paroe](https://github.com/paroe)
* [CunningFatalist](https://github.com/CunningFatalist)
* [kthy](https://github.com/kthy)
* [JaredClemence](https://github.com/JaredClemence)
* [flakolefluk](https://github.com/flakolefluk)
* [mattbanks](https://github.com/mattbanks)
# License
[MIT](https://github.com/7leads/ngx-cookie-service/blob/master/LICENSE)
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