@multiplayer-app/session-recorder-node 2.0.17 → 2.0.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multiplayer-app/session-recorder-node",
3
- "version": "2.0.17",
3
+ "version": "2.0.18",
4
4
  "description": "Multiplayer Fullstack Session Recorder for Node.js",
5
5
  "author": {
6
6
  "name": "Multiplayer Software, Inc.",
@@ -36,7 +36,7 @@
36
36
  "prepublishOnly": "npm run build"
37
37
  },
38
38
  "dependencies": {
39
- "@multiplayer-app/session-recorder-common": "2.0.17",
39
+ "@multiplayer-app/session-recorder-common": "2.0.18",
40
40
  "@opentelemetry/api": "^1.9.0",
41
41
  "@opentelemetry/core": "^2.0.1",
42
42
  "@opentelemetry/otlp-exporter-base": "^0.203.0",
package/eslint.config.js DELETED
@@ -1,226 +0,0 @@
1
- import js from '@eslint/js'
2
- import globals from 'globals'
3
- import tseslint from '@typescript-eslint/eslint-plugin'
4
- import tsparser from '@typescript-eslint/parser'
5
-
6
- export default [
7
- js.configs.recommended,
8
- {
9
- ignores: [
10
- 'node_modules/**',
11
- 'dist/**',
12
- 'build/**',
13
- 'coverage/**',
14
- '*.min.js',
15
- '*.bundle.js',
16
- ],
17
- },
18
- {
19
- files: ['**/*.ts', '**/*.tsx'],
20
- languageOptions: {
21
- parser: tsparser,
22
- parserOptions: {
23
- ecmaVersion: 'latest',
24
- sourceType: 'module',
25
- },
26
- globals: {
27
- ...globals.browser,
28
- // Browser globals
29
- window: 'readonly',
30
- document: 'readonly',
31
- navigator: 'readonly',
32
- localStorage: 'readonly',
33
- sessionStorage: 'readonly',
34
- console: 'readonly',
35
- setTimeout: 'readonly',
36
- clearTimeout: 'readonly',
37
- setInterval: 'readonly',
38
- clearInterval: 'readonly',
39
- requestAnimationFrame: 'readonly',
40
- cancelAnimationFrame: 'readonly',
41
- fetch: 'readonly',
42
- Headers: 'readonly',
43
- HeadersInit: 'readonly',
44
- Request: 'readonly',
45
- RequestInfo: 'readonly',
46
- Response: 'readonly',
47
- FormData: 'readonly',
48
- File: 'readonly',
49
- Blob: 'readonly',
50
- URL: 'readonly',
51
- URLSearchParams: 'readonly',
52
- AbortController: 'readonly',
53
- AbortSignal: 'readonly',
54
- ReadableStream: 'readonly',
55
- WritableStream: 'readonly',
56
- TransformStream: 'readonly',
57
- TextEncoder: 'readonly',
58
- TextDecoder: 'readonly',
59
- HTMLElement: 'readonly',
60
- HTMLButtonElement: 'readonly',
61
- HTMLInputElement: 'readonly',
62
- HTMLTextAreaElement: 'readonly',
63
- HTMLAnchorElement: 'readonly',
64
- XMLHttpRequest: 'readonly',
65
- XMLHttpRequestBodyInit: 'readonly',
66
- MouseEvent: 'readonly',
67
- InputEvent: 'readonly',
68
- MessageEvent: 'readonly',
69
- EventListener: 'readonly',
70
- MutationObserver: 'readonly',
71
- NodeJS: 'readonly',
72
- Window: 'readonly',
73
- Document: 'readonly',
74
- IDBDatabase: 'readonly',
75
- indexedDB: 'readonly',
76
- // Node.js globals
77
- process: 'readonly',
78
- Buffer: 'readonly',
79
- __dirname: 'readonly',
80
- __filename: 'readonly',
81
- global: 'readonly',
82
- module: 'readonly',
83
- require: 'readonly',
84
- exports: 'readonly',
85
- },
86
- },
87
- plugins: {
88
- '@typescript-eslint': tseslint,
89
- },
90
- rules: {
91
- // TypeScript specific rules
92
- 'no-namespace': 'off',
93
- 'no-useless-escape': 'off',
94
- 'no-self-assign': 'off',
95
- 'no-useless-catch': 'off',
96
- 'prefer-namespace-keyword': 'off',
97
- 'no-empty-function': 'off',
98
- 'no-unused-vars': 'off',
99
- 'no-explicit-any': 'off',
100
- 'ban-types': 'off',
101
- 'object-curly-spacing': ['error', 'always'],
102
- 'space-before-blocks': 'error',
103
- 'keyword-spacing': 'error',
104
-
105
- // General rules
106
- 'prefer-const': 'error',
107
- 'block-spacing': ['error', 'always'],
108
- 'keyword-spacing': [
109
- 'error',
110
- {
111
- before: true,
112
- after: true,
113
- },
114
- ],
115
- 'indent': ['error', 2, { SwitchCase: 1 }],
116
- 'linebreak-style': ['error', 'unix'],
117
- 'quotes': ['error', 'single'],
118
- 'semi': ['error', 'never'],
119
- 'comma-dangle': ['error', 'always-multiline'],
120
- 'no-console': 'warn',
121
- 'object-curly-spacing': ['error', 'always'],
122
- 'space-in-parens': ['error', 'never'],
123
- 'array-bracket-spacing': ['error', 'never'],
124
- 'no-trailing-spaces': 'error',
125
- 'no-multi-spaces': 'error',
126
- 'no-lonely-if': 'error',
127
- 'key-spacing': 'error',
128
- 'no-useless-escape': 'error',
129
- 'no-self-assign': 'error',
130
- },
131
- },
132
- {
133
- files: ['**/*.js', '**/*.mjs'],
134
- languageOptions: {
135
- ecmaVersion: 'latest',
136
- sourceType: 'module',
137
- globals: {
138
- // Browser globals
139
- window: 'readonly',
140
- document: 'readonly',
141
- navigator: 'readonly',
142
- localStorage: 'readonly',
143
- sessionStorage: 'readonly',
144
- console: 'readonly',
145
- setTimeout: 'readonly',
146
- clearTimeout: 'readonly',
147
- setInterval: 'readonly',
148
- clearInterval: 'readonly',
149
- requestAnimationFrame: 'readonly',
150
- cancelAnimationFrame: 'readonly',
151
- fetch: 'readonly',
152
- Headers: 'readonly',
153
- HeadersInit: 'readonly',
154
- Request: 'readonly',
155
- RequestInfo: 'readonly',
156
- Response: 'readonly',
157
- FormData: 'readonly',
158
- File: 'readonly',
159
- Blob: 'readonly',
160
- URL: 'readonly',
161
- URLSearchParams: 'readonly',
162
- AbortController: 'readonly',
163
- AbortSignal: 'readonly',
164
- ReadableStream: 'readonly',
165
- WritableStream: 'readonly',
166
- TransformStream: 'readonly',
167
- TextEncoder: 'readonly',
168
- TextDecoder: 'readonly',
169
- HTMLElement: 'readonly',
170
- HTMLButtonElement: 'readonly',
171
- HTMLInputElement: 'readonly',
172
- HTMLTextAreaElement: 'readonly',
173
- HTMLAnchorElement: 'readonly',
174
- XMLHttpRequest: 'readonly',
175
- XMLHttpRequestBodyInit: 'readonly',
176
- MouseEvent: 'readonly',
177
- InputEvent: 'readonly',
178
- MessageEvent: 'readonly',
179
- EventListener: 'readonly',
180
- MutationObserver: 'readonly',
181
- NodeJS: 'readonly',
182
- Window: 'readonly',
183
- Document: 'readonly',
184
- IDBDatabase: 'readonly',
185
- indexedDB: 'readonly',
186
- // Node.js globals
187
- process: 'readonly',
188
- Buffer: 'readonly',
189
- __dirname: 'readonly',
190
- __filename: 'readonly',
191
- global: 'readonly',
192
- module: 'readonly',
193
- require: 'readonly',
194
- exports: 'readonly',
195
- },
196
- },
197
- rules: {
198
- 'no-useless-escape': 'off',
199
- 'no-self-assign': 'off',
200
- 'prefer-const': 'error',
201
- 'block-spacing': ['error', 'always'],
202
- 'keyword-spacing': [
203
- 'error',
204
- {
205
- before: true,
206
- after: true,
207
- },
208
- ],
209
- 'indent': ['error', 2, { SwitchCase: 1 }],
210
- 'linebreak-style': ['error', 'unix'],
211
- 'quotes': ['error', 'single'],
212
- 'semi': ['error', 'never'],
213
- 'comma-dangle': ['error', 'always-multiline'],
214
- 'no-console': 'warn',
215
- 'object-curly-spacing': ['error', 'always'],
216
- 'space-in-parens': ['error', 'never'],
217
- 'array-bracket-spacing': ['error', 'never'],
218
- 'no-trailing-spaces': 'error',
219
- 'no-multi-spaces': 'error',
220
- 'no-lonely-if': 'error',
221
- 'key-spacing': 'error',
222
- 'no-useless-escape': 'error',
223
- 'no-self-assign': 'error',
224
- },
225
- },
226
- ]