shinkansen-rails 1.0.290 → 1.0.293

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": "shinkansen-rails",
3
- "version": "1.0.290",
3
+ "version": "1.0.293",
4
4
  "description": "Shinkansen Rails",
5
5
  "keywords": [
6
6
  "Shinkansen",
@@ -42,22 +42,22 @@
42
42
  "@babel/eslint-parser": "^7.26.8",
43
43
  "@babel/preset-env": "^7.26.9",
44
44
  "@babel/register": "^7.25.9",
45
- "@sequencemedia/eslint-config-standard": "^0.2.34",
46
- "@sequencemedia/eslint-config-typescript": "^0.1.48",
45
+ "@sequencemedia/eslint-config-standard": "^0.2.35",
46
+ "@sequencemedia/eslint-config-typescript": "^0.1.50",
47
47
  "@types/babel__register": "^7.17.3",
48
+ "@types/chai": "^5.0.1",
48
49
  "@types/debug": "^4.1.12",
50
+ "@types/mocha": "^10.0.10",
49
51
  "@typescript-eslint/eslint-plugin": "^8.25.0",
50
52
  "@typescript-eslint/parser": "^8.25.0",
51
53
  "chai": "^5.2.0",
52
54
  "core-js": "^3.40.0",
53
55
  "cross-env": "^7.0.3",
54
56
  "eslint": "^9.21.0",
55
- "eslint-import-resolver-babel-module": "^5.3.2",
56
57
  "globals": "^16.0.0",
57
58
  "husky": "^9.1.7",
58
59
  "mocha": "^11.1.0",
59
- "sinon": "^19.0.2",
60
- "typescript": "^5.7.3"
60
+ "sinon": "^19.0.2"
61
61
  },
62
62
  "imports": {
63
63
  "#rails": "./src/index.mjs",
package/src/index.d.mts CHANGED
@@ -1,7 +1 @@
1
- declare module '#rails' {
2
- export { default as Rails } from '#rails/rails'
3
- }
4
-
5
- declare module 'shinkansen-rails' {
6
- export * from '#rails'
7
- }
1
+ export { default as Rails } from '#rails/rails'
@@ -1,21 +1,14 @@
1
- declare module '#rails/rails' {
2
- export function any (o: Record<PropertyKey, unknown>): boolean
3
- export function has (o: Record<PropertyKey, unknown>, k: string): boolean
4
- export function get (o: Record<PropertyKey, unknown>, k: string): unknown
1
+ export function any (o: Record<PropertyKey, unknown>): boolean
2
+ export function has (o: Record<PropertyKey, unknown>, k: string): boolean
3
+ export function get (o: Record<PropertyKey, unknown>, k: string): unknown
5
4
 
6
- export function rail (p?: string): string
7
- export function go (o?: Record<PropertyKey, unknown>, p?: string): boolean
8
- export function to (o?: Record<PropertyKey, unknown>, p?: string): string
5
+ export function rail (p?: string): string
6
+ export function go (o?: Record<PropertyKey, unknown>, p?: string): boolean
7
+ export function to (o?: Record<PropertyKey, unknown>, p?: string): string
9
8
 
10
- export default class Rails { // eslint-disable-line @typescript-eslint/no-extraneous-class -- Static class
11
- static pattern (p?: string): string
12
- static rail (p?: string): string
13
- static go (o?: Record<PropertyKey, unknown>, p?: string): boolean
14
- static to (o?: Record<PropertyKey, unknown>, p?: string): string
15
- }
16
- }
17
-
18
- declare module 'shinkansen-rails/rails' {
19
- export { default } from '#rails/rails'
20
- export * from '#rails/rails'
9
+ export default class Rails { // eslint-disable-line @typescript-eslint/no-extraneous-class -- Static class
10
+ static pattern (p?: string): string
11
+ static rail (p?: string): string
12
+ static go (o?: Record<PropertyKey, unknown>, p?: string): boolean
13
+ static to (o?: Record<PropertyKey, unknown>, p?: string): string
21
14
  }