@xyo-network/plugins 2.99.4 → 2.99.6

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.
@@ -1,4 +1,4 @@
1
1
  // src/index.ts
2
2
  export * from "@xyo-network/payload-plugins";
3
3
  export * from "@xyo-network/payloadset-plugins";
4
- //# sourceMappingURL=index.js.map
4
+ //# sourceMappingURL=index.mjs.map
@@ -1,4 +1,4 @@
1
1
  // src/index.ts
2
2
  export * from "@xyo-network/payload-plugins";
3
3
  export * from "@xyo-network/payloadset-plugins";
4
- //# sourceMappingURL=index.js.map
4
+ //# sourceMappingURL=index.mjs.map
@@ -1,4 +1,4 @@
1
1
  // src/index.ts
2
2
  export * from "@xyo-network/payload-plugins";
3
3
  export * from "@xyo-network/payloadset-plugins";
4
- //# sourceMappingURL=index.js.map
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,37 @@
1
+ // eslint.config.mjs
2
+
3
+ import { config as xylabsConfig, rulesConfig } from '@xylabs/eslint-config-flat'
4
+
5
+ export default [
6
+ {
7
+ ignores: ['.yarn/**', 'jest.config.cjs', '**/dist/**', 'dist', 'build/**', 'node_modules/**'],
8
+ },
9
+ ...xylabsConfig,
10
+ {
11
+ rules: {
12
+ '@typescript-eslint/no-unused-expressions': ['off'],
13
+ 'no-restricted-imports': [
14
+ 'warn',
15
+ {
16
+ paths: [
17
+ ...rulesConfig.rules['no-restricted-imports'][1].paths,
18
+ '@types/node',
19
+ '@xyo-network/archivist',
20
+ '@xyo-network/bridge',
21
+ '@xyo-network/core',
22
+ '@xyo-network/diviner',
23
+ '@xyo-network/module',
24
+ '@xyo-network/modules',
25
+ '@xyo-network/node',
26
+ '@xyo-network/sdk',
27
+ '@xyo-network/plugins',
28
+ '@xyo-network/protocol',
29
+ '@xyo-network/sentinel',
30
+ '@xyo-network/witness',
31
+ '@xyo-network/core-payload-plugins',
32
+ ],
33
+ },
34
+ ],
35
+ },
36
+ },
37
+ ]
package/jest.config.ts CHANGED
@@ -30,5 +30,4 @@ const generateJestConfig = ({ esModules }: { esModules: string[] }) => {
30
30
 
31
31
  const config = generateJestConfig({ esModules: ['is-ip', 'ip-regex', 'lodash-es', 'uuid', 'lodash-es', 'quick-lru'] })
32
32
 
33
- // eslint-disable-next-line import/no-default-export
34
33
  export default config
package/package.json CHANGED
@@ -13,33 +13,40 @@
13
13
  "packages/**/*"
14
14
  ],
15
15
  "dependencies": {
16
- "@xyo-network/payload-plugins": "^2.99.4",
17
- "@xyo-network/payloadset-plugins": "^2.99.4"
16
+ "@xyo-network/payload-plugins": "^2.99.6",
17
+ "@xyo-network/payloadset-plugins": "^2.99.6"
18
18
  },
