@beauraines/rtm-api 1.9.0 → 1.11.0

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: 18.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]
16
+ node-version: [18.x,20.x]
17
17
 
18
18
  steps:
19
19
  - uses: actions/checkout@v3
package/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
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
- ## [1.9.0](https://github.com/beauraines/rtm-api/compare/v1.5.0...v1.9.0) (2024-06-24)
5
+ ## [1.11.0](https://github.com/beauraines/rtm-api/compare/v1.5.0...v1.11.0) (2024-06-24)
6
6
 
7
7
 
8
8
  ### Features
@@ -18,6 +18,7 @@ All notable changes to this project will be documented in this file. See [standa
18
18
  * **deps:** bump node-fetch from 2.6.7 to 2.6.11 ([182508a](https://github.com/beauraines/rtm-api/commit/182508a528521aefe13c884c9f5d28047a21cf93))
19
19
  * **deps:** bump node-fetch from 2.6.7 to 2.6.11 ([#25](https://github.com/beauraines/rtm-api/issues/25)) ([afda81e](https://github.com/beauraines/rtm-api/commit/afda81e7d3fc5bf16058170f013f0e5afcff3ee9))
20
20
  * increment version number ([da5820b](https://github.com/beauraines/rtm-api/commit/da5820b37af5a816ca48c5367bd23ad94ee1f972))
21
+ * increment version number ([#47](https://github.com/beauraines/rtm-api/issues/47)) ([2fd93a3](https://github.com/beauraines/rtm-api/commit/2fd93a33c0d5df249d78f695bb01f730f6c08192))
21
22
 
22
23
  ## [1.5.0](https://github.com/beauraines/rtm-api/compare/v1.3.1...v1.5.0) (2023-03-12)
23
24
 
@@ -0,0 +1,32 @@
1
+ import globals from "globals";
2
+ import path from "node:path";
3
+ import { fileURLToPath } from "node:url";
4
+ import js from "@eslint/js";
5
+ import { FlatCompat } from "@eslint/eslintrc";
6
+
7
+ const __filename = fileURLToPath(import.meta.url);
8
+ const __dirname = path.dirname(__filename);
9
+ const compat = new FlatCompat({
10
+ baseDirectory: __dirname,
11
+ recommendedConfig: js.configs.recommended,
12
+ allConfig: js.configs.all
13
+ });
14
+
15
+ export default [...compat.extends("eslint:recommended"), {
16
+ languageOptions: {
17
+ globals: {
18
+ ...globals.browser,
19
+ ...globals.commonjs,
20
+ },
21
+
22
+ ecmaVersion: "latest",
23
+ sourceType: "script",
24
+ },
25
+
26
+ rules: {
27
+ indent: ["error", 2],
28
+ "linebreak-style": ["error", "unix"],
29
+ quotes: ["error", "single"],
30
+ semi: ["error", "always"],
31
+ },
32
+ }];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beauraines/rtm-api",
3
- "version": "1.9.0",
3
+ "version": "1.11.0",
4
4
  "description": "Remember the Milk API Interface",
5
5
  "author": "David Waring <dev@davidwaring.net> (https://davidwaring.net)",
6
6
  "contributors": [
@@ -26,8 +26,11 @@
26
26
  },
27
27
  "devDependencies": {
28
28
  "@dwaring87/docdash": "^0.4.1",
29
- "eslint": "^8.35.0",
29
+ "@eslint/eslintrc": "^3.1.0",
30
+ "@eslint/js": "^9.5.0",
31
+ "eslint": "^9.5.0",
30
32
  "eslint-plugin-jest": "^28.6.0",
33
+ "globals": "^15.6.0",
31
34
  "jest": "^29.4.3",
32
35
  "jsdoc": "^4.0.2"
33
36
  },
package/.eslintrc.json DELETED
@@ -1,31 +0,0 @@
1
- {
2
- "env": {
3
- "browser": true,
4
- "commonjs": true,
5
- "es2021": true
6
- },
7
- "extends": "eslint:recommended",
8
- "overrides": [
9
- ],
10
- "parserOptions": {
11
- "ecmaVersion": "latest"
12
- },
13
- "rules": {
14
- "indent": [
15
- "error",
16
- 2
17
- ],
18
- "linebreak-style": [
19
- "error",
20
- "unix"
21
- ],
22
- "quotes": [
23
- "error",
24
- "single"
25
- ],
26
- "semi": [
27
- "error",
28
- "always"
29
- ]
30
- }
31
- }