angular-cookies
Advanced tools
Comparing version 1.6.4 to 1.6.5
/** | ||
* @license AngularJS v1.6.4 | ||
* @license AngularJS v1.6.5 | ||
* (c) 2010-2017 Google, Inc. http://angularjs.org | ||
@@ -25,3 +25,3 @@ * License: MIT | ||
angular.module('ngCookies', ['ng']). | ||
info({ angularVersion: '1.6.4' }). | ||
info({ angularVersion: '1.6.5' }). | ||
/** | ||
@@ -28,0 +28,0 @@ * @ngdoc provider |
/* | ||
AngularJS v1.6.4 | ||
AngularJS v1.6.5 | ||
(c) 2010-2017 Google, Inc. http://angularjs.org | ||
@@ -7,4 +7,4 @@ License: MIT | ||
(function(n,c){'use strict';function l(b,a,g){var d=g.baseHref(),k=b[0];return function(b,e,f){var g,h;f=f||{};h=f.expires;g=c.isDefined(f.path)?f.path:d;c.isUndefined(e)&&(h="Thu, 01 Jan 1970 00:00:00 GMT",e="");c.isString(h)&&(h=new Date(h));e=encodeURIComponent(b)+"="+encodeURIComponent(e);e=e+(g?";path="+g:"")+(f.domain?";domain="+f.domain:"");e+=h?";expires="+h.toUTCString():"";e+=f.secure?";secure":"";f=e.length+1;4096<f&&a.warn("Cookie '"+b+"' possibly not set or overflowed because it was too large ("+ | ||
f+" > 4096 bytes)!");k.cookie=e}}c.module("ngCookies",["ng"]).info({angularVersion:"1.6.4"}).provider("$cookies",[function(){var b=this.defaults={};this.$get=["$$cookieReader","$$cookieWriter",function(a,g){return{get:function(d){return a()[d]},getObject:function(d){return(d=this.get(d))?c.fromJson(d):d},getAll:function(){return a()},put:function(d,a,m){g(d,a,m?c.extend({},b,m):b)},putObject:function(d,b,a){this.put(d,c.toJson(b),a)},remove:function(a,k){g(a,void 0,k?c.extend({},b,k):b)}}}]}]);c.module("ngCookies").factory("$cookieStore", | ||
f+" > 4096 bytes)!");k.cookie=e}}c.module("ngCookies",["ng"]).info({angularVersion:"1.6.5"}).provider("$cookies",[function(){var b=this.defaults={};this.$get=["$$cookieReader","$$cookieWriter",function(a,g){return{get:function(d){return a()[d]},getObject:function(d){return(d=this.get(d))?c.fromJson(d):d},getAll:function(){return a()},put:function(d,a,m){g(d,a,m?c.extend({},b,m):b)},putObject:function(d,b,a){this.put(d,c.toJson(b),a)},remove:function(a,k){g(a,void 0,k?c.extend({},b,k):b)}}}]}]);c.module("ngCookies").factory("$cookieStore", | ||
["$cookies",function(b){return{get:function(a){return b.getObject(a)},put:function(a,c){b.putObject(a,c)},remove:function(a){b.remove(a)}}}]);l.$inject=["$document","$log","$browser"];c.module("ngCookies").provider("$$cookieWriter",function(){this.$get=l})})(window,window.angular); | ||
//# sourceMappingURL=angular-cookies.min.js.map |
{ | ||
"name": "angular-cookies", | ||
"version": "1.6.4", | ||
"version": "1.6.5", | ||
"license": "MIT", | ||
@@ -8,4 +8,4 @@ "main": "./angular-cookies.js", | ||
"dependencies": { | ||
"angular": "1.6.4" | ||
"angular": "1.6.5" | ||
} | ||
} |
{ | ||
"name": "angular-cookies", | ||
"version": "1.6.4", | ||
"version": "1.6.5", | ||
"description": "AngularJS module for cookies", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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