angular2-cookie
Advanced tools
Comparing version 1.2.1 to 1.2.2
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
@@ -5,0 +5,0 @@ * @license MIT |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
@@ -5,0 +5,0 @@ * @license MIT |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
@@ -8,3 +8,3 @@ * @license MIT | ||
import { provide } from '@angular/core'; | ||
import { CookieOptions, BaseCookieOptions } from './services'; | ||
import { BaseCookieOptions, CookieOptions } from './services'; | ||
export * from './services'; | ||
@@ -11,0 +11,0 @@ export const ANGULAR2_COOKIE_PROVIDERS = [provide(CookieOptions, { useClass: BaseCookieOptions })]; |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
* @license MIT | ||
*/ | ||
export { BaseCookieOptions, CookieOptions } from './services/base-cookie-options'; | ||
export { CookieService } from './services/cookies.service'; | ||
export { CookieOptions, BaseCookieOptions } from './services/base-cookie-options'; | ||
//# sourceMappingURL=services.js.map |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
@@ -5,0 +5,0 @@ * @license MIT |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
@@ -5,0 +5,0 @@ * @license MIT |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
@@ -19,4 +19,4 @@ * @license MIT | ||
}; | ||
import { Json, isBlank, isPresent, isString } from '@angular/common/src/facade/lang'; | ||
import { Injectable, Optional } from '@angular/core'; | ||
import { Json, isPresent, isBlank, isString } from '@angular/common/src/facade/lang'; | ||
import { CookieOptions } from './base-cookie-options'; | ||
@@ -23,0 +23,0 @@ export let CookieService = class CookieService { |
{ | ||
"name": "angular2-cookie", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Implementation of Angular 1.x $cookies service to Angular 2", | ||
@@ -30,7 +30,7 @@ "repository": { | ||
"dependencies": { | ||
"@angular/common": "^2.0.0-rc.1", | ||
"@angular/compiler": "^2.0.0-rc.1", | ||
"@angular/core": "^2.0.0-rc.1", | ||
"@angular/platform-browser": "^2.0.0-rc.1", | ||
"es6-shim": "^0.35.0", | ||
"@angular/common": "^2.0.0-rc.4", | ||
"@angular/compiler": "^2.0.0-rc.4", | ||
"@angular/core": "^2.0.0-rc.4", | ||
"@angular/platform-browser": "^2.0.0-rc.4", | ||
"es6-shim": "^0.35.1", | ||
"reflect-metadata": "^0.1.3", | ||
@@ -37,0 +37,0 @@ "rxjs": "5.0.0-beta.6", |
@@ -1,4 +0,4 @@ | ||
# angular2-cookie [![Build Status](https://travis-ci.org/salemdar/angular2-cookie.svg?branch=1.2.1)](https://travis-ci.org/salemdar/angular2-cookie) [![npm version](https://badge.fury.io/js/angular2-cookie.svg)](http://badge.fury.io/js/angular2-cookie) [![Downloads](http://img.shields.io/npm/dm/angular2-cookie.svg)](https://npmjs.org/package/angular2-cookie) | ||
# angular2-cookie [![Build Status](https://travis-ci.org/salemdar/angular2-cookie.svg?branch=1.2.2)](https://travis-ci.org/salemdar/angular2-cookie) [![npm version](https://badge.fury.io/js/angular2-cookie.svg)](http://badge.fury.io/js/angular2-cookie) [![Downloads](http://img.shields.io/npm/dm/angular2-cookie.svg)](https://npmjs.org/package/angular2-cookie) | ||
> Implementation of Angular 1.x $cookies service to Angular 2 **v1.2.1** | ||
> Implementation of Angular 1.x $cookies service to Angular 2 **v1.2.2** | ||
@@ -5,0 +5,0 @@ _Please use 1.1.x versions for angular2 beta, 1.2.x versions are for release candidates._ |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
* @license MIT | ||
*/ | ||
export { BaseCookieOptions, CookieOptions } from './services/base-cookie-options'; | ||
export { CookieOptionsArgs } from './services/cookie-options-args.model'; | ||
export { CookieService } from './services/cookies.service'; | ||
export { CookieOptionsArgs } from './services/cookie-options-args.model'; | ||
export { CookieOptions, BaseCookieOptions } from './services/base-cookie-options'; |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
@@ -8,8 +8,8 @@ * @license MIT | ||
"use strict"; | ||
var base_cookie_options_1 = require('./services/base-cookie-options'); | ||
exports.BaseCookieOptions = base_cookie_options_1.BaseCookieOptions; | ||
exports.CookieOptions = base_cookie_options_1.CookieOptions; | ||
var cookies_service_1 = require('./services/cookies.service'); | ||
exports.CookieService = cookies_service_1.CookieService; | ||
var base_cookie_options_1 = require('./services/base-cookie-options'); | ||
exports.CookieOptions = base_cookie_options_1.CookieOptions; | ||
exports.BaseCookieOptions = base_cookie_options_1.BaseCookieOptions; | ||
//# sourceMappingURL=services.js.map |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
@@ -5,0 +5,0 @@ * @license MIT |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
@@ -5,0 +5,0 @@ * @license MIT |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
@@ -5,0 +5,0 @@ * @license MIT |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
@@ -5,0 +5,0 @@ * @license MIT |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
@@ -5,0 +5,0 @@ * @license MIT |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
@@ -20,4 +20,4 @@ * @license MIT | ||
}; | ||
var lang_1 = require('@angular/common/src/facade/lang'); | ||
var core_1 = require('@angular/core'); | ||
var lang_1 = require('@angular/common/src/facade/lang'); | ||
var base_cookie_options_1 = require('./base-cookie-options'); | ||
@@ -24,0 +24,0 @@ var CookieService = (function () { |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
@@ -8,4 +8,5 @@ * @license MIT | ||
import {provide} from '@angular/core'; | ||
import {CookieOptions, BaseCookieOptions} from './services'; | ||
import {BaseCookieOptions, CookieOptions} from './services'; | ||
export * from './services'; | ||
@@ -12,0 +13,0 @@ |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
* @license MIT | ||
*/ | ||
export {BaseCookieOptions, CookieOptions} from './services/base-cookie-options'; | ||
export {CookieOptionsArgs} from './services/cookie-options-args.model'; | ||
export {CookieService} from './services/cookies.service'; | ||
export {CookieOptionsArgs} from './services/cookie-options-args.model'; | ||
export {CookieOptions, BaseCookieOptions} from './services/base-cookie-options'; |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
@@ -8,6 +8,7 @@ * @license MIT | ||
import {isPresent} from '@angular/common/src/facade/lang'; | ||
import {CookieOptionsArgs} from './cookie-options-args.model'; | ||
import {Injectable} from '@angular/core'; | ||
import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; | ||
import {CookieOptionsArgs} from './cookie-options-args.model'; | ||
/** @private */ | ||
@@ -17,3 +18,3 @@ export class CookieOptions { | ||
domain: string; | ||
expires: string | Date; | ||
expires: string|Date; | ||
secure: boolean; | ||
@@ -20,0 +21,0 @@ |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
@@ -28,4 +28,4 @@ * @license MIT | ||
domain?: string; | ||
expires?: string | Date; | ||
expires?: string|Date; | ||
secure?: boolean; | ||
} |
/** | ||
* angular2-cookie - Implementation of Angular 1.x $cookies service to Angular 2 | ||
* @version v1.2.1 | ||
* @version v1.2.2 | ||
* @link https://github.com/salemdar/angular2-cookie#readme | ||
* @license MIT | ||
*/ | ||
import {Json, isBlank, isPresent, isString} from '@angular/common/src/facade/lang'; | ||
import {Injectable, Optional} from '@angular/core'; | ||
import {Json, isPresent, isBlank, isString} from '@angular/common/src/facade/lang'; | ||
import {CookieOptions} from './base-cookie-options'; | ||
@@ -185,4 +186,4 @@ import {BaseCookieOptions} from './base-cookie-options'; | ||
private _mergeOptions(defaultOpts: BaseCookieOptions, | ||
providedOpts?: CookieOptionsArgs): CookieOptions { | ||
private _mergeOptions(defaultOpts: BaseCookieOptions, providedOpts?: CookieOptionsArgs): | ||
CookieOptions { | ||
let newOpts = defaultOpts; | ||
@@ -189,0 +190,0 @@ if (isPresent(providedOpts)) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1327147
13306
Updated@angular/common@^2.0.0-rc.4
Updated@angular/core@^2.0.0-rc.4
Updatedes6-shim@^0.35.1