Skip to content

Commit b4f89e1

Browse files
committed
Update to version 1.2.0
1 parent 03e94bb commit b4f89e1

File tree

14 files changed

+102
-67
lines changed

14 files changed

+102
-67
lines changed

.conf/eslint/eslint.config.js

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
const js = require( "@eslint/js" );
2+
const globals = require( "globals" );
3+
4+
const BROWSER_FIX = Object.assign({ }, globals.browser, {
5+
AudioWorkletGlobalScope: globals.browser[ 'AudioWorkletGlobalScope ' ]
6+
});
7+
8+
delete BROWSER_FIX[ 'AudioWorkletGlobalScope ' ];
9+
10+
module.exports = [
11+
js.configs.recommended,
12+
{
13+
languageOptions: {
14+
globals: {
15+
...globals.es6,
16+
...globals.node,
17+
...BROWSER_FIX
18+
},
19+
parserOptions: {
20+
ecmaVersion: 2018,
21+
sourceType: "module"
22+
},
23+
},
24+
plugins: { },
25+
rules: { },
26+
ignores: [
27+
"/node_modules/*",
28+
"/src/test/*"
29+
]
30+
}
31+
];

.conf/grunt/eslint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = function ( grunt, options ) {
88

99
return {
1010
options: {
11-
overrideConfigFile: ".eslintrc.js"
11+
overrideConfigFile: ".conf/eslint/eslint.config.js"
1212
},
1313
target: [
1414
GRUNTFILE,

.conf/grunt/rollup.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
* © 2020, db-developer.
33
* Licensed under the MIT license.
44
*/
5-
const path = require( "path" );
6-
const terser = require( "rollup-plugin-terser" ).terser;
7-
const commonjs = require( "@rollup/plugin-commonjs" );
5+
const path = require( "path" );
6+
const terser = require( "@rollup/plugin-terser" );
7+
const commonjs = require( "@rollup/plugin-commonjs" );
88

99
module.exports = function ( grunt, options ) {
1010
const entrypoint = "index.js";

.conf/vscode/.eslintrc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"extends": "eslint:recommended",
3+
"env": {
4+
"browser": true,
5+
"es6": true,
6+
"node": true
7+
},
8+
"globals": { },
9+
"parserOptions": {
10+
"ecmaVersion": 2018,
11+
"sourceType": "module"
12+
},
13+
"rules": {
14+
}
15+
}

.eslintrc.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"eslint.options": {
3+
"eslint.lintTask.options": "-c D:/@db-developer/typescript/@db-developer-obsidian-log/.conf/vscode/.eslintrc.json --ignore-path D:/@db-developer/typescript/@db-developer-obsidian-log/.conf/vscode/.eslintignore ."
4+
}
5+
}

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ All notable changes to this project will be documented in this file.
1212

1313
- No Fixes yet
1414

15+
## [1.2.0] - 2024-07-01
16+
17+
Updated dependencies (versions) in package.json
18+
Dropped support for nodejs versions prior 18 see: https://nodejs.org/en/about/releases/
19+
Changed eslint config file to flat
20+
Added eslint settings for vscode (using older eslint version than grunt)
21+
Moved 'old' (conflicting) eslint config files for vscode to .conf/vscode
22+
1523
## [1.1.0] - 2022-02-09
1624

1725
Updated dependencies (versions) in package.json

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "grunt-check-outdated",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "check for outdated dependencies",
55
"author": "Dirk Brenckmann <db.developer@gmx.de>",
66
"license": "MIT",
@@ -36,31 +36,31 @@
3636
},
3737
"homepage": "https://www.slashlib.org/?page_id=429",
3838
"devDependencies": {
39-
"@babel/core": "^7.23.3",
40-
"@rollup/plugin-commonjs": "^25.0.7",
41-
"@rollup/plugin-json": "^6.0.1",
39+
"@babel/core": "^7.24.7",
40+
"@rollup/plugin-commonjs": "^26.0.1",
41+
"@rollup/plugin-json": "^6.1.0",
4242
"@rollup/plugin-node-resolve": "^15.2.3",
43+
"@rollup/plugin-terser": "^0.4.4",
4344
"babel-loader": "^9.1.2",
4445
"expect.js": "^0.3.1",
4546
"grunt": "^1.6.1",
4647
"grunt-contrib-clean": "^2.0.1",
4748
"grunt-contrib-copy": "^1.0.0",
48-
"grunt-eslint": "^24.1.0",
49-
"grunt-jsdoc2md": "^1.1.0",
50-
"grunt-jsonfile": "^1.1.0",
49+
"grunt-eslint": "^25.0.0",
50+
"grunt-jsdoc2md": "^1.2.0",
51+
"grunt-jsonfile": "^1.2.0",
5152
"grunt-mkdir": "^1.1.0",
5253
"grunt-move": "^2.0.0",
53-
"grunt-nyc-mocha": "^1.1.0",
54+
"grunt-nyc-mocha": "^1.2.0",
5455
"grunt-rollup": "^12.0.0",
5556
"grunt-shell": "^4.0.0",
5657
"grunt-webpack": "^6.0.0",
5758
"load-grunt-config": "^4.0.1",
5859
"load-grunt-tasks": "^5.1.0",
59-
"rollup-plugin-terser": "^7.0.2",
6060
"source-map-support": "^0.5.21",
6161
"webpack": "^5.88.2"
6262
},
6363
"dependencies": {
64-
"check-outdated": "^2.11.0"
64+
"check-outdated": "^2.12.0"
6565
}
6666
}

src/lib/constants.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,10 @@ const _STRINGS = {
2323
TASKDESCRIPTION_CHKOUTDATED: "Check package.json for outdated dependencies"
2424
};
2525

26-
/* eslint-disable */
2726
// Module exports:
2827
Object.defineProperty( module.exports, _STRINGS.PROPERTY_TASKNAME_CHKOUTDATED, {
29-
value: _STRINGS.TASKNAME_CHKOUTDATED,
30-
writable: false, enumerable: true, configurable: false });
28+
value: _STRINGS.TASKNAME_CHKOUTDATED,
29+
writable: false, enumerable: true, configurable: false });
3130
Object.defineProperty( module.exports, _STRINGS.PROPERTY_TASKDESC_CHKOUTDATED, {
32-
value: _STRINGS.TASKDESCRIPTION_CHKOUTDATED,
33-
writable: false, enumerable: true, configurable: false });
34-
/* eslint-enable */
31+
value: _STRINGS.TASKDESCRIPTION_CHKOUTDATED,
32+
writable: false, enumerable: true, configurable: false });

0 commit comments

Comments
 (0)