cdk-lambda-subminute 2.0.256 → 2.0.257

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.1468.0',
23
+ VERSION: '2.1469.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.1468.0",
4
+ "version": "2.1469.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "has",
3
3
  "description": "Object.prototype.hasOwnProperty.call shortcut",
4
- "version": "1.0.3",
4
+ "version": "1.0.4",
5
5
  "homepage": "https://github.com/tarruda/has",
6
6
  "author": {
7
7
  "name": "Thiago de Arruda",
@@ -29,9 +29,6 @@
29
29
  }
30
30
  ],
31
31
  "main": "./src",
32
- "dependencies": {
33
- "function-bind": "^1.1.1"
34
- },
35
32
  "devDependencies": {
36
33
  "@ljharb/eslint-config": "^12.2.1",
37
34
  "eslint": "^4.19.1",
@@ -1,5 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var bind = require('function-bind');
3
+ var hasOwnProperty = {}.hasOwnProperty;
4
+ var call = Function.prototype.call;
4
5
 
5
- module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
6
+ module.exports = call.bind ? call.bind(hasOwnProperty) : function (O, P) {
7
+ return call.call(hasOwnProperty, O, P);
8
+ };
@@ -6,5 +6,11 @@ var has = require('../');
6
6
  test('has', function (t) {
7
7
  t.equal(has({}, 'hasOwnProperty'), false, 'object literal does not have own property "hasOwnProperty"');
8
8
  t.equal(has(Object.prototype, 'hasOwnProperty'), true, 'Object.prototype has own property "hasOwnProperty"');
9
+ t['throws'](function () {
10
+ has(null, 'throws');
11
+ }, TypeError, 'calling has on null throws TypeError');
12
+ t['throws'](function () {
13
+ has(void 0, 'throws');
14
+ }, TypeError, 'calling has on undefined throws TypeError');
9
15
  t.end();
10
16
  });
package/package.json CHANGED
@@ -58,7 +58,7 @@
58
58
  "jsii-pacmak": "^1.89.0",
59
59
  "jsii-rosetta": "1.x",
60
60
  "npm-check-updates": "^16",
61
- "projen": "^0.73.38",
61
+ "projen": "^0.73.39",
62
62
  "source-map-support": "^0.5.21",
63
63
  "standard-version": "^9",
64
64
  "ts-jest": "^27",
@@ -70,7 +70,7 @@
70
70
  },
71
71
  "dependencies": {
72
72
  "aws-cdk-lib": "^2.95.0",
73
- "aws-sdk": "^2.1468.0",
73
+ "aws-sdk": "^2.1469.0",
74
74
  "constructs": "^10.0.5"
75
75
  },
76
76
  "bundledDependencies": [
@@ -92,7 +92,7 @@
92
92
  ],
93
93
  "main": "lib/index.js",
94
94
  "license": "Apache-2.0",
95
- "version": "2.0.256",
95
+ "version": "2.0.257",
96
96
  "jest": {
97
97
  "testMatch": [
98
98
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",