aws-testing-library
Advanced tools
Comparing version 1.1.4 to 1.1.5
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.removeKeysFromItemForNonStrictComparison = exports.expectedProps = void 0; | ||
const filterObject = require("filter-obj"); | ||
const filter_obj_1 = require("filter-obj"); | ||
exports.expectedProps = ['region', 'table', 'key']; | ||
const removeKeysFromItemForNonStrictComparison = (received, expected) => { | ||
return filterObject(received, (key) => Object.prototype.hasOwnProperty.call(expected, key)); | ||
return (0, filter_obj_1.default)(received, (key) => Object.prototype.hasOwnProperty.call(expected, key)); | ||
}; | ||
exports.removeKeysFromItemForNonStrictComparison = removeKeysFromItemForNonStrictComparison; | ||
//# sourceMappingURL=dynamoDb.js.map |
{ | ||
"name": "aws-testing-library", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Chai and Jest matchers for aws services", | ||
@@ -53,8 +53,8 @@ "scripts": { | ||
"@types/uuid": "^8.3.0", | ||
"@typescript-eslint/eslint-plugin": "^4.7.0", | ||
"@typescript-eslint/parser": "^4.7.0", | ||
"@typescript-eslint/eslint-plugin": "^5.0.0", | ||
"@typescript-eslint/parser": "^5.0.0", | ||
"chai": "^4.2.0", | ||
"coveralls": "^3.0.6", | ||
"eslint": "^7.13.0", | ||
"eslint-config-prettier": "^6.15.0", | ||
"eslint": "^8.0.0", | ||
"eslint-config-prettier": "^8.0.0", | ||
"husky": "^7.0.0", | ||
@@ -71,3 +71,3 @@ "jest": "^27.0.0", | ||
"axios": "^0.25.0", | ||
"filter-obj": "^2.0.1", | ||
"filter-obj": "^3.0.0", | ||
"jest-diff": "^27.0.0", | ||
@@ -74,0 +74,0 @@ "uuid": "^8.0.0" |
Sorry, the diff of this file is not supported yet
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
104767
1
+ Addedfilter-obj@3.0.0(transitive)
- Removedfilter-obj@2.0.2(transitive)
Updatedfilter-obj@^3.0.0