lingo.dev 0.97.1 → 0.97.2
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/build/cli.cjs +4 -1
- package/build/cli.cjs.map +1 -1
- package/build/cli.mjs +4 -1
- package/build/cli.mjs.map +1 -1
- package/package.json +2 -2
package/build/cli.cjs
CHANGED
|
@@ -3261,6 +3261,9 @@ var _nodewebvtt = require('node-webvtt'); var _nodewebvtt2 = _interopRequireDefa
|
|
|
3261
3261
|
function createVttLoader() {
|
|
3262
3262
|
return createLoader({
|
|
3263
3263
|
async pull(locale, input2) {
|
|
3264
|
+
if (!input2) {
|
|
3265
|
+
return "";
|
|
3266
|
+
}
|
|
3264
3267
|
const vtt = _optionalChain([_nodewebvtt2.default, 'access', _162 => _162.parse, 'call', _163 => _163(input2), 'optionalAccess', _164 => _164.cues]);
|
|
3265
3268
|
if (Object.keys(vtt).length === 0) {
|
|
3266
3269
|
return {};
|
|
@@ -7491,7 +7494,7 @@ async function renderHero2() {
|
|
|
7491
7494
|
// package.json
|
|
7492
7495
|
var package_default = {
|
|
7493
7496
|
name: "lingo.dev",
|
|
7494
|
-
version: "0.97.
|
|
7497
|
+
version: "0.97.2",
|
|
7495
7498
|
description: "Lingo.dev CLI",
|
|
7496
7499
|
private: false,
|
|
7497
7500
|
publishConfig: {
|