@bemoje/fs 0.3.0 → 0.3.2
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/cjs/lib/updateJsonFile.d.ts +2 -2
- package/cjs/lib/updateJsonFile.d.ts.map +1 -1
- package/cjs/lib/updateJsonFileSafe.d.ts +2 -2
- package/cjs/lib/updateJsonFileSafe.d.ts.map +1 -1
- package/cjs/lib/updateJsonFileSafeSync.d.ts +2 -2
- package/cjs/lib/updateJsonFileSafeSync.d.ts.map +1 -1
- package/cjs/lib/updateJsonFileSync.d.ts +2 -2
- package/cjs/lib/updateJsonFileSync.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { IJFReadOptions } from './types/IJFReadOptions';
|
|
2
|
+
import { IJFWriteOptions } from './types/IJFWriteOptions';
|
|
3
3
|
/**
|
|
4
4
|
* Updates a JSON file based on a provided update function.
|
|
5
5
|
* The update function takes the file's current source string as a parameter and should return an object.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateJsonFile.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/updateJsonFile.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"updateJsonFile.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/updateJsonFile.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAEzD;;;;;;;GAOG;AACH,wBAAsB,cAAc,CAClC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,CACN,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,KAChC,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,CAAC,EACjF,OAAO,GAAE;IAAE,IAAI,CAAC,EAAE,cAAc,CAAC;IAAC,KAAK,CAAC,EAAE,eAAe,CAAA;CAAO,GAC/D,OAAO,CAAC,IAAI,CAAC,CAIf"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { IJFReadOptions } from './types/IJFReadOptions';
|
|
2
|
+
import { IJsonOutputOptions } from './types/IJsonOutputOptions';
|
|
3
3
|
/**
|
|
4
4
|
* Updates a JSON file based on a provided update function.
|
|
5
5
|
* The update function takes the file's parsed source string as a parameter and should return an object.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateJsonFileSafe.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/updateJsonFileSafe.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"updateJsonFileSafe.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/updateJsonFileSafe.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAE/D;;;;;;;;;GASG;AAEH,wBAAsB,kBAAkB,CACtC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,CACN,GAAG,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,KAClC,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,CAAC,EACjF,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE;IAAE,IAAI,CAAC,EAAE,cAAc,CAAC;IAAC,KAAK,CAAC,EAAE,kBAAkB,CAAA;CAAO,GAClE,OAAO,CAAC,IAAI,CAAC,CASf"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { IJFReadOptions } from './types/IJFReadOptions';
|
|
2
|
+
import { IJsonOutputOptions } from './types/IJsonOutputOptions';
|
|
3
3
|
/**
|
|
4
4
|
* Updates a JSON file based on a provided update function.
|
|
5
5
|
* The update function takes the file's parsed source string as a parameter and should return an object.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateJsonFileSafeSync.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/updateJsonFileSafeSync.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"updateJsonFileSafeSync.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/updateJsonFileSafeSync.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAE/D;;;;;;;;;GASG;AAEH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,EACnF,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE;IAAE,IAAI,CAAC,EAAE,cAAc,CAAC;IAAC,KAAK,CAAC,EAAE,kBAAkB,CAAA;CAAO,GAClE,IAAI,CASN"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { IJFReadOptions } from './types/IJFReadOptions';
|
|
2
|
+
import { IJFWriteOptions } from './types/IJFWriteOptions';
|
|
3
3
|
/**
|
|
4
4
|
* Updates a JSON file based on a provided update function.
|
|
5
5
|
* The update function takes the file's current source string as a parameter and should return an object.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateJsonFileSync.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/updateJsonFileSync.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"updateJsonFileSync.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/updateJsonFileSync.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAEzD;;;;;;;GAOG;AAEH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,EACjF,OAAO,GAAE;IAAE,IAAI,CAAC,EAAE,cAAc,CAAC;IAAC,KAAK,CAAC,EAAE,eAAe,CAAA;CAAO,GAC/D,IAAI,CAIN"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bemoje/fs",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"types": "cjs/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"fs-extra": "^11.2.0",
|
|
9
|
-
"tslib": "
|
|
9
|
+
"tslib": "latest"
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"keywords": [],
|