shinkansen-rails 1.1.1 → 1.1.3
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 +4 -4
- package/src/rails/index.mjs +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shinkansen-rails",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Shinkansen Rails",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Shinkansen",
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"@babel/preset-env": "^7.26.9",
|
|
44
44
|
"@babel/register": "^7.25.9",
|
|
45
45
|
"@sequencemedia/eslint-config-standard": "^0.2.42",
|
|
46
|
-
"@sequencemedia/eslint-config-typescript": "^0.1.
|
|
46
|
+
"@sequencemedia/eslint-config-typescript": "^0.1.60",
|
|
47
47
|
"@types/babel__register": "^7.17.3",
|
|
48
48
|
"@types/chai": "^5.2.0",
|
|
49
49
|
"@types/debug": "^4.1.12",
|
|
50
50
|
"@types/mocha": "^10.0.10",
|
|
51
|
-
"@typescript-eslint/eslint-plugin": "^8.26.
|
|
52
|
-
"@typescript-eslint/parser": "^8.26.
|
|
51
|
+
"@typescript-eslint/eslint-plugin": "^8.26.1",
|
|
52
|
+
"@typescript-eslint/parser": "^8.26.1",
|
|
53
53
|
"chai": "^5.2.0",
|
|
54
54
|
"core-js": "^3.41.0",
|
|
55
55
|
"cross-env": "^7.0.3",
|
package/src/rails/index.mjs
CHANGED
|
@@ -23,21 +23,21 @@ const CHAR45 = String.fromCharCode(45)
|
|
|
23
23
|
/**
|
|
24
24
|
* @param {ObjectType} o The object containing values
|
|
25
25
|
*/
|
|
26
|
-
export const any = (o) => !!Object.keys(o).length
|
|
26
|
+
export const any = (o) => !!Object.keys(o).length
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* @param {ObjectType} o The object containing values
|
|
30
30
|
* @param {string} k The value name
|
|
31
31
|
* @returns {boolean}
|
|
32
32
|
*/
|
|
33
|
-
export const has = (o, k) => k in o
|
|
33
|
+
export const has = (o, k) => k in o
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
* @param {ObjectType} o The object containing values
|
|
37
37
|
* @param {string} k The value name
|
|
38
38
|
* @returns {unknown}
|
|
39
39
|
*/
|
|
40
|
-
export const get = (o, k) => o[k]
|
|
40
|
+
export const get = (o, k) => o[k]
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* Format simple latin character strings as URL compatible
|