1
1
/**
2
- * @license AngularJS v1.8.1
2
+ * @license AngularJS v1.8.2
3
3
* (c) 2010-2020 Google LLC. http://angularjs.org
4
4
* License: MIT
5
5
*/
@@ -99,7 +99,7 @@ function isValidObjectMaxDepth(maxDepth) {
99
99
function minErr(module, ErrorConstructor) {
100
100
ErrorConstructor = ErrorConstructor || Error;
101
101
102
- var url = 'https://errors.angularjs.org/1.8.1 /';
102
+ var url = 'https://errors.angularjs.org/1.8.2 /';
103
103
var regex = url.replace('.', '\\.') + '[\\s\\S]*';
104
104
var errRegExp = new RegExp(regex, 'g');
105
105
@@ -2828,11 +2828,11 @@ function toDebugString(obj, maxDepth) {
2828
2828
var version = {
2829
2829
// These placeholder strings will be replaced by grunt's `build` task.
2830
2830
// They need to be double- or single-quoted.
2831
- full: '1.8.1 ',
2831
+ full: '1.8.2 ',
2832
2832
major: 1,
2833
2833
minor: 8,
2834
- dot: 1 ,
2835
- codeName: 'mutually-supporting '
2834
+ dot: 2 ,
2835
+ codeName: 'meteoric-mining '
2836
2836
};
2837
2837
2838
2838
@@ -2983,7 +2983,7 @@ function publishExternalAPI(angular) {
2983
2983
});
2984
2984
}
2985
2985
])
2986
- .info({ angularVersion: '1.8.1 ' });
2986
+ .info({ angularVersion: '1.8.2 ' });
2987
2987
}
2988
2988
2989
2989
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@@ -9056,15 +9056,15 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
9056
9056
* @deprecated
9057
9057
* sinceVersion="1.8.1"
9058
9058
*
9059
- * This function is deprecated. Use {@link $compileProvider#aHrefSanitizationTrustedUrlList
9059
+ * This method is deprecated. Use {@link $compileProvider#aHrefSanitizationTrustedUrlList
9060
9060
* aHrefSanitizationTrustedUrlList} instead.
9061
9061
*/
9062
9062
Object.defineProperty(this, 'aHrefSanitizationWhitelist', {
9063
9063
get: function() {
9064
9064
return this.aHrefSanitizationTrustedUrlList;
9065
9065
},
9066
- set: function(regexp ) {
9067
- this.aHrefSanitizationTrustedUrlList = regexp ;
9066
+ set: function(value ) {
9067
+ this.aHrefSanitizationTrustedUrlList = value ;
9068
9068
}
9069
9069
});
9070
9070
@@ -9107,15 +9107,15 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
9107
9107
* @deprecated
9108
9108
* sinceVersion="1.8.1"
9109
9109
*
9110
- * This function is deprecated. Use {@link $compileProvider#imgSrcSanitizationTrustedUrlList
9110
+ * This method is deprecated. Use {@link $compileProvider#imgSrcSanitizationTrustedUrlList
9111
9111
* imgSrcSanitizationTrustedUrlList} instead.
9112
9112
*/
9113
9113
Object.defineProperty(this, 'imgSrcSanitizationWhitelist', {
9114
9114
get: function() {
9115
9115
return this.imgSrcSanitizationTrustedUrlList;
9116
9116
},
9117
- set: function(regexp ) {
9118
- this.imgSrcSanitizationTrustedUrlList = regexp ;
9117
+ set: function(value ) {
9118
+ this.imgSrcSanitizationTrustedUrlList = value ;
9119
9119
}
9120
9120
});
9121
9121
@@ -12417,7 +12417,7 @@ function $HttpProvider() {
12417
12417
* @deprecated
12418
12418
* sinceVersion="1.8.1"
12419
12419
*
12420
- * This function is deprecated. Use {@link $httpProvider#xsrfTrustedOrigins xsrfTrustedOrigins}
12420
+ * This property is deprecated. Use {@link $httpProvider#xsrfTrustedOrigins xsrfTrustedOrigins}
12421
12421
* instead.
12422
12422
*/
12423
12423
Object.defineProperty(this, 'xsrfWhitelistedOrigins', {
@@ -20250,7 +20250,26 @@ function $SceDelegateProvider() {
20250
20250
}
20251
20251
return trustedResourceUrlList;
20252
20252
};
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
+ });
20254
20273
20255
20274
/**
20256
20275
* @ngdoc method
@@ -20277,7 +20296,6 @@ function $SceDelegateProvider() {
20277
20296
* The **default value** when no trusted resource URL list has been explicitly set is the empty
20278
20297
* array (i.e. there is no `bannedResourceUrlList`.)
20279
20298
*/
20280
-
20281
20299
this.bannedResourceUrlList = function(value) {
20282
20300
if (arguments.length) {
20283
20301
bannedResourceUrlList = adjustMatchers(value);
@@ -20293,7 +20311,7 @@ function $SceDelegateProvider() {
20293
20311
* @deprecated
20294
20312
* sinceVersion="1.8.1"
20295
20313
*
20296
- * This function is deprecated. Use {@link $sceDelegateProvider#bannedResourceUrlList
20314
+ * This method is deprecated. Use {@link $sceDelegateProvider#bannedResourceUrlList
20297
20315
* bannedResourceUrlList} instead.
20298
20316
*/
20299
20317
Object.defineProperty(this, 'resourceUrlBlacklist', {
0 commit comments