@remotion/lambda 4.0.145 → 4.0.147
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.
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.initNss = exports.nssConfigFile = void 0;
|
|
7
|
+
const fs_1 = require("fs");
|
|
8
|
+
const path_1 = __importDefault(require("path"));
|
|
9
|
+
// /etc/pki/pkcs11.txt
|
|
10
|
+
const nssConfigFile = () => {
|
|
11
|
+
return `
|
|
12
|
+
library=libnsssysinit.so
|
|
13
|
+
name=NSS Internal PKCS #11 Module
|
|
14
|
+
parameters=configdir='sql:/tmp/.pki/nssdb' certPrefix='' keyPrefix='' secmod='secmod.db' flags= updatedir='' updateCertPrefix='' updateKeyPrefix='' updateid='' updateTokenDescription=''
|
|
15
|
+
NSS=Flags=internal,moduleDBOnly,critical trustOrder=75 cipherOrder=100 slotParams=(1={slotFlags=[RSA,DSA,DH,RC2,RC4,DES,RANDOM,SHA1,MD5,MD2,SSL,TLS,AES,Camellia,SEED,SHA256,SHA512] askpw=any timeout=30})
|
|
16
|
+
`.trim();
|
|
17
|
+
};
|
|
18
|
+
exports.nssConfigFile = nssConfigFile;
|
|
19
|
+
const TARGET_DIR = '/tmp/.pki/nssdb';
|
|
20
|
+
const TARGET_FILE = path_1.default.join(TARGET_DIR, 'pkcs11.txt');
|
|
21
|
+
const TARGET_CERT_DB = path_1.default.join(TARGET_DIR, 'cert9.db');
|
|
22
|
+
const TARGET_KEY_DB = path_1.default.join(TARGET_DIR, 'key4.db');
|
|
23
|
+
const initNss = () => {
|
|
24
|
+
if (!(0, fs_1.existsSync)(TARGET_DIR)) {
|
|
25
|
+
(0, fs_1.mkdirSync)(TARGET_DIR, { recursive: true });
|
|
26
|
+
}
|
|
27
|
+
if (!(0, fs_1.existsSync)(TARGET_FILE)) {
|
|
28
|
+
const nssConfig = (0, exports.nssConfigFile)();
|
|
29
|
+
(0, fs_1.writeFileSync)(TARGET_FILE, nssConfig);
|
|
30
|
+
}
|
|
31
|
+
if (!(0, fs_1.existsSync)(TARGET_CERT_DB)) {
|
|
32
|
+
(0, fs_1.cpSync)('/opt/nss/cert9.db', TARGET_CERT_DB);
|
|
33
|
+
}
|
|
34
|
+
if (!(0, fs_1.existsSync)(TARGET_KEY_DB)) {
|
|
35
|
+
(0, fs_1.cpSync)('/opt/nss/key4.db', TARGET_KEY_DB);
|
|
36
|
+
}
|
|
37
|
+
console.log('Written!');
|
|
38
|
+
};
|
|
39
|
+
exports.initNss = initNss;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/lambda",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.147",
|
|
4
4
|
"description": "Distributed renderer for Remotion based on AWS Lambda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"aws-policies": "^1.0.1",
|
|
27
27
|
"mime-types": "2.1.34",
|
|
28
28
|
"zod": "3.22.3",
|
|
29
|
-
"@remotion/
|
|
30
|
-
"@remotion/
|
|
31
|
-
"remotion": "4.0.
|
|
32
|
-
"@remotion/
|
|
29
|
+
"@remotion/renderer": "4.0.147",
|
|
30
|
+
"@remotion/bundler": "4.0.147",
|
|
31
|
+
"remotion": "4.0.147",
|
|
32
|
+
"@remotion/cli": "4.0.147"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@jonny/eslint-config": "3.0.281",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"ts-node": "10.9.2",
|
|
46
46
|
"vitest": "0.31.1",
|
|
47
47
|
"zip-lib": "^0.7.2",
|
|
48
|
-
"@remotion/compositor-linux-arm64-gnu": "4.0.
|
|
49
|
-
"@remotion/bundler": "4.0.
|
|
48
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.147",
|
|
49
|
+
"@remotion/bundler": "4.0.147"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@remotion/bundler": "4.0.
|
|
52
|
+
"@remotion/bundler": "4.0.147"
|
|
53
53
|
},
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
package/remotionlambda-arm64.zip
CHANGED
|
Binary file
|