@beauraines/node-helpers 4.0.17 → 4.0.19

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.
@@ -21,7 +21,7 @@ jobs:
21
21
  - name: setup node
22
22
  uses: actions/setup-node@v3
23
23
  with:
24
- node-version: 16.x
24
+ node-version: 20.x
25
25
  registry-url: 'https://registry.npmjs.org'
26
26
  - name: npm install
27
27
  run: npm ci
@@ -13,7 +13,7 @@ jobs:
13
13
 
14
14
  strategy:
15
15
  matrix:
16
- node-version: [16.x,18.x,20.x]
16
+ node-version: [18.x,20.x]
17
17
 
18
18
  steps:
19
19
  - uses: actions/checkout@v3
package/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [4.0.19](https://github.com/beauraines/node-helpers/compare/v4.0.18...v4.0.19) (2024-06-21)
6
+
7
+ ### [4.0.18](https://github.com/beauraines/node-helpers/compare/v4.0.17...v4.0.18) (2024-06-21)
8
+
5
9
  ### [4.0.17](https://github.com/beauraines/node-helpers/compare/v4.0.16...v4.0.17) (2024-06-20)
6
10
 
7
11
 
@@ -0,0 +1,33 @@
1
+ import jest from "eslint-plugin-jest";
2
+ import globals from "globals";
3
+ import path from "node:path";
4
+ import { fileURLToPath } from "node:url";
5
+ import js from "@eslint/js";
6
+ import { FlatCompat } from "@eslint/eslintrc";
7
+
8
+ const __filename = fileURLToPath(import.meta.url);
9
+ const __dirname = path.dirname(__filename);
10
+ const compat = new FlatCompat({
11
+ baseDirectory: __dirname,
12
+ recommendedConfig: js.configs.recommended,
13
+ allConfig: js.configs.all
14
+ });
15
+
16
+ export default [...compat.extends("eslint:recommended"), {
17
+ plugins: {
18
+ jest,
19
+ },
20
+
21
+ languageOptions: {
22
+ globals: {
23
+ ...globals.browser,
24
+ ...globals.commonjs,
25
+ ...jest.environments.globals.globals,
26
+ },
27
+
28
+ ecmaVersion: "latest",
29
+ sourceType: "script",
30
+ },
31
+
32
+ rules: {},
33
+ }];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beauraines/node-helpers",
3
- "version": "4.0.17",
3
+ "version": "4.0.19",
4
4
  "description": "Collection of node helpers",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -23,10 +23,13 @@
23
23
  "sqlite3": "^5.1.2"
24
24
  },
25
25
  "devDependencies": {
26
- "eslint": "^8.27.0",
27
- "eslint-plugin-jest": "^27.2.1",
26
+ "@eslint/eslintrc": "^3.1.0",
27
+ "@eslint/js": "^9.5.0",
28
+ "eslint": "^9.5.0",
29
+ "eslint-plugin-jest": "^28.6.0",
30
+ "globals": "^15.6.0",
28
31
  "jest": "^29.3.1",
29
- "should-release": "^1.2.0",
32
+ "should-release": "github:beauraines/should-release",
30
33
  "standard-version": "^9.5.0"
31
34
  }
32
35
  }
package/src/ado.js CHANGED
@@ -1,6 +1,7 @@
1
1
  const azdev = require('azure-devops-node-api')
2
2
  const {getResourceId} = require('./helpers.js')
3
3
  const {readConfig } = require('./config.js')
4
+ // eslint-disable-next-line no-redeclare
4
5
  const fetch = require('node-fetch');
5
6
 
6
7
  // get Current iteration
package/src/jira.js CHANGED
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line no-redeclare
1
2
  const fetch = require('node-fetch');
2
3
 
3
4
  /**
package/.eslintrc.js DELETED
@@ -1,17 +0,0 @@
1
- module.exports = {
2
- "env": {
3
- "browser": true,
4
- "commonjs": true,
5
- "es2021": true,
6
- "jest/globals": true
7
- },
8
- "extends": "eslint:recommended",
9
- "overrides": [
10
- ],
11
- "parserOptions": {
12
- "ecmaVersion": "latest"
13
- },
14
- "plugins": ["jest"],
15
- "rules": {
16
- }
17
- }