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