signalbackup-tools: 20241220 -> 20250106 (#371523)
[NixPkgs.git] / pkgs / tools / admin / meshcentral / fix-js-include-paths.patch
blob3fdbc033c9da9bb02d34aa9c4d199b959a418aea
1 diff --git a/pkcs7-modified.js b/pkcs7-modified.js
2 index 661904a6..932a41ad 100644
3 --- a/pkcs7-modified.js
4 +++ b/pkcs7-modified.js
5 @@ -31,16 +31,16 @@ try {
6 } catch (ex) { }
8 if (forge == null) {
9 - forge = require('./node_modules/node-forge/lib/forge');
10 - require('./node_modules/node-forge/lib/aes');
11 - require('./node_modules/node-forge/lib/asn1');
12 - require('./node_modules/node-forge/lib/des');
13 - require('./node_modules/node-forge/lib/oids');
14 - require('./node_modules/node-forge/lib/pem');
15 - require('./node_modules/node-forge/lib/pkcs7asn1');
16 - require('./node_modules/node-forge/lib/random');
17 - require('./node_modules/node-forge/lib/util');
18 - require('./node_modules/node-forge/lib/x509');
19 + forge = require('node-forge/lib/forge');
20 + require('node-forge/lib/aes');
21 + require('node-forge/lib/asn1');
22 + require('node-forge/lib/des');
23 + require('node-forge/lib/oids');
24 + require('node-forge/lib/pem');
25 + require('node-forge/lib/pkcs7asn1');
26 + require('node-forge/lib/random');
27 + require('node-forge/lib/util');
28 + require('node-forge/lib/x509');
31 // shortcut for ASN.1 API