19
19
  "devDependencies": {
20
- "@babel/core": "^7.24.9",
21
- "@babel/preset-env": "^7.24.8",
22
- "@babel/preset-typescript": "^7.24.7",
20
+ "@babel/core": "^7.25.2",
21
+ "@stylistic/eslint-plugin": "^2.6.1",
23
22
  "@types/jest": "^29.5.12",
24
23
  "@types/supertest": "^6.0.2",
25
- "@xylabs/eslint-config": "^3.12.2",
26
- "@xylabs/eslint-config-flat": "^3.12.2",
27
- "@xylabs/forget": "^3.6.1",
28
- "@xylabs/ts-scripts-yarn3": "^3.12.2",
29
- "@xylabs/tsconfig": "^3.12.2",
30
- "@xylabs/tsconfig-dom-jest": "^3.12.2",
31
- "@xyo-network/account": "^2.110.6",
32
- "@xyo-network/archivist-memory": "^2.110.6",
33
- "@xyo-network/boundwitness-builder": "^2.110.6",
34
- "@xyo-network/hash": "^2.110.6",
35
- "@xyo-network/manifest": "^2.110.6",
36
- "@xyo-network/manifest-wrapper": "^2.110.6",
37
- "@xyo-network/node-memory": "^2.110.6",
38
- "@xyo-network/payload-builder": "^2.110.6",
24
+ "@typescript-eslint/eslint-plugin": "^8.0.1",
25
+ "@typescript-eslint/parser": "^8.0.1",
26
+ "@xylabs/eslint-config": "^3.15.14",
27
+ "@xylabs/eslint-config-flat": "^3.15.14",
28
+ "@xylabs/forget": "^3.6.12",
29
+ "@xylabs/platform": "^3.6.12",
30
+ "@xylabs/ts-scripts-yarn3": "^3.15.14",
31
+ "@xylabs/tsconfig": "^3.15.14",
32
+ "@xylabs/tsconfig-dom-jest": "^3.15.14",
33
+ "@xyo-network/account": "^2.111.3",
34
+ "@xyo-network/archivist-memory": "^2.111.3",
35
+ "@xyo-network/boundwitness-builder": "^2.111.3",
36
+ "@xyo-network/hash": "^2.111.3",
37
+ "@xyo-network/manifest": "^2.111.3",
38
+ "@xyo-network/manifest-wrapper": "^2.111.3",
39
+ "@xyo-network/node-memory": "^2.111.3",
40
+ "@xyo-network/payload-builder": "^2.111.3",
39
41
  "babel-jest": "^29.7.0",
40
42
  "dotenv": "^16.4.5",
41
- "eslint": "^9.7.0",
42
- "ethers": "^6.13.1",
43
+ "eslint": "^9.8.0",
44
+ "eslint-import-resolver-typescript": "^3.6.1",
45
+ "eslint-plugin-import": "^2.29.1",
46
+ "eslint-plugin-prettier": "^5.2.1",
47
+ "eslint-plugin-simple-import-sort": "^12.1.1",
48
+ "eslint-plugin-sonarjs": "^1.0.4",
49
+ "eslint-plugin-workspaces": "^0.10.1",
43
50
  "jest": "^29.7.0",
44
51
  "jest-docblock": "^29.7.0",
45
52
  "jest-environment-jsdom": "^29.7.0",
@@ -47,20 +54,21 @@
47
54
  "jest-runner": "^29.7.0",
48
55
  "jest-runner-groups": "^2.2.0",
49
56
  "jest-sorted": "^1.0.15",
57
+ "jsbi": "^3.2.5",
58
+ "lodash": "^4.17.21",
50
59
  "nodemon": "^3.1.4",
51
60
  "reflect-metadata": "^0.2.2",
52
61
  "supertest": "^7.0.0",
53
- "ts-jest": "^29.2.2",
62
+ "ts-jest": "^29.2.4",
54
63
  "ts-node": "^10.9.2",
55
- "typedoc": "^0.26.4",
56
- "typescript": "^5.5.3"
64
+ "tslib": "^2.6.3",
65
+ "typedoc": "^0.26.5",
66
+ "typescript": "^5.5.4"
57
67
  },
58
68
  "resolutions": {
59
69
  "axios": "^1",
60
- "bn.js": "^5",
61
70
  "eslint": "^8",
62
71
  "ethers": "^6",
63
- "mapbox-gl": "^2",
64
72
  "quick-lru": "^5"
65
73
  },
66
74
  "resolutions_comment": "We set the above resolutions to make sure we pull in the latest versions of these packages even if some sub packages request earlier versions",
@@ -74,7 +82,7 @@
74
82
  },
75
83
  "import": {
76
84
  "types": "./dist/browser/index.d.mts",
77
- "default": "./dist/browser/index.js"
85
+ "default": "./dist/browser/index.mjs"
78
86
  }
79
87
  },
80
88
  "node": {
@@ -84,14 +92,14 @@
84
92
  },
