@salesforce/packaging 4.25.2 → 4.26.0
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.
|
@@ -789,14 +789,7 @@ class MetadataResolver {
|
|
|
789
789
|
throw messages.createError('packagePathCannotBeUndefined');
|
|
790
790
|
}
|
|
791
791
|
(0, packageUtils_1.copyDir)(convertResult.packagePath, outputDirectory);
|
|
792
|
-
|
|
793
|
-
node_fs_1.default.rmSync(convertResult.packagePath, { recursive: true });
|
|
794
|
-
}
|
|
795
|
-
catch (e) {
|
|
796
|
-
// rmdirSync is being deprecated and emits a warning
|
|
797
|
-
// but rmSync is introduced in node 14 so fall back to rmdirSync
|
|
798
|
-
node_fs_1.default.rmdirSync(convertResult.packagePath, { recursive: true });
|
|
799
|
-
}
|
|
792
|
+
node_fs_1.default.rmSync(convertResult.packagePath, { recursive: true });
|
|
800
793
|
convertResult.packagePath = outputDirectory;
|
|
801
794
|
}
|
|
802
795
|
return convertResult;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/packaging",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.26.0",
|
|
4
4
|
"description": "Packaging library for the Salesforce packaging platform",
|
|
5
5
|
"main": "lib/exported",
|
|
6
6
|
"types": "lib/exported.d.ts",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"!lib/**/*.map"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@jsforce/jsforce-node": "^3.10.
|
|
45
|
+
"@jsforce/jsforce-node": "^3.10.16",
|
|
46
46
|
"@salesforce/core": "^8.31.1",
|
|
47
47
|
"@salesforce/kit": "^3.2.6",
|
|
48
48
|
"@salesforce/schemas": "^1.10.3",
|