ngx-cookie-service
Advanced tools
Comparing version 1.0.6 to 1.0.7
// This service is based on the `ng2-cookies` package which sadly is not a service and does | ||
// not use `DOCUMENT` injection and therefore doesn't work well with AoT production builds. | ||
// Package: https://github.com/BCJTI/ng2-cookies | ||
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
var __param = (this && this.__param) || function (paramIndex, decorator) { | ||
return function (target, key) { decorator(target, key, paramIndex); } | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var core_1 = require("@angular/core"); | ||
var platform_browser_1 = require("@angular/platform-browser"); | ||
import { Injectable, Inject } from '@angular/core'; | ||
import { DOCUMENT } from '@angular/platform-browser'; | ||
var CookieService = (function () { | ||
@@ -139,8 +125,10 @@ function CookieService( | ||
}()); | ||
CookieService = __decorate([ | ||
core_1.Injectable(), | ||
__param(0, core_1.Inject(platform_browser_1.DOCUMENT)), | ||
__metadata("design:paramtypes", [Object]) | ||
], CookieService); | ||
exports.CookieService = CookieService; | ||
export { CookieService }; | ||
CookieService.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
CookieService.ctorParameters = function () { return [ | ||
{ type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] },] }, | ||
]; }; | ||
//# sourceMappingURL=cookie.service.js.map |
@@ -1,7 +0,2 @@ | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./cookie-service/cookie.service")); | ||
export * from './cookie-service/cookie.service'; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "ngx-cookie-service", | ||
"description": "an angular (4+) cookie service", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"license": "MIT", | ||
"author": "7leads GmbH <info@7leads.org>", | ||
"keywords": [ | ||
"angular", | ||
"angular2", | ||
"angular4", | ||
"cookie", | ||
"aot", | ||
"ngx", | ||
"ng2", | ||
"ng", | ||
"service", | ||
"angular-service", | ||
"cookie-service", | ||
"cookie", | ||
"cookies" | ||
], | ||
"contributors": [ | ||
@@ -42,12 +57,13 @@ { | ||
"devDependencies": { | ||
"core-js": "^2.4.1", | ||
"rxjs": "^5.1.0", | ||
"zone.js": "^0.8.4", | ||
"@angular/router": "^4.0.0", | ||
"@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/cli": "1.0.0", | ||
"@angular/compiler-cli": "^4.0.0", | ||
"@angular/platform-server": "^4.0.0", | ||
"@angular/router": "^4.0.0", | ||
"@types/jasmine": "2.5.38", | ||
@@ -57,2 +73,3 @@ "@types/node": "~6.0.60", | ||
"codelyzer": "~2.0.0", | ||
"core-js": "^2.4.1", | ||
"jasmine-core": "~2.5.2", | ||
@@ -68,6 +85,8 @@ "jasmine-spec-reporter": "~3.2.0", | ||
"rimraf": "^2.6.1", | ||
"rxjs": "^5.1.0", | ||
"ts-node": "~2.0.0", | ||
"tslint": "~4.5.0", | ||
"typescript": "~2.2.0" | ||
"typescript": "~2.2.0", | ||
"zone.js": "^0.8.4" | ||
} | ||
} |
# NGX Cookie Service | ||
An Angular (4+) service for cookies. Originally based on the [ng2-cookies](https://www.npmjs.com/package/ng2-cookies) library. | ||
An (AOT ready) Angular (4+) service for cookies. Originally based on the [ng2-cookies](https://www.npmjs.com/package/ng2-cookies) library. | ||
@@ -5,0 +5,0 @@ # Installation |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
18286
12
31
173