@atlaspack/reporter-dev-server 2.14.18-noselfbuild-3f2849b52.0 → 2.14.18-typescript-d6e6d169c.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12945,7 +12945,7 @@ var $a0d584cf04914f16$var$parseRegExp = /^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb
12945
12945
  }
12946
12946
 
12947
12947
 
12948
- var $d08eb12d161683c9$exports = {};
12948
+ var $03ab44b9a3a3cd17$exports = {};
12949
12949
  /*!
12950
12950
  * content-disposition
12951
12951
  * Copyright(c) 2014 Douglas Christopher Wilson
@@ -12953,30 +12953,30 @@ var $d08eb12d161683c9$exports = {};
12953
12953
  */ 'use strict';
12954
12954
  /**
12955
12955
  * Module exports.
12956
- */ $d08eb12d161683c9$exports = $d08eb12d161683c9$var$contentDisposition;
12957
- $d08eb12d161683c9$exports.parse = $d08eb12d161683c9$var$parse;
12956
+ */ $03ab44b9a3a3cd17$exports = $03ab44b9a3a3cd17$var$contentDisposition;
12957
+ $03ab44b9a3a3cd17$exports.parse = $03ab44b9a3a3cd17$var$parse;
12958
12958
 
12959
- var $d08eb12d161683c9$require$basename = $impb2$path.basename;
12959
+ var $03ab44b9a3a3cd17$require$basename = $impb2$path.basename;
12960
12960
  /**
12961
12961
  * RegExp to match non attr-char, *after* encodeURIComponent (i.e. not including "%")
12962
- */ var $d08eb12d161683c9$var$ENCODE_URL_ATTR_CHAR_REGEXP = /[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g // eslint-disable-line no-control-regex
12962
+ */ var $03ab44b9a3a3cd17$var$ENCODE_URL_ATTR_CHAR_REGEXP = /[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g // eslint-disable-line no-control-regex
12963
12963
  ;
12964
12964
  /**
12965
12965
  * RegExp to match percent encoding escape.
12966
- */ var $d08eb12d161683c9$var$HEX_ESCAPE_REGEXP = /%[0-9A-Fa-f]{2}/;
12967
- var $d08eb12d161683c9$var$HEX_ESCAPE_REPLACE_REGEXP = /%([0-9A-Fa-f]{2})/g;
12966
+ */ var $03ab44b9a3a3cd17$var$HEX_ESCAPE_REGEXP = /%[0-9A-Fa-f]{2}/;
12967
+ var $03ab44b9a3a3cd17$var$HEX_ESCAPE_REPLACE_REGEXP = /%([0-9A-Fa-f]{2})/g;
12968
12968
  /**
12969
12969
  * RegExp to match non-latin1 characters.
12970
- */ var $d08eb12d161683c9$var$NON_LATIN1_REGEXP = /[^\x20-\x7e\xa0-\xff]/g;
12970
+ */ var $03ab44b9a3a3cd17$var$NON_LATIN1_REGEXP = /[^\x20-\x7e\xa0-\xff]/g;
12971
12971
  /**
12972
12972
  * RegExp to match quoted-pair in RFC 2616
12973
12973
  *
12974
12974
  * quoted-pair = "\" CHAR
12975
12975
  * CHAR = <any US-ASCII character (octets 0 - 127)>
12976
- */ var $d08eb12d161683c9$var$QESC_REGEXP = /\\([\u0000-\u007f])/g;
12976
+ */ var $03ab44b9a3a3cd17$var$QESC_REGEXP = /\\([\u0000-\u007f])/g;
12977
12977
  /**
12978
12978
  * RegExp to match chars that must be quoted-pair in RFC 2616
12979
- */ var $d08eb12d161683c9$var$QUOTE_REGEXP = /([\\"])/g;
12979
+ */ var $03ab44b9a3a3cd17$var$QUOTE_REGEXP = /([\\"])/g;
12980
12980
  /**
12981
12981
  * RegExp for various RFC 2616 grammar
12982
12982
  *
@@ -12999,10 +12999,10 @@ var $d08eb12d161683c9$var$HEX_ESCAPE_REPLACE_REGEXP = /%([0-9A-Fa-f]{2})/g;
12999
12999
  * HT = <US-ASCII HT, horizontal-tab (9)>
13000
13000
  * CTL = <any US-ASCII control character (octets 0 - 31) and DEL (127)>
13001
13001
  * OCTET = <any 8-bit sequence of data>
13002
- */ var $d08eb12d161683c9$var$PARAM_REGEXP = /;[\x09\x20]*([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*=[\x09\x20]*("(?:[\x20!\x23-\x5b\x5d-\x7e\x80-\xff]|\\[\x20-\x7e])*"|[!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*/g // eslint-disable-line no-control-regex
13002
+ */ var $03ab44b9a3a3cd17$var$PARAM_REGEXP = /;[\x09\x20]*([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*=[\x09\x20]*("(?:[\x20!\x23-\x5b\x5d-\x7e\x80-\xff]|\\[\x20-\x7e])*"|[!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*/g // eslint-disable-line no-control-regex
13003
13003
  ;
13004
- var $d08eb12d161683c9$var$TEXT_REGEXP = /^[\x20-\x7e\x80-\xff]+$/;
13005
- var $d08eb12d161683c9$var$TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/;
13004
+ var $03ab44b9a3a3cd17$var$TEXT_REGEXP = /^[\x20-\x7e\x80-\xff]+$/;
13005
+ var $03ab44b9a3a3cd17$var$TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/;
13006
13006
  /**
13007
13007
  * RegExp for various RFC 5987 grammar
13008
13008
  *
@@ -13022,7 +13022,7 @@ var $d08eb12d161683c9$var$TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/;
13022
13022
  * attr-char = ALPHA / DIGIT
13023
13023
  * / "!" / "#" / "$" / "&" / "+" / "-" / "."
13024
13024
  * / "^" / "_" / "`" / "|" / "~"
13025
- */ var $d08eb12d161683c9$var$EXT_VALUE_REGEXP = /^([A-Za-z0-9!#$%&+\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+.^_`|~-])+)$/;
13025
+ */ var $03ab44b9a3a3cd17$var$EXT_VALUE_REGEXP = /^([A-Za-z0-9!#$%&+\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+.^_`|~-])+)$/;
13026
13026
  /**
13027
13027
  * RegExp for various RFC 6266 grammar
13028
13028
  *
@@ -13034,7 +13034,7 @@ var $d08eb12d161683c9$var$TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/;
13034
13034
  * disp-ext-parm = token "=" value
13035
13035
  * | ext-token "=" ext-value
13036
13036
  * ext-token = <the characters in token, followed by "*">
13037
- */ var $d08eb12d161683c9$var$DISPOSITION_TYPE_REGEXP = /^([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*(?:$|;)/ // eslint-disable-line no-control-regex
13037
+ */ var $03ab44b9a3a3cd17$var$DISPOSITION_TYPE_REGEXP = /^([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*(?:$|;)/ // eslint-disable-line no-control-regex
13038
13038
  ;
13039
13039
  /**
13040
13040
  * Create an attachment Content-Disposition header.
@@ -13045,14 +13045,14 @@ var $d08eb12d161683c9$var$TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/;
13045
13045
  * @param {string|boolean} [options.fallback=true]
13046
13046
  * @return {string}
13047
13047
  * @api public
13048
- */ function $d08eb12d161683c9$var$contentDisposition(filename, options) {
13048
+ */ function $03ab44b9a3a3cd17$var$contentDisposition(filename, options) {
13049
13049
  var opts = options || {};
13050
13050
  // get type
13051
13051
  var type = opts.type || 'attachment';
13052
13052
  // get parameters
13053
- var params = $d08eb12d161683c9$var$createparams(filename, opts.fallback);
13053
+ var params = $03ab44b9a3a3cd17$var$createparams(filename, opts.fallback);
13054
13054
  // format into string
13055
- return $d08eb12d161683c9$var$format(new $d08eb12d161683c9$var$ContentDisposition(type, params));
13055
+ return $03ab44b9a3a3cd17$var$format(new $03ab44b9a3a3cd17$var$ContentDisposition(type, params));
13056
13056
  }
13057
13057
  /**
13058
13058
  * Create parameters object from filename and fallback.
@@ -13061,23 +13061,23 @@ var $d08eb12d161683c9$var$TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/;
13061
13061
  * @param {string|boolean} [fallback=true]
13062
13062
  * @return {object}
13063
13063
  * @api private
13064
- */ function $d08eb12d161683c9$var$createparams(filename, fallback) {
13064
+ */ function $03ab44b9a3a3cd17$var$createparams(filename, fallback) {
13065
13065
  if (filename === undefined) return;
13066
13066
  var params = {};
13067
13067
  if (typeof filename !== 'string') throw new TypeError('filename must be a string');
13068
13068
  // fallback defaults to true
13069
13069
  if (fallback === undefined) fallback = true;
13070
13070
  if (typeof fallback !== 'string' && typeof fallback !== 'boolean') throw new TypeError('fallback must be a string or boolean');
13071
- if (typeof fallback === 'string' && $d08eb12d161683c9$var$NON_LATIN1_REGEXP.test(fallback)) throw new TypeError('fallback must be ISO-8859-1 string');
13071
+ if (typeof fallback === 'string' && $03ab44b9a3a3cd17$var$NON_LATIN1_REGEXP.test(fallback)) throw new TypeError('fallback must be ISO-8859-1 string');
13072
13072
  // restrict to file base name
13073
- var name = $d08eb12d161683c9$require$basename(filename);
13073
+ var name = $03ab44b9a3a3cd17$require$basename(filename);
13074
13074
  // determine if name is suitable for quoted string
13075
- var isQuotedString = $d08eb12d161683c9$var$TEXT_REGEXP.test(name);
13075
+ var isQuotedString = $03ab44b9a3a3cd17$var$TEXT_REGEXP.test(name);
13076
13076
  // generate fallback name
13077
- var fallbackName = typeof fallback !== 'string' ? fallback && $d08eb12d161683c9$var$getlatin1(name) : $d08eb12d161683c9$require$basename(fallback);
13077
+ var fallbackName = typeof fallback !== 'string' ? fallback && $03ab44b9a3a3cd17$var$getlatin1(name) : $03ab44b9a3a3cd17$require$basename(fallback);
13078
13078
  var hasFallback = typeof fallbackName === 'string' && fallbackName !== name;
13079
13079
  // set extended filename parameter
13080
- if (hasFallback || !isQuotedString || $d08eb12d161683c9$var$HEX_ESCAPE_REGEXP.test(name)) params['filename*'] = name;
13080
+ if (hasFallback || !isQuotedString || $03ab44b9a3a3cd17$var$HEX_ESCAPE_REGEXP.test(name)) params['filename*'] = name;
13081
13081
  // set filename parameter
13082
13082
  if (isQuotedString || hasFallback) params.filename = hasFallback ? fallbackName : name;
13083
13083
  return params;
@@ -13090,10 +13090,10 @@ var $d08eb12d161683c9$var$TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/;
13090
13090
  * @param {object} [obj.parameters]
13091
13091
  * @return {string}
13092
13092
  * @api private
13093
- */ function $d08eb12d161683c9$var$format(obj) {
13093
+ */ function $03ab44b9a3a3cd17$var$format(obj) {
13094
13094
  var parameters = obj.parameters;
13095
13095
  var type = obj.type;
13096
- if (!type || typeof type !== 'string' || !$d08eb12d161683c9$var$TOKEN_REGEXP.test(type)) throw new TypeError('invalid type');
13096
+ if (!type || typeof type !== 'string' || !$03ab44b9a3a3cd17$var$TOKEN_REGEXP.test(type)) throw new TypeError('invalid type');
13097
13097
  // start with normalized type
13098
13098
  var string = String(type).toLowerCase();
13099
13099
  // append parameters
@@ -13102,7 +13102,7 @@ var $d08eb12d161683c9$var$TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/;
13102
13102
  var params = Object.keys(parameters).sort();
13103
13103
  for(var i = 0; i < params.length; i++){
13104
13104
  param = params[i];
13105
- var val = param.substr(-1) === '*' ? $d08eb12d161683c9$var$ustring(parameters[param]) : $d08eb12d161683c9$var$qstring(parameters[param]);
13105
+ var val = param.substr(-1) === '*' ? $03ab44b9a3a3cd17$var$ustring(parameters[param]) : $03ab44b9a3a3cd17$var$qstring(parameters[param]);
13106
13106
  string += '; ' + param + '=' + val;
13107
13107
  }
13108
13108
  }
@@ -13114,17 +13114,17 @@ var $d08eb12d161683c9$var$TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/;
13114
13114
  * @param {string} str
13115
13115
  * @return {string}
13116
13116
  * @api private
13117
- */ function $d08eb12d161683c9$var$decodefield(str) {
13118
- var match = $d08eb12d161683c9$var$EXT_VALUE_REGEXP.exec(str);
13117
+ */ function $03ab44b9a3a3cd17$var$decodefield(str) {
13118
+ var match = $03ab44b9a3a3cd17$var$EXT_VALUE_REGEXP.exec(str);
13119
13119
  if (!match) throw new TypeError('invalid extended field value');
13120
13120
  var charset = match[1].toLowerCase();
13121
13121
  var encoded = match[2];
13122
13122
  var value;
13123
13123
  // to binary string
13124
- var binary = encoded.replace($d08eb12d161683c9$var$HEX_ESCAPE_REPLACE_REGEXP, $d08eb12d161683c9$var$pdecode);
13124
+ var binary = encoded.replace($03ab44b9a3a3cd17$var$HEX_ESCAPE_REPLACE_REGEXP, $03ab44b9a3a3cd17$var$pdecode);
13125
13125
  switch(charset){
13126
13126
  case 'iso-8859-1':
13127
- value = $d08eb12d161683c9$var$getlatin1(binary);
13127
+ value = $03ab44b9a3a3cd17$var$getlatin1(binary);
13128
13128
  break;
13129
13129
  case 'utf-8':
13130
13130
  value = new Buffer(binary, 'binary').toString('utf8');
@@ -13140,9 +13140,9 @@ var $d08eb12d161683c9$var$TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/;
13140
13140
  * @param {string} val
13141
13141
  * @return {string}
13142
13142
  * @api private
13143
- */ function $d08eb12d161683c9$var$getlatin1(val) {
13143
+ */ function $03ab44b9a3a3cd17$var$getlatin1(val) {
13144
13144
  // simple Unicode -> ISO-8859-1 transformation
13145
- return String(val).replace($d08eb12d161683c9$var$NON_LATIN1_REGEXP, '?');
13145
+ return String(val).replace($03ab44b9a3a3cd17$var$NON_LATIN1_REGEXP, '?');
13146
13146
  }
13147
13147
  /**
13148
13148
  * Parse Content-Disposition header string.
@@ -13150,9 +13150,9 @@ var $d08eb12d161683c9$var$TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/;
13150
13150
  * @param {string} string
13151
13151
  * @return {object}
13152
13152
  * @api private
13153
- */ function $d08eb12d161683c9$var$parse(string) {
13153
+ */ function $03ab44b9a3a3cd17$var$parse(string) {
13154
13154
  if (!string || typeof string !== 'string') throw new TypeError('argument string is required');
13155
- var match = $d08eb12d161683c9$var$DISPOSITION_TYPE_REGEXP.exec(string);
13155
+ var match = $03ab44b9a3a3cd17$var$DISPOSITION_TYPE_REGEXP.exec(string);
13156
13156
  if (!match) throw new TypeError('invalid type format');
13157
13157
  // normalize type
13158
13158
  var index = match[0].length;
@@ -13162,9 +13162,9 @@ var $d08eb12d161683c9$var$TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/;
13162
13162
  var params = {};
13163
13163
  var value;
13164
13164
  // calculate index to start at
13165
- index = $d08eb12d161683c9$var$PARAM_REGEXP.lastIndex = match[0].substr(-1) === ';' ? index - 1 : index;
13165
+ index = $03ab44b9a3a3cd17$var$PARAM_REGEXP.lastIndex = match[0].substr(-1) === ';' ? index - 1 : index;
13166
13166
  // match parameters
13167
- while(match = $d08eb12d161683c9$var$PARAM_REGEXP.exec(string)){
13167
+ while(match = $03ab44b9a3a3cd17$var$PARAM_REGEXP.exec(string)){
13168
13168
  if (match.index !== index) throw new TypeError('invalid parameter format');
13169
13169
  index += match[0].length;
13170
13170
  key = match[1].toLowerCase();
@@ -13174,18 +13174,18 @@ var $d08eb12d161683c9$var$TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/;
13174
13174
  if (key.indexOf('*') + 1 === key.length) {
13175
13175
  // decode extended value
13176
13176
  key = key.slice(0, -1);
13177
- value = $d08eb12d161683c9$var$decodefield(value);
13177
+ value = $03ab44b9a3a3cd17$var$decodefield(value);
13178
13178
  // overwrite existing value
13179
13179
  params[key] = value;
13180
13180
  continue;
13181
13181
  }
13182
13182
  if (typeof params[key] === 'string') continue;
13183
13183
  if (value[0] === '"') // remove quotes and escapes
13184
- value = value.substr(1, value.length - 2).replace($d08eb12d161683c9$var$QESC_REGEXP, '$1');
13184
+ value = value.substr(1, value.length - 2).replace($03ab44b9a3a3cd17$var$QESC_REGEXP, '$1');
13185
13185
  params[key] = value;
13186
13186
  }
13187
13187
  if (index !== -1 && index !== string.length) throw new TypeError('invalid parameter format');
13188
- return new $d08eb12d161683c9$var$ContentDisposition(type, params);
13188
+ return new $03ab44b9a3a3cd17$var$ContentDisposition(type, params);
13189
13189
  }
13190
13190
  /**
13191
13191
  * Percent decode a single character.
@@ -13194,7 +13194,7 @@ var $d08eb12d161683c9$var$TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/;
13194
13194
  * @param {string} hex
13195
13195
  * @return {string}
13196
13196
  * @api private
13197
- */ function $d08eb12d161683c9$var$pdecode(str, hex) {
13197
+ */ function $03ab44b9a3a3cd17$var$pdecode(str, hex) {
13198
13198
  return String.fromCharCode(parseInt(hex, 16));
13199
13199
  }
13200
13200
  /**
@@ -13203,7 +13203,7 @@ var $d08eb12d161683c9$var$TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/;
13203
13203
  * @param {string} char
13204
13204
  * @return {string}
13205
13205
  * @api private
13206
- */ function $d08eb12d161683c9$var$pencode(char) {
13206
+ */ function $03ab44b9a3a3cd17$var$pencode(char) {
13207
13207
  var hex = String(char).charCodeAt(0).toString(16).toUpperCase();
13208
13208
  return hex.length === 1 ? '%0' + hex : '%' + hex;
13209
13209
  }
@@ -13213,9 +13213,9 @@ var $d08eb12d161683c9$var$TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/;
13213
13213
  * @param {string} val
13214
13214
  * @return {string}
13215
13215
  * @api private
13216
- */ function $d08eb12d161683c9$var$qstring(val) {
13216
+ */ function $03ab44b9a3a3cd17$var$qstring(val) {
13217
13217
  var str = String(val);
13218
- return '"' + str.replace($d08eb12d161683c9$var$QUOTE_REGEXP, '\\$1') + '"';
13218
+ return '"' + str.replace($03ab44b9a3a3cd17$var$QUOTE_REGEXP, '\\$1') + '"';
13219
13219
  }
13220
13220
  /**
13221
13221
  * Encode a Unicode string for HTTP (RFC 5987).
@@ -13223,15 +13223,15 @@ var $d08eb12d161683c9$var$TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/;
13223
13223
  * @param {string} val
13224
13224
  * @return {string}
13225
13225
  * @api private
13226
- */ function $d08eb12d161683c9$var$ustring(val) {
13226
+ */ function $03ab44b9a3a3cd17$var$ustring(val) {
13227
13227
  var str = String(val);
13228
13228
  // percent encode as UTF-8
13229
- var encoded = encodeURIComponent(str).replace($d08eb12d161683c9$var$ENCODE_URL_ATTR_CHAR_REGEXP, $d08eb12d161683c9$var$pencode);
13229
+ var encoded = encodeURIComponent(str).replace($03ab44b9a3a3cd17$var$ENCODE_URL_ATTR_CHAR_REGEXP, $03ab44b9a3a3cd17$var$pencode);
13230
13230
  return 'UTF-8\'\'' + encoded;
13231
13231
  }
13232
13232
  /**
13233
13233
  * Class for parsed Content-Disposition header for v8 optimization
13234
- */ function $d08eb12d161683c9$var$ContentDisposition(type, parameters) {
13234
+ */ function $03ab44b9a3a3cd17$var$ContentDisposition(type, parameters) {
13235
13235
  this.type = type;
13236
13236
  this.parameters = parameters;
13237
13237
  }
@@ -13597,7 +13597,7 @@ const $54fa85a6c98167c6$var$getHeaders = async (handlers, config, current, absol
13597
13597
  // Default to "inline", which always tries to render in the browser,
13598
13598
  // if that's not working, it will save the file. But to be clear: This
13599
13599
  // only happens if it cannot find a appropiate value.
13600
- 'Content-Disposition': $d08eb12d161683c9$exports(base, {
13600
+ 'Content-Disposition': $03ab44b9a3a3cd17$exports(base, {
13601
13601
  type: 'inline'
13602
13602
  }),
13603
13603
  'Accept-Ranges': 'bytes'