Skip to content

Commit b1b9ac2

Browse files
committed
chore(deps): upgrade crowdin-api-client from 1.42.0 to 1.48.2
1 parent c6f7b98 commit b1b9ac2

5 files changed

Lines changed: 26 additions & 24 deletions

File tree

package-lock.json

Lines changed: 21 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cadolabs/crowdin-cli",
3-
"version": "3.0.21",
3+
"version": "3.0.22",
44
"description": "Cli tool for crowdin",
55
"main": "index.js",
66
"repository": {
@@ -16,7 +16,7 @@
1616
"author": "Genys",
1717
"license": "ISC",
1818
"dependencies": {
19-
"@crowdin/crowdin-api-client": "^1.42.0",
19+
"@crowdin/crowdin-api-client": "1.48.2",
2020
"decompress": "^4.2.1",
2121
"deep-object-diff": "^1.1.0",
2222
"deepmerge": "^4.2.2",

src/actions/downloadTranslations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module.exports = async (branch, projectData) => {
4444
})
4545
})
4646

47-
fs.rmdirSync(tmpUnzipPath, { recursive: true })
47+
fs.rmSync(tmpUnzipPath, { recursive: true })
4848
fs.unlinkSync(tmpZipPath)
4949
unzipLogger.success()
5050
} catch (err) { unzipLogger.error(err) }

src/actions/pullDiff.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module.exports = async (branch, { sourceFiles, project }) => {
4444
})
4545
})
4646

47-
fs.rmdirSync(tmpUnzipPath, { recursive: true })
47+
fs.rmSync(tmpUnzipPath, { recursive: true })
4848
fs.unlinkSync(tmpZipPath)
4949
unzipLogger.success()
5050
} catch (e) { unzipLogger.error(e) }

src/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
1717
getProject: () => projectsGroupsApi.getProject(projectId),
1818
getLanguage: languageId => languagesApi.getLanguage(languageId),
1919
listProjectFiles: () => sourceFilesApi.withFetchAll().listProjectFiles(projectId),
20-
listProjectBranches: name => sourceFilesApi.listProjectBranches(projectId, name),
20+
listProjectBranches: name => sourceFilesApi.listProjectBranches(projectId, { name }),
2121
uploadToStorage: (name, source) => uploadStorageApi.addStorage(name, source),
2222
createBranch: name => sourceFilesApi.createBranch(projectId, { name }),
2323
createDir: data => sourceFilesApi.createDirectory(projectId, data),

0 commit comments

Comments
 (0)