From 730170e3c38a182812ad946c3c44c98878336f2f Mon Sep 17 00:00:00 2001 From: noogen Date: Sat, 27 Jan 2024 01:10:37 -0600 Subject: [PATCH] make it work with IE11 --- dist/index.js | 2 +- package.json | 4 ++-- tsconfig.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 4f5565f..d9574a4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -54,4 +54,4 @@ function deepFilter(source, valueFilterFn) { return myArray.filter(item => deepValues(item, [source, myArray]).some(valueFilterFn)); } exports.default = { deepValues, deepFilter }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQTs7Ozs7O0dBTUc7QUFDSCxTQUFTLFVBQVUsQ0FBQyxNQUFXLEVBQUUsUUFBZSxJQUFJLEtBQUssRUFBRTtJQUN6RCxJQUFJLE1BQU0sR0FBVSxFQUFFLEVBQ3BCLE1BQU0sR0FBVSxNQUFNLEVBQ3RCLFVBQVUsR0FBVyxNQUFNLEtBQUssSUFBSSxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLE9BQU8sTUFBTSxDQUFDO0lBRWhFLElBQUksQ0FBQyxNQUFNLElBQUksTUFBTSxDQUFDLE1BQU0sS0FBSyxNQUFNLENBQUMsSUFBSSxLQUFLLENBQUMsUUFBUSxDQUFDLE1BQU0sQ0FBQyxFQUFFLENBQUM7UUFDbkUsVUFBVSxHQUFHLFFBQVEsQ0FBQztJQUN4QixDQUFDO1NBQU0sSUFBSSxLQUFLLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyxJQUFJLE1BQU0sWUFBWSxLQUFLLEVBQUUsQ0FBQztRQUM1RCxVQUFVLEdBQUcsT0FBTyxDQUFDO0lBQ3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pbHRlciBpbiBhcnJheVxuICovXG5mdW5jdGlvbiBkZWVwRmlsdGVyPFQ+KHNvdXJjZTogVCB8IFRbXSwgdmFsdWVGaWx0ZXJGbjogKHZhbHVlOiBhbnksIGluZGV4OiBudW1iZXIsIG9iamVjdDogYW55W10pID0+IGJvb2xlYW4pOiBUW10ge1xuXG4gIGlmICgoQXJyYXkuaXNBcnJheShzb3VyY2UpIHx8IHNvdXJjZSBpbnN0YW5jZW9mIEFycmF5KSkge1xuICAgIHJldHVybiBzb3VyY2UuZmlsdGVyKGl0ZW0gPT4gZGVlcFZhbHVlcyhpdGVtLCBbc291cmNlXSkuc29tZSh2YWx1ZUZpbHRlckZuKSk7XG4gIH1cblxuICBsZXQgbXlBcnJheSA9IE9iamVjdC52YWx1ZXMoc291cmNlKTtcblxuICByZXR1cm4gbXlBcnJheS5maWx0ZXIoaXRlbSA9PiBkZWVwVmFsdWVzKGl0ZW0sIFtzb3VyY2UsIG15QXJyYXldKS5zb21lKHZhbHVlRmlsdGVyRm4pKTtcbn1cblxuZXhwb3J0IGRlZmF1bHQgeyBkZWVwVmFsdWVzLCBkZWVwRmlsdGVyIH07XG4iXX0= \ No newline at end of file diff --git a/package.json b/package.json index 4e2a55d..b0aeb28 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "deep-values", - "version": "1.1.3", + "version": "1.1.4", "description": "deepValues capture version of Object.values and deepFilter", "license": "MIT", "repository": "niiknow/deep-values", @@ -24,7 +24,7 @@ "deep-filter" ], "devDependencies": { - "@types/node": "^20.11.6", + "@types/node": "^20.11.7", "ava": "^6.1.0", "nyc": "^15.1.0", "typescript": "^5.3.3" diff --git a/tsconfig.json b/tsconfig.json index be0e3a3..7c9a364 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { /* Basic Options */ - "target": "es2017", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */ + "target": "es2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */ "module": "commonjs", /* Specify module code generation: 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ "skipLibCheck": true, // "lib": [], /* Specify library files to be included in the compilation: */