scratch-l10n 4.0.0 → 4.0.1

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
@@ -3,6 +3,13 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.0.1](https://github.com/scratchfoundation/scratch-l10n/compare/v4.0.0...v4.0.1) (2024-10-30)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * require is not allowed in mjs files ([fb47cd2](https://github.com/scratchfoundation/scratch-l10n/commit/fb47cd2c566ad4020953bd88d754eceb6b120a8f))
12
+
6
13
  # [4.0.0](https://github.com/scratchfoundation/scratch-l10n/compare/v3.18.357...v4.0.0) (2024-10-30)
7
14
 
8
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scratch-l10n",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Localization for the Scratch 3.0 components",
5
5
  "main": "./dist/l10n.js",
6
6
  "browser": "./src/index.mjs",
@@ -5,8 +5,9 @@
5
5
  * Script get Knowledge base articles from Freshdesk and push them to transifex.
6
6
  */
7
7
 
8
+ import {txPush, txCreateResource} from '../lib/transifex.js';
9
+
8
10
  const args = process.argv.slice(2);
9
- const {txPush, txCreateResource} = require('../lib/transifex.js');
10
11
 
11
12
  const usage = `
12
13
  Pull knowledge base articles from Freshdesk and push to scratch-help project on transifex. Usage: