cdk-comprehend-s3olap 2.0.91 → 2.0.94

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.
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.1213.0',
23
+ VERSION: '2.1214.0',
24
24
 
25
25
  /**
26
26
  * @api private
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aws-sdk",
3
3
  "description": "AWS SDK for JavaScript",
4
- "version": "2.1213.0",
4
+ "version": "2.1214.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",
@@ -5,17 +5,6 @@
5
5
 
6
6
  "rules": {
7
7
  "id-length": 0,
8
- "max-statements": [2, 14],
9
8
  "max-statements-per-line": [2, { "max": 2 }],
10
- "operator-linebreak": [2, "before"],
11
9
  },
12
-
13
- "overrides": [
14
- {
15
- "files": "test/**",
16
- "rules": {
17
- "no-throw-literal": 0,
18
- },
19
- },
20
- ],
21
10
  }
@@ -1,3 +1,28 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [v1.2.5](https://github.com/inspect-js/is-callable/compare/v1.2.4...v1.2.5) - 2022-09-11
9
+
10
+ ### Commits
11
+
12
+ - [actions] reuse common workflows [`5bb4b32`](https://github.com/inspect-js/is-callable/commit/5bb4b32dc93987328ab4f396601f751c4a7abd62)
13
+ - [meta] better `eccheck` command [`b9bd597`](https://github.com/inspect-js/is-callable/commit/b9bd597322b6e3a24c74c09881ca73e1d9f9f485)
14
+ - [meta] use `npmignore` to autogenerate an npmignore file [`3192d38`](https://github.com/inspect-js/is-callable/commit/3192d38527c7fc461d05d5aa93d47628e658bc45)
15
+ - [Fix] for HTML constructors, always use `tryFunctionObject` even in pre-toStringTag browsers [`3076ea2`](https://github.com/inspect-js/is-callable/commit/3076ea21d1f6ecc1cb711dcf1da08f257892c72b)
16
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `available-typed-arrays`, `object-inspect`, `safe-publish-latest`, `tape` [`8986746`](https://github.com/inspect-js/is-callable/commit/89867464c42adc5cd375ee074a4574b0295442cb)
17
+ - [meta] add `auto-changelog` [`7dda9d0`](https://github.com/inspect-js/is-callable/commit/7dda9d04e670a69ae566c8fa596da4ff4371e615)
18
+ - [Fix] properly report `document.all` [`da90b2b`](https://github.com/inspect-js/is-callable/commit/da90b2b68dc4f33702c2e01ad07b4f89bcb60984)
19
+ - [actions] update codecov uploader [`c8f847c`](https://github.com/inspect-js/is-callable/commit/c8f847c90e04e54ff73c7cfae86e96e94990e324)
20
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `object-inspect`, `tape` [`899ae00`](https://github.com/inspect-js/is-callable/commit/899ae00b6abd10d81fc8bc7f02b345fd885d5f56)
21
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `es-value-fixtures`, `object-inspect`, `tape` [`344e913`](https://github.com/inspect-js/is-callable/commit/344e913b149609bf741aa7345fa32dc0b90d8893)
22
+ - [meta] remove greenkeeper config [`737dce5`](https://github.com/inspect-js/is-callable/commit/737dce5590b1abb16183a63cb9d7d26920b3b394)
23
+ - [meta] npmignore coverage output [`680a883`](https://github.com/inspect-js/is-callable/commit/680a8839071bf36a419fe66e1ced7a3303c27b28)
24
+
25
+ <!-- auto-changelog-above -->
1
26
  1.2.4 / 2021-08-05
2
27
  =================
3
28
  * [Fix] use `has-tostringtag` approach to behave correctly in the presence of symbol shams
@@ -46,12 +46,20 @@ var toStr = Object.prototype.toString;
46
46
  var fnClass = '[object Function]';
47
47
  var genClass = '[object GeneratorFunction]';
48
48
  var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`
49
- /* globals document: false */
50
- var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
49
+ var isDDA = typeof document === 'object' ? function isDocumentDotAll(value) {
50
+ /* globals document: false */
51
+ // in IE 8, typeof document.all is "object"
52
+ if (typeof value === 'undefined' || typeof value === 'object') {
53
+ try {
54
+ return value('') === null;
55
+ } catch (e) { /**/ }
56
+ }
57
+ return false;
58
+ } : function () { return false; };
51
59
 
52
60
  module.exports = reflectApply
53
61
  ? function isCallable(value) {
54
- if (value === documentDotAll) { return true; }
62
+ if (isDDA(value)) { return true; }
55
63
  if (!value) { return false; }
56
64
  if (typeof value !== 'function' && typeof value !== 'object') { return false; }
57
65
  if (typeof value === 'function' && !value.prototype) { return true; }
@@ -63,12 +71,12 @@ module.exports = reflectApply
63
71
  return !isES6ClassFn(value);
64
72
  }
65
73
  : function isCallable(value) {
66
- if (value === documentDotAll) { return true; }
74
+ if (isDDA(value)) { return true; }
67
75
  if (!value) { return false; }
68
76
  if (typeof value !== 'function' && typeof value !== 'object') { return false; }
69
77
  if (typeof value === 'function' && !value.prototype) { return true; }
70
78
  if (hasToStringTag) { return tryFunctionObject(value); }
71
79
  if (isES6ClassFn(value)) { return false; }
72
80
  var strClass = toStr.call(value);
73
- return strClass === fnClass || strClass === genClass;
81
+ return strClass === fnClass || strClass === genClass || tryFunctionObject(value);
74
82
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "is-callable",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "author": {
5
5
  "name": "Jordan Harband",
6
6
  "email": "ljharb@gmail.com",
@@ -20,14 +20,17 @@
20
20
  "license": "MIT",
21
21
  "main": "index.js",
22
22
  "scripts": {
23
+ "prepack": "npmignore --auto --commentLines=autogenerated",
24
+ "version": "auto-changelog && git add CHANGELOG.md",
25
+ "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
23
26
  "prepublishOnly": "safe-publish-latest",
24
27
  "prepublish": "not-in-publish || npm run prepublishOnly",
25
28
  "pretest": "npm run --silent lint",
26
29
  "test": "npm run tests-only --",
27
30
  "posttest": "aud --production",
28
31
  "tests-only": "nyc tape 'test/**/*.js'",
29
- "prelint": "eclint check *",
30
- "lint": "eslint ."
32
+ "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
33
+ "lint": "eslint --ext=js,mjs ."
31
34
  },
32
35
  "repository": {
33
36
  "type": "git",
@@ -46,22 +49,24 @@
46
49
  "@@toStringTag"
47
50
  ],
48
51
  "devDependencies": {
49
- "@ljharb/eslint-config": "^17.6.0",
50
- "aud": "^1.1.5",
51
- "available-typed-arrays": "^1.0.4",
52
+ "@ljharb/eslint-config": "^21.0.0",
53
+ "aud": "^2.0.0",
54
+ "auto-changelog": "^2.4.0",
55
+ "available-typed-arrays": "^1.0.5",
52
56
  "eclint": "^2.8.1",
53
- "es-value-fixtures": "^1.2.1",
54
- "eslint": "^7.32.0",
57
+ "es-value-fixtures": "^1.4.2",
58
+ "eslint": "=8.8.0",
55
59
  "for-each": "^0.3.3",
56
60
  "has-tostringtag": "^1.0.0",
57
61
  "make-arrow-function": "^1.2.0",
58
62
  "make-async-function": "^1.0.0",
59
63
  "make-generator-function": "^2.0.0",
64
+ "npmignore": "^0.3.0",
60
65
  "nyc": "^10.3.2",
61
- "object-inspect": "^1.11.0",
66
+ "object-inspect": "^1.12.2",
62
67
  "rimraf": "^2.7.1",
63
- "safe-publish-latest": "^1.1.4",
64
- "tape": "^5.3.0"
68
+ "safe-publish-latest": "^2.0.0",
69
+ "tape": "^5.6.0"
65
70
  },
66
71
  "testling": {
67
72
  "files": "test/index.js",
@@ -84,9 +89,18 @@
84
89
  "engines": {
85
90
  "node": ">= 0.4"
86
91
  },
87
- "greenkeeper": {
92
+ "auto-changelog": {
93
+ "output": "CHANGELOG.md",
94
+ "template": "keepachangelog",
95
+ "unreleased": false,
96
+ "commitLimit": false,
97
+ "backfillLimit": false,
98
+ "hideCredit": true,
99
+ "startingVersion": "v1.2.5"
100
+ },
101
+ "publishConfig": {
88
102
  "ignore": [
89
- "rimraf"
103
+ ".github/workflows"
90
104
  ]
91
105
  }
92
106
  }
@@ -1,6 +1,5 @@
1
1
  'use strict';
2
2
 
3
- /* globals Proxy */
4
3
  /* eslint no-magic-numbers: 1 */
5
4
 
6
5
  var test = require('tape');
@@ -20,6 +19,8 @@ try {
20
19
  /* eslint-enable no-new-func */
21
20
  } catch (e) { /**/ }
22
21
 
22
+ var isIE68 = !(0 in [undefined]);
23
+
23
24
  var noop = function () {};
24
25
  var classFake = function classFake() { }; // eslint-disable-line func-name-matching
25
26
  var returnClass = function () { return ' class '; };
@@ -161,10 +162,30 @@ test('throwing functions', function (t) {
161
162
  t.ok(isCallable(thrower), 'a function that throws is callable');
162
163
  });
163
164
 
164
- /* globals document: false */
165
- test('document.all', { skip: typeof document !== 'object' }, function (t) {
166
- t.notOk(isCallable(document), 'document is not callable');
167
- t.ok(isCallable(document.all), 'document.all is callable');
165
+ test('DOM', function (t) {
166
+ /* eslint-env browser */
167
+
168
+ t.test('document.all', { skip: typeof document !== 'object' }, function (st) {
169
+ st.notOk(isCallable(document), 'document is not callable');
170
+ st.ok(isCallable(document.all), 'document.all is callable');
171
+
172
+ st.end();
173
+ });
174
+
175
+ forEach([
176
+ 'HTMLElement',
177
+ 'HTMLAnchorElement'
178
+ ], function (name) {
179
+ var constructor = global[name];
180
+
181
+ t.test(name, { skip: !constructor }, function (st) {
182
+ st.match(typeof constructor, /^(?:function|object)$/, name + ' is a function');
183
+
184
+ st.equal(isCallable(constructor), !isIE68, name + ' is ' + (isIE68 ? 'not ' : '') + 'callable');
185
+
186
+ st.end();
187
+ });
188
+ });
168
189
 
169
190
  t.end();
170
191
  });
package/package.json CHANGED
@@ -59,7 +59,7 @@
59
59
  "jsii-pacmak": "^1.67.0",
60
60
  "json-schema": "^0.4.0",
61
61
  "npm-check-updates": "^15",
62
- "projen": "^0.62.1",
62
+ "projen": "^0.62.4",
63
63
  "standard-version": "^9",
64
64
  "ts-jest": "^27",
65
65
  "typescript": "^4.8.3"
@@ -70,7 +70,7 @@
70
70
  },
71
71
  "dependencies": {
72
72
  "aws-cdk-lib": "^2.41.0",
73
- "aws-sdk": "^2.1213.0",
73
+ "aws-sdk": "^2.1214.0",
74
74
  "constructs": "^10.0.5",
75
75
  "esbuild": "^0.15.7"
76
76
  },
@@ -92,7 +92,7 @@
92
92
  ],
93
93
  "main": "lib/index.js",
94
94
  "license": "Apache-2.0",
95
- "version": "2.0.91",
95
+ "version": "2.0.94",
96
96
  "jest": {
97
97
  "testMatch": [
98
98
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",
@@ -1 +0,0 @@
1
- coverage/
@@ -1,47 +0,0 @@
1
- verbose: false
2
- instrumentation:
3
- root: .
4
- extensions:
5
- - .js
6
- - .jsx
7
- default-excludes: true
8
- excludes: []
9
- variable: __coverage__
10
- compact: true
11
- preserve-comments: false
12
- complete-copy: false
13
- save-baseline: false
14
- baseline-file: ./coverage/coverage-baseline.raw.json
15
- include-all-sources: false
16
- include-pid: false
17
- es-modules: false
18
- auto-wrap: false
19
- reporting:
20
- print: summary
21
- reports:
22
- - html
23
- dir: ./coverage
24
- summarizer: pkg
25
- report-config: {}
26
- watermarks:
27
- statements: [50, 80]
28
- functions: [50, 80]
29
- branches: [50, 80]
30
- lines: [50, 80]
31
- hooks:
32
- hook-run-in-context: false
33
- post-require-hook: null
34
- handle-sigint: false
35
- check:
36
- global:
37
- statements: 100
38
- lines: 100
39
- branches: 100
40
- functions: 100
41
- excludes: []
42
- each:
43
- statements: 100
44
- lines: 100
45
- branches: 100
46
- functions: 100
47
- excludes: []