locize-cli 7.14.10 → 7.14.11

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
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  Project versioning adheres to [Semantic Versioning](http://semver.org/).
6
6
  Change log format is based on [Keep a Changelog](http://keepachangelog.com/).
7
7
 
8
+ ## [7.14.11](https://github.com/locize/locize-cli/compare/v7.14.10...v7.14.11) - 2023-10-13
9
+
10
+ - fix laravel sync
11
+
8
12
  ## [7.14.10](https://github.com/locize/locize-cli/compare/v7.14.9...v7.14.10) - 2023-10-08
9
13
 
10
14
  - fix opening of files provided with --config-path [#88](https://github.com/locize/locize-cli/pull/88)
@@ -277,7 +277,7 @@ const convertToFlatFormat = (opt, data, lng, cb) => {
277
277
  return;
278
278
  }
279
279
  if (opt.format === 'laravel') {
280
- cb(null, flatten(laravel2js(data.toString())));
280
+ laravel2js(data.toString(), (err, res) => cb(err, flatten(res)));
281
281
  return;
282
282
  }
283
283
  if (opt.format === 'properties') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "locize-cli",
3
- "version": "7.14.10",
3
+ "version": "7.14.11",
4
4
  "description": "locize cli to import locales",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -22,7 +22,7 @@
22
22
  "https-proxy-agent": "5.0.1",
23
23
  "ini": "3.0.1",
24
24
  "js-yaml": "4.1.0",
25
- "laravelphp": "2.0.3",
25
+ "laravelphp": "2.0.4",
26
26
  "lodash.clonedeep": "4.5.0",
27
27
  "mkdirp": "2.1.6",
28
28
  "node-fetch": "2.7.0",
@@ -34,7 +34,7 @@
34
34
  "xlsx": "https://cdn.sheetjs.com/xlsx-0.19.3/xlsx-0.19.3.tgz"
35
35
  },
36
36
  "devDependencies": {
37
- "eslint": "8.50.0",
37
+ "eslint": "8.51.0",
38
38
  "gh-release": "7.0.2",
39
39
  "pkg": "5.8.1"
40
40
  },