@automattic/vip 2.27.0-dev2 → 2.27.0-dev3
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/CHANGELOG.md
CHANGED
|
Binary file
|
|
@@ -114,9 +114,13 @@ class DevEnvSyncSQLCommand {
|
|
|
114
114
|
const replacements = this.siteUrls.reduce((acc, url) => [...acc, url, this.landoDomain], []);
|
|
115
115
|
const readStream = _fs.default.createReadStream(this.sqlFile);
|
|
116
116
|
const replacedStream = await (0, _vipSearchReplace.replace)(readStream, replacements);
|
|
117
|
-
|
|
117
|
+
const outputFile = `${this.tmpDir}/sql-export-sr.sql`;
|
|
118
|
+
replacedStream.pipe(_fs.default.createWriteStream(outputFile));
|
|
118
119
|
return new Promise((resolve, reject) => {
|
|
119
|
-
replacedStream.on('finish',
|
|
120
|
+
replacedStream.on('finish', () => {
|
|
121
|
+
_fs.default.renameSync(outputFile, this.sqlFile);
|
|
122
|
+
resolve();
|
|
123
|
+
});
|
|
120
124
|
replacedStream.on('error', reject);
|
|
121
125
|
});
|
|
122
126
|
}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/vip",
|
|
3
|
-
"version": "2.27.0-
|
|
3
|
+
"version": "2.27.0-dev3",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@automattic/vip",
|
|
9
|
-
"version": "2.26.
|
|
9
|
+
"version": "2.26.2",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
package/package.json
CHANGED
|
Binary file
|