@designliquido/delegua-node 1.21.0 → 1.21.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolver-biblioteca.d.ts","sourceRoot":"","sources":["../../fontes/ffi/resolver-biblioteca.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"resolver-biblioteca.d.ts","sourceRoot":"","sources":["../../fontes/ffi/resolver-biblioteca.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAqB3D"}
|
|
@@ -15,12 +15,19 @@ exports.resolverNomeBiblioteca = resolverNomeBiblioteca;
|
|
|
15
15
|
* devolvido sem alteração.
|
|
16
16
|
*/
|
|
17
17
|
function resolverNomeBiblioteca(nome) {
|
|
18
|
+
var _a;
|
|
18
19
|
const jaTemExtensao = /\.(dll|dylib|so(\.\d+)*)$/i.test(nome);
|
|
19
20
|
if (jaTemExtensao || nome.includes('/') || nome.includes('\\')) {
|
|
20
21
|
return nome;
|
|
21
22
|
}
|
|
22
23
|
if (process.platform === 'win32') {
|
|
23
|
-
|
|
24
|
+
// No Windows, libm não existe como DLL separada.
|
|
25
|
+
// As funções matemáticas residem em ucrtbase.dll (ou msvcrt.dll em sistemas mais antigos).
|
|
26
|
+
const aliasesWindows = {
|
|
27
|
+
m: 'ucrtbase',
|
|
28
|
+
};
|
|
29
|
+
const nome_ = (_a = aliasesWindows[nome]) !== null && _a !== void 0 ? _a : nome;
|
|
30
|
+
return `${nome_}.dll`;
|
|
24
31
|
}
|
|
25
32
|
if (process.platform === 'darwin') {
|
|
26
33
|
return `lib${nome}.dylib`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolver-biblioteca.js","sourceRoot":"","sources":["../../fontes/ffi/resolver-biblioteca.ts"],"names":[],"mappings":";;AAaA,
|
|
1
|
+
{"version":3,"file":"resolver-biblioteca.js","sourceRoot":"","sources":["../../fontes/ffi/resolver-biblioteca.ts"],"names":[],"mappings":";;AAaA,wDAqBC;AAlCD;;;;;;;;;;;;GAYG;AACH,SAAgB,sBAAsB,CAAC,IAAY;;IAC/C,MAAM,aAAa,GAAG,4BAA4B,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC9D,IAAI,aAAa,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;QAC7D,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE,CAAC;QAC/B,iDAAiD;QACjD,2FAA2F;QAC3F,MAAM,cAAc,GAA2B;YAC3C,CAAC,EAAE,UAAU;SAChB,CAAC;QACF,MAAM,KAAK,GAAG,MAAA,cAAc,CAAC,IAAI,CAAC,mCAAI,IAAI,CAAC;QAC3C,OAAO,GAAG,KAAK,MAAM,CAAC;IAC1B,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAChC,OAAO,MAAM,IAAI,QAAQ,CAAC;IAC9B,CAAC;IAED,OAAO,MAAM,IAAI,KAAK,CAAC;AAC3B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@designliquido/delegua-node",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.1",
|
|
4
4
|
"description": "Linguagem Delégua com capacidades para ecossistema Node.js.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"delegua": "bin/delegua",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@designliquido/birl": "^0.6.9",
|
|
24
|
-
"@designliquido/delegua": "^1.24.
|
|
24
|
+
"@designliquido/delegua": "^1.24.1",
|
|
25
25
|
"@designliquido/delegua-interface-grafica": "^0.1.0",
|
|
26
26
|
"@designliquido/mapler": "^0.7.9",
|
|
27
27
|
"@designliquido/portugol-studio": "^0.11.9",
|