yves 1.1.3 → 1.1.5
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/dist/yves.js +1 -1
- package/package.json +4 -4
package/dist/yves.js
CHANGED
|
@@ -3140,7 +3140,7 @@ function stringify(obj, options, ctx) {
|
|
|
3140
3140
|
const escaped = options?.html ? htmlEscape(obj.replace(/`/g, '\\`')) : obj.replace(/`/g, '\\`');
|
|
3141
3141
|
return stylize('`' + escaped + '`', 'string');
|
|
3142
3142
|
}
|
|
3143
|
-
const quoted = obj.indexOf(
|
|
3143
|
+
const quoted = obj.indexOf('\'') === -1 && !options?.json ? `'${obj.replace(/'/g, '\\\'')}'` : `"${obj.replace(/"/g, '\\"')}"`;
|
|
3144
3144
|
return stylize(stringifyString(quoted, options), 'string');
|
|
3145
3145
|
}
|
|
3146
3146
|
case 'buffer':
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yves",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"description": "a customizable value inspector",
|
|
5
5
|
"url": "http://github.com/jorisroling/yves",
|
|
6
6
|
"repository": {
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"@eslint/js": "^10.0.1",
|
|
43
43
|
"debug": "^4.4.3",
|
|
44
44
|
"deep-sort-object": "^1.0.2",
|
|
45
|
-
"globals": "^17.
|
|
45
|
+
"globals": "^17.5.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"browserify": "^17.0.1",
|
|
49
|
-
"eslint": "^10.2.
|
|
49
|
+
"eslint": "^10.2.1",
|
|
50
50
|
"esmify": "^2.1.1",
|
|
51
|
-
"vitest": "^4.1.
|
|
51
|
+
"vitest": "^4.1.5"
|
|
52
52
|
}
|
|
53
53
|
}
|