render-script 1.2.68 → 1.2.70

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.
Files changed (2) hide show
  1. package/eslint.config.mjs +28 -6
  2. package/package.json +4 -4
package/eslint.config.mjs CHANGED
@@ -1,14 +1,36 @@
1
1
  import globals from 'globals'
2
2
  import standard from '@sequencemedia/eslint-config-standard'
3
3
 
4
- export default [
5
- {
4
+ function merge (alpha) {
5
+ return (
6
+ standard
7
+ .map((omega) => ({
8
+ ...omega,
9
+ ...alpha
10
+ }))
11
+ )
12
+ }
13
+
14
+ export default (
15
+ merge({
16
+ ignores: [
17
+ 'test/*'
18
+ ],
6
19
  languageOptions: {
7
20
  globals: {
8
- ...globals.mocha,
9
21
  ...globals.node
10
22
  }
11
23
  }
12
- },
13
- ...standard
14
- ]
24
+ }).concat(
25
+ merge({
26
+ files: [
27
+ 'test/*'
28
+ ],
29
+ languageOptions: {
30
+ globals: {
31
+ ...globals.mocha
32
+ }
33
+ }
34
+ })
35
+ )
36
+ )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "render-script",
3
- "version": "1.2.68",
3
+ "version": "1.2.70",
4
4
  "main": "./src/index.mjs",
5
5
  "type": "module",
6
6
  "author": {
@@ -27,14 +27,14 @@
27
27
  "@babel/eslint-parser": "^7.24.7",
28
28
  "@babel/preset-env": "^7.24.7",
29
29
  "@babel/register": "^7.24.6",
30
- "@sequencemedia/eslint-config-standard": "^0.0.3",
31
- "@sequencemedia/hooks": "^1.0.496",
30
+ "@sequencemedia/eslint-config-standard": "^0.0.4",
31
+ "@sequencemedia/hooks": "^1.0.497",
32
32
  "chai": "^5.1.1",
33
33
  "core-js": "^3.37.1",
34
34
  "cross-env": "^7.0.3",
35
35
  "eslint": "^9.6.0",
36
36
  "husky": "^9.0.11",
37
- "mocha": "^10.5.2"
37
+ "mocha": "^10.6.0"
38
38
  },
39
39
  "exports": {
40
40
  ".": {