logixlysia 2.2.1 → 2.2.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.2.2](https://github.com/PunGrumpy/logixlysia/compare/v2.2.1...v2.2.2) (2024-04-06)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **eslint:** change to use `eslint.config.cjs` instead `.eslintrc.cjs` ([506a33b](https://github.com/PunGrumpy/logixlysia/commit/506a33bc6540614a0b912ddedec109b2215affa3))
9
+ * package.json to reduce vulnerabilities ([f768e88](https://github.com/PunGrumpy/logixlysia/commit/f768e88acd7d7c1faf32dab06a467c2cd6ba8f9c))
10
+
3
11
  ## [2.2.1](https://github.com/PunGrumpy/logixlysia/compare/v2.2.0...v2.2.1) (2024-03-19)
4
12
 
5
13
 
@@ -0,0 +1,25 @@
1
+ module.exports = {
2
+ env: {
3
+ es2021: true,
4
+ node: true
5
+ },
6
+ extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
7
+ parser: '@typescript-eslint/parser',
8
+ parserOptions: {
9
+ ecmaVersion: 'latest',
10
+ sourceType: 'module'
11
+ },
12
+ plugins: ['@typescript-eslint'],
13
+ rules: {
14
+ '@typescript-eslint/ban-types': 'off',
15
+ '@typescript-eslint/no-explicit-any': 'off',
16
+ 'no-mixed-spaces-and-tabs': 'off',
17
+ '@typescript-eslint/no-non-null-assertion': 'off',
18
+ '@typescript-eslint/no-extra-semi': 'off',
19
+ '@typescript-eslint/ban-ts-comment': 'off',
20
+ '@typescript-eslint/no-namespace': 'off',
21
+ 'no-case-declarations': 'off',
22
+ 'no-extra-semi': 'off'
23
+ },
24
+ ignorePatterns: ['example/*', 'tests/**/*', 'lint-staged.config.js']
25
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "logixlysia",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "🦊 Logixlysia is a logger for Elysia",
5
5
  "type": "module",
6
6
  "module": "src/index.ts",
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "license": "MIT",
17
17
  "scripts": {
18
- "lint": "eslint . --ext .ts",
19
- "lint:fix": "eslint . --ext .ts --fix",
18
+ "lint": "eslint **/*.ts --no-warn-ignored",
19
+ "lint:fix": "eslint **/*.ts --fix --no-warn-ignored",
20
20
  "test": "bun test --timeout 5000 --coverage",
21
21
  "test:ci": "bun test --timeout 5000 --coverage",
22
22
  "publish": "npm publish",
@@ -72,7 +72,7 @@
72
72
  "@typescript-eslint/parser": "^7.0.2",
73
73
  "chalk": "^5.3.0",
74
74
  "elysia": "^1.0.4",
75
- "eslint": "^8.56.0"
75
+ "eslint": "^9.0.0"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@elysiajs/eden": "^1.0.4",