Merge pull request #391 from vector-im/bwindels/update-olm
update olm to 3.2.3
This commit is contained in:
commit
670d9a5e66
3 changed files with 6 additions and 6 deletions
|
@ -57,7 +57,7 @@
|
||||||
"base64-arraybuffer": "^0.2.0",
|
"base64-arraybuffer": "^0.2.0",
|
||||||
"bs58": "^4.0.1",
|
"bs58": "^4.0.1",
|
||||||
"es6-promise": "https://github.com/bwindels/es6-promise.git#bwindels/expose-flush",
|
"es6-promise": "https://github.com/bwindels/es6-promise.git#bwindels/expose-flush",
|
||||||
"olm": "https://packages.matrix.org/npm/olm/olm-3.1.4.tgz",
|
"@matrix-org/olm": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.3.tgz",
|
||||||
"text-encoding": "^0.7.0"
|
"text-encoding": "^0.7.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,7 +70,7 @@ async function populateLib() {
|
||||||
const libDir = path.join(projectDir, "lib/");
|
const libDir = path.join(projectDir, "lib/");
|
||||||
await removeDirIfExists(libDir);
|
await removeDirIfExists(libDir);
|
||||||
await fs.mkdir(libDir);
|
await fs.mkdir(libDir);
|
||||||
const olmSrcDir = path.dirname(require.resolve("olm"));
|
const olmSrcDir = path.dirname(require.resolve("@matrix-org/olm"));
|
||||||
const olmDstDir = path.join(libDir, "olm/");
|
const olmDstDir = path.join(libDir, "olm/");
|
||||||
await fs.mkdir(olmDstDir);
|
await fs.mkdir(olmDstDir);
|
||||||
for (const file of ["olm.js", "olm.wasm", "olm_legacy.js"]) {
|
for (const file of ["olm.js", "olm.wasm", "olm_legacy.js"]) {
|
||||||
|
|
|
@ -861,6 +861,10 @@
|
||||||
minimatch "^3.0.4"
|
minimatch "^3.0.4"
|
||||||
strip-json-comments "^3.1.1"
|
strip-json-comments "^3.1.1"
|
||||||
|
|
||||||
|
"@matrix-org/olm@https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.3.tgz":
|
||||||
|
version "3.2.3"
|
||||||
|
resolved "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.3.tgz#cc332fdd25c08ef0e40f4d33fc3f822a0f98b6f4"
|
||||||
|
|
||||||
"@rollup/plugin-babel@^5.1.0":
|
"@rollup/plugin-babel@^5.1.0":
|
||||||
version "5.2.1"
|
version "5.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/@rollup/plugin-babel/-/plugin-babel-5.2.1.tgz#20fc8f8864dc0eaa1c5578408459606808f72924"
|
resolved "https://registry.yarnpkg.com/@rollup/plugin-babel/-/plugin-babel-5.2.1.tgz#20fc8f8864dc0eaa1c5578408459606808f72924"
|
||||||
|
@ -2069,10 +2073,6 @@ object.assign@^4.1.0:
|
||||||
has-symbols "^1.0.0"
|
has-symbols "^1.0.0"
|
||||||
object-keys "^1.0.11"
|
object-keys "^1.0.11"
|
||||||
|
|
||||||
"olm@https://packages.matrix.org/npm/olm/olm-3.1.4.tgz":
|
|
||||||
version "3.1.4"
|
|
||||||
resolved "https://packages.matrix.org/npm/olm/olm-3.1.4.tgz#0f03128b7d3b2f614d2216409a1dfccca765fdb3"
|
|
||||||
|
|
||||||
on-finished@~2.3.0:
|
on-finished@~2.3.0:
|
||||||
version "2.3.0"
|
version "2.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
|
resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
|
||||||
|
|
Reference in a new issue