Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency filter-obj to v3 #518

Merged
merged 2 commits into from
Jan 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* eslint-env node */
const esModules = ['filter-obj'].join('|');

module.exports = {
roots: ['<rootDir>/src'],
transform: {
'^.+\\.tsx?$': 'ts-jest',
},
preset: 'ts-jest/presets/js-with-ts',
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
transformIgnorePatterns: [`node_modules/(?!${esModules})`],
};
19 changes: 11 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"dependencies": {
"aws-sdk": "^2.678.0",
"axios": "^0.25.0",
"filter-obj": "^2.0.1",
"filter-obj": "^3.0.0",
"jest-diff": "^27.0.0",
"uuid": "^8.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/common/dynamoDb.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import filterObject = require('filter-obj');
import filterObject from 'filter-obj';
import { AttributeMap } from 'aws-sdk/clients/dynamodb';
import { ICommonProps } from './';

Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"strict": true,
"noUnusedLocals": true,
"declaration": true,
"outDir": "./lib"
"outDir": "./lib",
"allowJs": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "**/*.test.ts"]
Expand Down