@apigames/json 25.1.2 → 27.1.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.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Cloudize Limited.
3
+ Copyright (c) 2026 Cloudize Limited.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -13,24 +13,25 @@
13
13
  ],
14
14
  "description": "API Games JSON Utilities",
15
15
  "license": "MIT",
16
- "version": "25.1.2",
16
+ "version": "27.1.0",
17
+ "type": "commonjs",
18
+ "engines": {
19
+ "node": ">=26"
20
+ },
21
+ "files": ["lib"],
17
22
  "main": "lib/index.js",
18
23
  "types": "lib/index.d.ts",
19
24
  "scripts": {
20
- "win:build": "(if exist lib rmdir /s /q lib) && tsc && jest && jest --config build.jest.config.js --coverage",
21
- "unx:build": "rm -rf lib && tsc && jest && jest --config build.jest.config.js --coverage",
22
- "win:publish": "(if exist lib rmdir /s /q lib) && tsc && jest && jest --config build.jest.config.js && npm publish",
23
- "unx:publish": "rm -rf lib && tsc && jest && jest --config build.jest.config.js && npm publish",
24
- "win:publish-beta": "(if exist lib rmdir /s /q lib) && tsc && jest && jest --config build.jest.config.js && npm publish --tag beta",
25
- "unx:publish-beta": "rm -rf lib && tsc && jest && jest --config build.jest.config.js && npm publish --tag beta",
26
- "win:publish-dev": "(if exist lib rmdir /s /q lib) && tsc && jest && jest --config build.jest.config.js && npm publish --tag dev",
27
- "unx:publish-dev": "rm -rf lib && tsc && jest && jest --config build.jest.config.js && npm publish --tag dev",
28
- "win:upgrade-latest": "(if exist node_modules rmdir /s /q node_modules) && (if exist package-lock.json del /s /q package-lock.json) && ncu -u --target latest && npm install",
29
- "unx:upgrade-latest": "rm -rf node_modules && rm -f package-lock.json && ncu -u --target latest && npm install",
30
- "win:upgrade-minor": "(if exist node_modules rmdir /s /q node_modules) && (if exist package-lock.json del /s /q package-lock.json) && ncu -u --target minor && npm install",
31
- "unx:upgrade-minor": "rm -rf node_modules && rm -f package-lock.json && ncu -u --target minor && npm install",
32
- "test:coverage": "jest --coverage",
33
- "test:watch": "jest --watch"
25
+ "clean": "node -e \"require('node:fs').rmSync('lib', { recursive: true, force: true })\"",
26
+ "typecheck": "tsc --noEmit",
27
+ "typecheck:tests": "tsc --project tsconfig.jest.json --noEmit",
28
+ "test": "jest --config jest.config.js",
29
+ "test:build": "jest --config build.jest.config.js --coverage",
30
+ "test:coverage": "jest --config jest.config.js --coverage",
31
+ "test:watch": "jest --config jest.config.js --watch",
32
+ "lint": "eslint src tests --ext .ts,.js",
33
+ "build": "npm run clean && npm run lint && npm run typecheck && tsc && npm run typecheck:tests && npm run test && npm run test:build",
34
+ "prepublishOnly": "npm run build"
34
35
  },
35
36
  "dependencies": {
36
37
  "deep-equal": "^2.2.3",
@@ -39,18 +40,16 @@
39
40
  },
40
41
  "devDependencies": {
41
42
  "@types/jest": "^30.0.0",
42
- "@types/node": "^24.10.9",
43
- "@typescript-eslint/eslint-plugin": "^8.54.0",
44
- "@typescript-eslint/parser": "^8.54.0",
43
+ "@types/node": "^26.6.6",
44
+ "@typescript-eslint/eslint-plugin": "^8.72.1",
45
+ "@typescript-eslint/parser": "^8.72.1",
45
46
  "eslint": "^8.57.1",
46
47
  "eslint-config-airbnb-base": "^15.0.0",
47
48
  "eslint-plugin-import": "^2.32.0",
48
- "eslint-plugin-jsx-a11y": "^6.10.2",
49
- "jest": "^30.2.0",
50
- "ts-jest": "^29.4.6",
51
- "typescript": "^5.9.3"
49
+ "jest": "^30.5.2",
50
+ "ts-jest": "^29.4.15",
51
+ "typescript": "^6.0.3"
52
52
  },
53
- "eslintConfig": {},
54
53
  "repository": {
55
54
  "type": "git",
56
55
  "url": "git+https://github.com/apigames-core/json.git"
@@ -1,28 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "allowJs": true,
4
- "declaration": true,
5
- "emitDecoratorMetadata": true,
6
- "esModuleInterop": true,
7
- "experimentalDecorators": true,
8
- "lib": [
9
- "es2015",
10
- "es2016",
11
- "es2017"
12
- ],
13
- "module": "CommonJS",
14
- "moduleResolution": "node",
15
- "noImplicitAny": true,
16
- "noImplicitThis": true,
17
- "outDir": "./lib",
18
- "removeComments": true,
19
- "strict": true,
20
- "strictNullChecks": false,
21
- "target": "ES6",
22
- "typeRoots": [ "node_modules/@types" ]
23
- },
24
- "include": [
25
- "src",
26
- "tests"
27
- ]
28
- }