Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 87e966d

Browse files
v1.8.2
1 parent 848d262 commit 87e966d

File tree

5 files changed

+78
-60
lines changed

5 files changed

+78
-60
lines changed

angular.js

Lines changed: 34 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.8.1
2+
* @license AngularJS v1.8.2
33
* (c) 2010-2020 Google LLC. http://angularjs.org
44
* License: MIT
55
*/
@@ -99,7 +99,7 @@ function isValidObjectMaxDepth(maxDepth) {
9999
function minErr(module, ErrorConstructor) {
100100
ErrorConstructor = ErrorConstructor || Error;
101101

102-
var url = 'https://errors.angularjs.org/1.8.1/';
102+
var url = 'https://errors.angularjs.org/1.8.2/';
103103
var regex = url.replace('.', '\\.') + '[\\s\\S]*';
104104
var errRegExp = new RegExp(regex, 'g');
105105

@@ -2828,11 +2828,11 @@ function toDebugString(obj, maxDepth) {
28282828
var version = {
28292829
// These placeholder strings will be replaced by grunt's `build` task.
28302830
// They need to be double- or single-quoted.
2831-
full: '1.8.1',
2831+
full: '1.8.2',
28322832
major: 1,
28332833
minor: 8,
2834-
dot: 1,
2835-
codeName: 'mutually-supporting'
2834+
dot: 2,
2835+
codeName: 'meteoric-mining'
28362836
};
28372837

28382838

@@ -2983,7 +2983,7 @@ function publishExternalAPI(angular) {
29832983
});
29842984
}
29852985
])
2986-
.info({ angularVersion: '1.8.1' });
2986+
.info({ angularVersion: '1.8.2' });
29872987
}
29882988

29892989
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@@ -9056,15 +9056,15 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
90569056
* @deprecated
90579057
* sinceVersion="1.8.1"
90589058
*
9059-
* This function is deprecated. Use {@link $compileProvider#aHrefSanitizationTrustedUrlList
9059+
* This method is deprecated. Use {@link $compileProvider#aHrefSanitizationTrustedUrlList
90609060
* aHrefSanitizationTrustedUrlList} instead.
90619061
*/
90629062
Object.defineProperty(this, 'aHrefSanitizationWhitelist', {
90639063
get: function() {
90649064
return this.aHrefSanitizationTrustedUrlList;
90659065
},
9066-
set: function(regexp) {
9067-
this.aHrefSanitizationTrustedUrlList = regexp;
9066+
set: function(value) {
9067+
this.aHrefSanitizationTrustedUrlList = value;
90689068
}
90699069
});
90709070

@@ -9107,15 +9107,15 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
91079107
* @deprecated
91089108
* sinceVersion="1.8.1"
91099109
*
9110-
* This function is deprecated. Use {@link $compileProvider#imgSrcSanitizationTrustedUrlList
9110+
* This method is deprecated. Use {@link $compileProvider#imgSrcSanitizationTrustedUrlList
91119111
* imgSrcSanitizationTrustedUrlList} instead.
91129112
*/
91139113
Object.defineProperty(this, 'imgSrcSanitizationWhitelist', {
91149114
get: function() {
91159115
return this.imgSrcSanitizationTrustedUrlList;
91169116
},
9117-
set: function(regexp) {
9118-
this.imgSrcSanitizationTrustedUrlList = regexp;
9117+
set: function(value) {
9118+
this.imgSrcSanitizationTrustedUrlList = value;
91199119
}
91209120
});
91219121

@@ -12417,7 +12417,7 @@ function $HttpProvider() {
1241712417
* @deprecated
1241812418
* sinceVersion="1.8.1"
1241912419
*
12420-
* This function is deprecated. Use {@link $httpProvider#xsrfTrustedOrigins xsrfTrustedOrigins}
12420+
* This property is deprecated. Use {@link $httpProvider#xsrfTrustedOrigins xsrfTrustedOrigins}
1242112421
* instead.
1242212422
*/
1242312423
Object.defineProperty(this, 'xsrfWhitelistedOrigins', {
@@ -20250,7 +20250,26 @@ function $SceDelegateProvider() {
2025020250
}
2025120251
return trustedResourceUrlList;
2025220252
};
20253-
this.resourceUrlWhitelist = this.trustedResourceUrlList;
20253+
20254+
/**
20255+
* @ngdoc method
20256+
* @name $sceDelegateProvider#resourceUrlWhitelist
20257+
* @kind function
20258+
*
20259+
* @deprecated
20260+
* sinceVersion="1.8.1"
20261+
*
20262+
* This method is deprecated. Use {@link $sceDelegateProvider#trustedResourceUrlList
20263+
* trustedResourceUrlList} instead.
20264+
*/
20265+
Object.defineProperty(this, 'resourceUrlWhitelist', {
20266+
get: function() {
20267+
return this.trustedResourceUrlList;
20268+
},
20269+
set: function(value) {
20270+
this.trustedResourceUrlList = value;
20271+
}
20272+
});
2025420273

2025520274
/**
2025620275
* @ngdoc method
@@ -20277,7 +20296,6 @@ function $SceDelegateProvider() {
2027720296
* The **default value** when no trusted resource URL list has been explicitly set is the empty
2027820297
* array (i.e. there is no `bannedResourceUrlList`.)
2027920298
*/
20280-
2028120299
this.bannedResourceUrlList = function(value) {
2028220300
if (arguments.length) {
2028320301
bannedResourceUrlList = adjustMatchers(value);
@@ -20293,7 +20311,7 @@ function $SceDelegateProvider() {
2029320311
* @deprecated
2029420312
* sinceVersion="1.8.1"
2029520313
*
20296-
* This function is deprecated. Use {@link $sceDelegateProvider#bannedResourceUrlList
20314+
* This method is deprecated. Use {@link $sceDelegateProvider#bannedResourceUrlList
2029720315
* bannedResourceUrlList} instead.
2029820316
*/
2029920317
Object.defineProperty(this, 'resourceUrlBlacklist', {

0 commit comments

Comments
 (0)