[object-persistor] use forked fast-crc32c dependency (#6945)

* [object-persistor] use forked fast-crc32c dependency
* removed amd64 compatibility from history_v1, filestore and docstore

GitOrigin-RevId: 7f1d9242c247f75cbdfde30a87ca25778e825cc1
This commit is contained in:
Miguel Serrano 2022-03-10 11:42:27 +01:00 committed by Copybot
parent 0819b02e73
commit 092ad3c599
3 changed files with 46 additions and 51 deletions

View file

@ -22,7 +22,7 @@
"@google-cloud/storage": "~5.1.2",
"@overleaf/o-error": "^3.4.0",
"aws-sdk": "^2.718.0",
"fast-crc32c": "^2.0.0",
"fast-crc32c": "https://github.com/overleaf/node-fast-crc32c/archive/aae6b2a4c7a7a159395df9cc6c38dfde702d6f51.tar.gz",
"glob": "^7.1.6",
"logger-sharelatex": "^2.1.1",
"node-uuid": "^1.4.8",

94
package-lock.json generated
View file

@ -210,7 +210,7 @@
"@google-cloud/storage": "~5.1.2",
"@overleaf/o-error": "^3.4.0",
"aws-sdk": "^2.718.0",
"fast-crc32c": "^2.0.0",
"fast-crc32c": "https://github.com/mserranom/node-fast-crc32c/archive/aae6b2a4c7a7a159395df9cc6c38dfde702d6f51.tar.gz",
"glob": "^7.1.6",
"logger-sharelatex": "^2.1.1",
"node-uuid": "^1.4.8",
@ -4014,6 +4014,24 @@
"integrity": "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==",
"optional": true
},
"node_modules/@node-rs/crc32": {
"version": "0.1.8",
"resolved": "https://registry.npmjs.org/@node-rs/crc32/-/crc32-0.1.8.tgz",
"integrity": "sha512-gnQhWJDieK9gg+b4g1IR7T3CvBQw15hmPPNc9oTtDCRKITStG1QtfGwLXnGtusxGCLoeDJAKlVHTVDNoeJ29LQ==",
"optional": true,
"dependencies": {
"@node-rs/helper": "^0.1.4"
}
},
"node_modules/@node-rs/helper": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/@node-rs/helper/-/helper-0.1.4.tgz",
"integrity": "sha512-f63wMA9m32dkX40XWCbDysoFLFGf+6WB/Vn90mW3CQVQe2hqgQPHLBMgriuI9eW9gnqdLnuHQGArg1WALeXCYA==",
"optional": true,
"dependencies": {
"tslib": "^2.0.0"
}
},
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@ -17638,10 +17656,11 @@
},
"node_modules/fast-crc32c": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/fast-crc32c/-/fast-crc32c-2.0.0.tgz",
"integrity": "sha512-LIREwygxtxzHF11oLJ4xIVKu/ZWNgrj/QaGvaSD8ZggIsgCyCtSYevlrpWVqNau57ZwezV8K1HFBSjQ7FcRbTQ==",
"resolved": "https://github.com/mserranom/node-fast-crc32c/archive/aae6b2a4c7a7a159395df9cc6c38dfde702d6f51.tar.gz",
"integrity": "sha512-b+S1DP+5y5+p1rTSaRF1Z+qHfsCXUPIE2vMMPdHYdfypAmQR1SOHW3tYZkXjjWQPYln6xwe9d5i1enR8Q4GHQQ==",
"license": "MIT",
"optionalDependencies": {
"sse4_crc32": "^6.0.1"
"@node-rs/crc32": "^0.1.7"
}
},
"node_modules/fast-deep-equal": {
@ -34955,26 +34974,6 @@
"es5-ext": "^0.10.53"
}
},
"node_modules/sse4_crc32": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/sse4_crc32/-/sse4_crc32-6.0.1.tgz",
"integrity": "sha512-FUTYXpLroqytNKWIfHzlDWoy9E4tmBB/RklNMy6w3VJs+/XEYAHgbiylg4SS43iOk/9bM0BlJ2EDpFAGT66IoQ==",
"hasInstallScript": true,
"optional": true,
"dependencies": {
"bindings": "^1.3.0",
"node-addon-api": "^1.3.0"
},
"engines": {
"node": ">=4"
}
},
"node_modules/sse4_crc32/node_modules/node-addon-api": {
"version": "1.7.2",
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-1.7.2.tgz",
"integrity": "sha512-ibPK3iA+vaY1eEjESkQkM0BbCqFOaZMiXRTtdB0u7b4djtY6JnsjvPdUHVMg6xQt3B8fpTTWHI9A+ADjM9frzg==",
"optional": true
},
"node_modules/ssh2": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/ssh2/-/ssh2-1.6.0.tgz",
@ -42139,7 +42138,6 @@
"body-parser": "^1.19.0",
"bunyan": "^1.8.15",
"express": "^4.17.1",
"fast-crc32c": "^2.0.0",
"glob": "^7.1.6",
"lodash.once": "^4.1.1",
"node-uuid": "~1.4.8",
@ -48493,6 +48491,24 @@
"integrity": "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==",
"optional": true
},
"@node-rs/crc32": {
"version": "0.1.8",
"resolved": "https://registry.npmjs.org/@node-rs/crc32/-/crc32-0.1.8.tgz",
"integrity": "sha512-gnQhWJDieK9gg+b4g1IR7T3CvBQw15hmPPNc9oTtDCRKITStG1QtfGwLXnGtusxGCLoeDJAKlVHTVDNoeJ29LQ==",
"optional": true,
"requires": {
"@node-rs/helper": "^0.1.4"
}
},
"@node-rs/helper": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/@node-rs/helper/-/helper-0.1.4.tgz",
"integrity": "sha512-f63wMA9m32dkX40XWCbDysoFLFGf+6WB/Vn90mW3CQVQe2hqgQPHLBMgriuI9eW9gnqdLnuHQGArg1WALeXCYA==",
"optional": true,
"requires": {
"tslib": "^2.0.0"
}
},
"@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@ -49566,7 +49582,6 @@
"chai-as-promised": "^7.1.1",
"disrequire": "^1.1.0",
"express": "^4.17.1",
"fast-crc32c": "^2.0.0",
"glob": "^7.1.6",
"lodash.once": "^4.1.1",
"mocha": "^8.4.0",
@ -50094,7 +50109,7 @@
"aws-sdk": "^2.718.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"fast-crc32c": "^2.0.0",
"fast-crc32c": "https://github.com/mserranom/node-fast-crc32c/archive/aae6b2a4c7a7a159395df9cc6c38dfde702d6f51.tar.gz",
"glob": "^7.1.6",
"logger-sharelatex": "^2.1.1",
"mocha": "^8.4.0",
@ -63171,11 +63186,10 @@
"integrity": "sha512-Qod3DdRgFZ8GUIM6ygeoZYpQ0QLW9cf/FS9KhhjlYggcSZXWAemAw8BOCO5LuYCrR3Uj3qXDVTUzOUwG8C7beQ=="
},
"fast-crc32c": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/fast-crc32c/-/fast-crc32c-2.0.0.tgz",
"integrity": "sha512-LIREwygxtxzHF11oLJ4xIVKu/ZWNgrj/QaGvaSD8ZggIsgCyCtSYevlrpWVqNau57ZwezV8K1HFBSjQ7FcRbTQ==",
"version": "https://github.com/mserranom/node-fast-crc32c/archive/aae6b2a4c7a7a159395df9cc6c38dfde702d6f51.tar.gz",
"integrity": "sha512-b+S1DP+5y5+p1rTSaRF1Z+qHfsCXUPIE2vMMPdHYdfypAmQR1SOHW3tYZkXjjWQPYln6xwe9d5i1enR8Q4GHQQ==",
"requires": {
"sse4_crc32": "^6.0.1"
"@node-rs/crc32": "^0.1.7"
}
},
"fast-deep-equal": {
@ -77081,24 +77095,6 @@
"es5-ext": "^0.10.53"
}
},
"sse4_crc32": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/sse4_crc32/-/sse4_crc32-6.0.1.tgz",
"integrity": "sha512-FUTYXpLroqytNKWIfHzlDWoy9E4tmBB/RklNMy6w3VJs+/XEYAHgbiylg4SS43iOk/9bM0BlJ2EDpFAGT66IoQ==",
"optional": true,
"requires": {
"bindings": "^1.3.0",
"node-addon-api": "^1.3.0"
},
"dependencies": {
"node-addon-api": {
"version": "1.7.2",
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-1.7.2.tgz",
"integrity": "sha512-ibPK3iA+vaY1eEjESkQkM0BbCqFOaZMiXRTtdB0u7b4djtY6JnsjvPdUHVMg6xQt3B8fpTTWHI9A+ADjM9frzg==",
"optional": true
}
}
},
"ssh2": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/ssh2/-/ssh2-1.6.0.tgz",

View file

@ -26,7 +26,6 @@
"body-parser": "^1.19.0",
"bunyan": "^1.8.15",
"express": "^4.17.1",
"fast-crc32c": "^2.0.0",
"glob": "^7.1.6",
"lodash.once": "^4.1.1",
"node-uuid": "~1.4.8",