cdk-comprehend-s3olap 2.0.7 → 2.0.8

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.
@@ -1,4 +1,4 @@
1
- // AWS SDK for JavaScript v2.1153.0
1
+ // AWS SDK for JavaScript v2.1154.0
2
2
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  // License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
4
4
  (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
@@ -239963,7 +239963,7 @@ AWS.util.update(AWS, {
239963
239963
  /**
239964
239964
  * @constant
239965
239965
  */
239966
- VERSION: '2.1153.0',
239966
+ VERSION: '2.1154.0',
239967
239967
 
239968
239968
  /**
239969
239969
  * @api private
@@ -253307,20 +253307,28 @@ var util = {
253307
253307
  parse: function string(ini) {
253308
253308
  var currentSection, map = {};
253309
253309
  util.arrayEach(ini.split(/\r?\n/), function(line) {
253310
- line = line.split(/(^|\s)[;#]/)[0]; // remove comments
253311
- var section = line.match(/^\s*\[([^\[\]]+)\]\s*$/);
253312
- if (section) {
253313
- currentSection = section[1];
253310
+ line = line.split(/(^|\s)[;#]/)[0].trim(); // remove comments and trim
253311
+ var isSection = line[0] === '[' && line[line.length - 1] === ']';
253312
+ if (isSection) {
253313
+ currentSection = line.substring(1, line.length - 1);
253314
253314
  if (currentSection === '__proto__' || currentSection.split(/\s/)[1] === '__proto__') {
253315
253315
  throw util.error(
253316
253316
  new Error('Cannot load profile name \'' + currentSection + '\' from shared ini file.')
253317
253317
  );
253318
253318
  }
253319
253319
  } else if (currentSection) {
253320
- var item = line.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/);
253321
- if (item) {
253320
+ var indexOfEqualsSign = line.indexOf('=');
253321
+ var start = 0;
253322
+ var end = line.length - 1;
253323
+ var isAssignment =
253324
+ indexOfEqualsSign !== -1 && indexOfEqualsSign !== start && indexOfEqualsSign !== end;
253325
+
253326
+ if (isAssignment) {
253327
+ var name = line.substring(0, indexOfEqualsSign).trim();
253328
+ var value = line.substring(indexOfEqualsSign + 1).trim();
253329
+
253322
253330
  map[currentSection] = map[currentSection] || {};
253323
- map[currentSection][item[1]] = item[2];
253331
+ map[currentSection][name] = value;
253324
253332
  }
253325
253333
  }
253326
253334
  });
@@ -261887,7 +261895,7 @@ var LRUCache = /** @class */ (function () {
261887
261895
  }());
261888
261896
  exports.LRUCache = LRUCache;
261889
261897
  },{}],457:[function(require,module,exports){
261890
- // AWS SDK for JavaScript v2.1153.0
261898
+ // AWS SDK for JavaScript v2.1154.0
261891
261899
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
261892
261900
  // License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
261893
261901
  require('./browser_loader');