@lingo.dev/_compiler 0.3.4 → 0.3.5
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/index.cjs +3 -8
- package/build/index.mjs +1 -6
- package/package.json +1 -1
package/build/index.cjs
CHANGED
|
@@ -4,7 +4,7 @@ var _unplugin = require('unplugin');
|
|
|
4
4
|
// package.json
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "@lingo.dev/_compiler",
|
|
7
|
-
version: "0.3.
|
|
7
|
+
version: "0.3.5",
|
|
8
8
|
description: "Lingo.dev Compiler",
|
|
9
9
|
private: false,
|
|
10
10
|
publishConfig: {
|
|
@@ -1652,12 +1652,8 @@ var LCPAPI = class {
|
|
|
1652
1652
|
|
|
1653
1653
|
// src/lib/lcp/server.ts
|
|
1654
1654
|
var LCPServer = (_class = class {
|
|
1655
|
-
static __initStatic() {this.
|
|
1656
|
-
static __initStatic2() {this.inFlightPromise = null}
|
|
1655
|
+
static __initStatic() {this.inFlightPromise = null}
|
|
1657
1656
|
static async loadDictionaries(params) {
|
|
1658
|
-
if (this.dictionariesCache) {
|
|
1659
|
-
return this.dictionariesCache;
|
|
1660
|
-
}
|
|
1661
1657
|
if (this.inFlightPromise) {
|
|
1662
1658
|
return this.inFlightPromise;
|
|
1663
1659
|
}
|
|
@@ -1678,7 +1674,6 @@ var LCPServer = (_class = class {
|
|
|
1678
1674
|
dictionaries[index]
|
|
1679
1675
|
])
|
|
1680
1676
|
);
|
|
1681
|
-
this.dictionariesCache = result;
|
|
1682
1677
|
return result;
|
|
1683
1678
|
} finally {
|
|
1684
1679
|
this.inFlightPromise = null;
|
|
@@ -1877,7 +1872,7 @@ var LCPServer = (_class = class {
|
|
|
1877
1872
|
0
|
|
1878
1873
|
);
|
|
1879
1874
|
}
|
|
1880
|
-
}, _class.__initStatic(), _class
|
|
1875
|
+
}, _class.__initStatic(), _class);
|
|
1881
1876
|
|
|
1882
1877
|
// src/utils/invokations.ts
|
|
1883
1878
|
|
package/build/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { createUnplugin } from "unplugin";
|
|
|
4
4
|
// package.json
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "@lingo.dev/_compiler",
|
|
7
|
-
version: "0.3.
|
|
7
|
+
version: "0.3.5",
|
|
8
8
|
description: "Lingo.dev Compiler",
|
|
9
9
|
private: false,
|
|
10
10
|
publishConfig: {
|
|
@@ -1652,12 +1652,8 @@ var LCPAPI = class {
|
|
|
1652
1652
|
|
|
1653
1653
|
// src/lib/lcp/server.ts
|
|
1654
1654
|
var LCPServer = class {
|
|
1655
|
-
static dictionariesCache = null;
|
|
1656
1655
|
static inFlightPromise = null;
|
|
1657
1656
|
static async loadDictionaries(params) {
|
|
1658
|
-
if (this.dictionariesCache) {
|
|
1659
|
-
return this.dictionariesCache;
|
|
1660
|
-
}
|
|
1661
1657
|
if (this.inFlightPromise) {
|
|
1662
1658
|
return this.inFlightPromise;
|
|
1663
1659
|
}
|
|
@@ -1678,7 +1674,6 @@ var LCPServer = class {
|
|
|
1678
1674
|
dictionaries[index]
|
|
1679
1675
|
])
|
|
1680
1676
|
);
|
|
1681
|
-
this.dictionariesCache = result;
|
|
1682
1677
|
return result;
|
|
1683
1678
|
} finally {
|
|
1684
1679
|
this.inFlightPromise = null;
|