85
93
  "import": {
86
94
  "types": "./dist/node/index.d.mts",
87
- "default": "./dist/node/index.js"
95
+ "default": "./dist/node/index.mjs"
88
96
  }
89
97
  }
90
98
  },
91
99
  "./package.json": "./package.json"
92
100
  },
93
101
  "main": "dist/node/index.cjs",
94
- "module": "dist/node/index.js",
102
+ "module": "dist/node/index.mjs",
95
103
  "types": "dist/node/index.d.ts",
96
104
  "homepage": "https://xyo.network",
97
105
  "license": "LGPL-3.0-only",
@@ -113,8 +121,8 @@
113
121
  "build-typedoc-site": "typedoc"
114
122
  },
115
123
  "sideEffects": false,
116
- "version": "2.99.4",
117
- "packageManager": "yarn@4.3.1",
124
+ "version": "2.99.6",
125
+ "packageManager": "yarn@4.4.0",
118
126
  "volta": {
119
127
  "node": "22.3.0",
120
128
  "yarn": "1.22.22"
@@ -1,99 +0,0 @@
1
- // eslint.config.mjs
2
-
3
- import { typescriptConfig, importConfig, unicornConfig, prettierConfig, rulesConfig, workspacesConfig } from '@xylabs/eslint-config-flat'
4
- import tsParser from '@typescript-eslint/parser'
5
-
6
- export default [
7
- {
8
- ignores: ['.yarn', '.yarn/**', '**/dist/**', 'dist/**', 'build/**', 'node_modules/**'],
9
- },
10
- workspacesConfig,
11
- typescriptConfig,
12
- unicornConfig,
13
- prettierConfig,
14
- rulesConfig,
15
- {
16
- ...importConfig,
17
- rules: {
18
- ...importConfig.rules,
19
- 'import/no-deprecated': ['off'],
20
- 'import/no-internal-modules': ['off'],
21
- },
22
- },
23
- {
24
- rules: {
25
- 'no-unused-disable-directive': ['off'],
26
- complexity: ['error', 18],
27
- 'max-depth': ['error', 6],
28
- 'max-lines': [
29
- 'error',
30
- {
31
- max: 512,
32
- skipBlankLines: true,
33
- },
34
- ],
35
- 'max-nested-callbacks': ['error', 6],
36
- 'max-statements': ['error', 32],
37
- 'no-restricted-imports': [
38
- 'warn',
39
- {
40
- paths: [
41
- 'lodash',
42
- 'react-player',
43
- 'filepond',
44
- 'aos',
45
- 'react-icons',
46
- '.',
47
- '..',
48
- '../..',
49
- '../../..',
50
- '../../../..',
51
- '../../../../..',
52
- '../../../../../..',
53
- '../../../../../../..',
54
- ],
55
- },
56
- ],
57
- //'no-secrets/no-secrets': ['off'],
58
- 'no-tabs': ['error'],
59
- 'no-unused-vars': 'off',
60
- 'no-useless-escape': 'off',
61
- quotes: [2, 'single', 'avoid-escape'],
62
- 'require-await': 'error',
63
- semi: ['warn', 'never'],
64
- 'no-restricted-imports': [
65
- 'warn',
66
- {
67
- paths: [
68
- '@types/node',
69
- '@xyo-network/archivist',
70
- '@xyo-network/bridge',
71
- '@xyo-network/core',
72
- '@xyo-network/diviner',
73
- '@xyo-network/module',
74
- '@xyo-network/modules',
75
- '@xyo-network/node',
76
- '@xyo-network/sdk',
77
- '@xyo-network/plugins',
78
- '@xyo-network/protocol',
79
- '@xyo-network/sentinel',
80
- '@xyo-network/witness',
81
- '@xyo-network/core-payload-plugins',
82
- 'react-player',
83
- 'filepond',
84
- 'aos',
85
- 'react-icons',
86
- '.',
87
- '..',
88
- '../..',
89
- '../../..',
90
- '../../../..',
91
- '../../../../..',
92
- '../../../../../..',
93
- '../../../../../../..',
94
- ],
95
- },
96
- ],
97
- },
98
- },
99
- ]
File without changes
File without changes
File without changes