@visulima/fs 2.0.3 → 2.0.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/utils.cjs CHANGED
@@ -1,25 +1,25 @@
1
1
  'use strict';
2
2
 
3
- var chunk2B2JUVOG_cjs = require('./chunk-2B2JUVOG.cjs');
3
+ var chunkFYO7FPUG_cjs = require('./chunk-FYO7FPUG.cjs');
4
4
  var chunkN5NZURYL_cjs = require('./chunk-N5NZURYL.cjs');
5
5
 
6
6
  var p=(t,{whitespace:e=!0}={})=>t.replace(i,r=>r.startsWith('"')||r[1]==="*"&&!r.endsWith("*/")?r:e?r.replaceAll(/\S/g," "):""),i=/"(?:[^"\\]|\\.)*"?|\/\/[^\r\n]*|\/\*(?:[^*]|\*[^/])*(?:\*\/)?/g,d=p;
7
7
 
8
8
  Object.defineProperty(exports, 'assertValidFileContents', {
9
9
  enumerable: true,
10
- get: function () { return chunk2B2JUVOG_cjs.d; }
10
+ get: function () { return chunkFYO7FPUG_cjs.d; }
11
11
  });
12
12
  Object.defineProperty(exports, 'assertValidFileOrDirectoryPath', {
13
13
  enumerable: true,
14
- get: function () { return chunk2B2JUVOG_cjs.a; }
14
+ get: function () { return chunkFYO7FPUG_cjs.a; }
15
15
  });
16
16
  Object.defineProperty(exports, 'parseJson', {
17
17
  enumerable: true,
18
- get: function () { return chunk2B2JUVOG_cjs.c; }
18
+ get: function () { return chunkFYO7FPUG_cjs.c; }
19
19
  });
20
20
  Object.defineProperty(exports, 'toPath', {
21
21
  enumerable: true,
22
- get: function () { return chunk2B2JUVOG_cjs.b; }
22
+ get: function () { return chunkFYO7FPUG_cjs.b; }
23
23
  });
24
24
  Object.defineProperty(exports, 'JSONError', {
25
25
  enumerable: true,
package/dist/utils.js CHANGED
@@ -1,4 +1,4 @@
1
- export { d as assertValidFileContents, a as assertValidFileOrDirectoryPath, c as parseJson, b as toPath } from './chunk-DXCWJAJU.js';
1
+ export { d as assertValidFileContents, a as assertValidFileOrDirectoryPath, c as parseJson, b as toPath } from './chunk-O3QEU6GI.js';
2
2
  export { a as JSONError } from './chunk-UPN3Y5W3.js';
3
3
 
4
4
  var i=(t,{whitespace:e=!0}={})=>t.replace(d,r=>r.startsWith('"')||r[1]==="*"&&!r.endsWith("*/")?r:e?r.replaceAll(/\S/g," "):""),d=/"(?:[^"\\]|\\.)*"?|\/\/[^\r\n]*|\/\*(?:[^*]|\*[^/])*(?:\*\/)?/g,u=i;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/fs",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "description": "Human friendly file system utilities for Node.js",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -133,13 +133,13 @@
133
133
  },
134
134
  "dependencies": {
135
135
  "pathe": "^1.1.2",
136
- "type-fest": "^4.14.0"
136
+ "type-fest": "^4.15.0"
137
137
  },
138
138
  "devDependencies": {
139
139
  "@anolilab/eslint-config": "^15.0.3",
140
140
  "@anolilab/prettier-config": "^5.0.14",
141
141
  "@anolilab/semantic-release-preset": "^8.0.3",
142
- "@babel/core": "^7.24.3",
142
+ "@babel/core": "^7.24.4",
143
143
  "@rushstack/eslint-plugin-security": "^0.8.1",
144
144
  "@types/node": "18.18.14",
145
145
  "@visulima/error": "3.2.4",
@@ -152,18 +152,18 @@
152
152
  "eslint-plugin-etc": "^2.0.3",
153
153
  "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
154
154
  "eslint-plugin-mdx": "^3.1.5",
155
- "eslint-plugin-vitest": "^0.4.0",
155
+ "eslint-plugin-vitest": "^0.4.1",
156
156
  "eslint-plugin-vitest-globals": "^1.5.0",
157
157
  "fast-safe-stringify": "2.1.1",
158
158
  "prettier": "^3.2.5",
159
159
  "redos-detector": "^5.1.0",
160
160
  "rimraf": "^5.0.5",
161
161
  "safe-regex2": "^3.1.0",
162
- "semantic-release": "^23.0.6",
162
+ "semantic-release": "^23.0.7",
163
163
  "sort-package-json": "^2.10.0",
164
164
  "tempy": "^3.1.0",
165
165
  "tsup": "^8.0.2",
166
- "typescript": "^5.4.3",
166
+ "typescript": "^5.4.4",
167
167
  "vitest": "^1.4.0",
168
168
  "yaml": "^2.4.1"
169
169
  },