ngx-cookie-service
Advanced tools
Comparing version 2.1.0 to 2.2.0
112
package.json
@@ -1,111 +0,1 @@ | ||
{ | ||
"name": "ngx-cookie-service", | ||
"description": "an (aot ready) angular (4.2+) cookie service", | ||
"version": "2.1.0", | ||
"license": "MIT", | ||
"author": "7leads GmbH <info@7leads.org>", | ||
"keywords": [ | ||
"angular", | ||
"angular2", | ||
"angular4", | ||
"angular5", | ||
"angular-2", | ||
"angular-4", | ||
"angular-5", | ||
"aot", | ||
"aot-compatible", | ||
"aot-compilation", | ||
"ngx", | ||
"ng2", | ||
"ng", | ||
"service", | ||
"angular-service", | ||
"cookie-service", | ||
"cookie", | ||
"cookies" | ||
], | ||
"contributors": [ | ||
{ | ||
"name": "Christopher Parotat", | ||
"email": "c.parotat@7leads.org" | ||
}, | ||
{ | ||
"name": "Stefan Bauer", | ||
"email": "bauer.stefan@live.de" | ||
}, | ||
{ | ||
"name": "Kristian Thy", | ||
"email": "thy@42.dk" | ||
}, | ||
{ | ||
"name": "Jared Clemence" | ||
}, | ||
{ | ||
"name": "flakolefluk" | ||
}, | ||
{ | ||
"name": "mattbanks" | ||
}, | ||
{ | ||
"name": "DBaker85" | ||
} | ||
], | ||
"main": "index.js", | ||
"typings": "index.d.ts", | ||
"scripts": { | ||
"ng": "ng", | ||
"start": "npm run compile && ng serve", | ||
"build": "npm run compile && ng build", | ||
"test": "npm run compile && ng test", | ||
"lint": "npm run compile && ng lint", | ||
"e2e": "npm run compile && ng e2e", | ||
"compile": "node scripts/compile.js", | ||
"publish:dist": "npm run compile && cd dist-lib && npm publish" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/7leads/ngx-cookie-service.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/7leads/ngx-cookie-service/issues", | ||
"email": "info@7leads.org" | ||
}, | ||
"peerDependencies": { | ||
"@angular/core": ">=4.2.0", | ||
"@angular/platform-browser": ">=4.2.0", | ||
"@angular/platform-browser-dynamic": ">=4.2.0" | ||
}, | ||
"devDependencies": { | ||
"@angular/cli": "1.0.0", | ||
"@angular/core": "^4.0.0", | ||
"@angular/platform-browser": "^4.0.0", | ||
"@angular/platform-browser-dynamic": "^4.0.0", | ||
"@angular/common": "^4.0.0", | ||
"@angular/compiler": "^4.0.0", | ||
"@angular/compiler-cli": "^4.0.0", | ||
"@angular/forms": "^4.0.0", | ||
"@angular/http": "^4.0.0", | ||
"@angular/platform-server": "^4.0.0", | ||
"@angular/router": "^4.0.0", | ||
"@types/jasmine": "2.5.38", | ||
"@types/node": "~6.0.60", | ||
"async": "^2.3.0", | ||
"codelyzer": "~2.0.0", | ||
"core-js": "^2.4.1", | ||
"jasmine-core": "~2.5.2", | ||
"jasmine-spec-reporter": "~3.2.0", | ||
"karma": "~1.4.1", | ||
"karma-chrome-launcher": "~2.0.0", | ||
"karma-cli": "~1.0.1", | ||
"karma-coverage-istanbul-reporter": "^0.2.0", | ||
"karma-jasmine": "~1.1.0", | ||
"karma-jasmine-html-reporter": "^0.2.2", | ||
"protractor": "~5.1.0", | ||
"rimraf": "^2.6.1", | ||
"rxjs": "^5.1.0", | ||
"ts-node": "~2.0.0", | ||
"tslint": "~4.5.0", | ||
"typescript": "~2.2.0", | ||
"zone.js": "^0.8.4" | ||
} | ||
} | ||
{"name":"ngx-cookie-service","description":"an (aot ready) angular (4.2+) cookie service","version":"2.2.0","license":"MIT","author":"7leads GmbH <info@7leads.org>","keywords":["angular","angular2","angular4","angular5","angular-2","angular-4","angular-5","angular-6","angular-7","aot","aot-compatible","aot-compilation","ngx","ng2","ng","service","angular-service","cookie-service","cookie","cookies"],"contributors":[{"name":"Christopher Parotat","email":"c.parotat@7leads.org"},{"name":"Stefan Bauer","email":"bauer.stefan@live.de"},{"name":"Kristian Thy","email":"thy@42.dk"},{"name":"Jared Clemence"},{"name":"flakolefluk"},{"name":"mattbanks"},{"name":"DBaker85"},{"name":"Matt Lewis","email":"npm@mattlewis.me"}],"scripts":{"ng":"ng","start":"npm run compile && ng serve","build":"npm run compile && ng build","test":"npm run compile && ng test","lint":"npm run compile && ng lint","e2e":"npm run compile && ng e2e","compile":"ng-packagr -p ng-package.json","publish:dist":"npm run compile && npm publish dist-lib"},"repository":{"type":"git","url":"https://github.com/7leads/ngx-cookie-service.git"},"bugs":{"url":"https://github.com/7leads/ngx-cookie-service/issues","email":"info@7leads.org"},"peerDependencies":{"@angular/core":">=4.2.0","@angular/platform-browser":">=4.2.0","@angular/platform-browser-dynamic":">=4.2.0"},"devDependencies":{"@angular/cli":"1.0.0","@angular/common":"^4.0.0","@angular/compiler":"^4.0.0","@angular/compiler-cli":"^4.0.0","@angular/core":"^4.0.0","@angular/forms":"^4.0.0","@angular/http":"^4.0.0","@angular/platform-browser":"^4.0.0","@angular/platform-browser-dynamic":"^4.0.0","@angular/platform-server":"^4.0.0","@angular/router":"^4.0.0","@types/jasmine":"2.5.38","@types/node":"~6.0.60","async":"^2.3.0","codelyzer":"~2.0.0","core-js":"^2.4.1","jasmine-core":"~2.5.2","jasmine-spec-reporter":"~3.2.0","karma":"~1.4.1","karma-chrome-launcher":"~2.0.0","karma-cli":"~1.0.1","karma-coverage-istanbul-reporter":"^0.2.0","karma-jasmine":"~1.1.0","karma-jasmine-html-reporter":"^0.2.2","ng-packagr":"^1.7.0","protractor":"~5.1.0","rimraf":"^2.6.1","rxjs":"^5.1.0","ts-node":"~2.0.0","tslint":"~4.5.0","typescript":"~2.2.0","zone.js":"^0.8.4"},"main":"bundles/ngx-cookie-service.umd.js","module":"ngx-cookie-service.es5.js","es2015":"ngx-cookie-service.js","typings":"ngx-cookie-service.d.ts","metadata":"ngx-cookie-service.metadata.json"} |
@@ -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,17 @@ | ||
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) | ||
* [DBaker85](https://github.com/DBaker85) | ||
* [mattlewis92](https://github.com/mattlewis92) | ||
# License | ||
[MIT](https://github.com/7leads/ngx-cookie-service/blob/master/LICENSE) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69359
16
526
189
32
2
1