@remotion/lambda 3.3.76 → 3.3.77

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.
@@ -3,5 +3,8 @@ export declare const planFrameRanges: ({ framesPerLambda, frameRange, everyNthFr
3
3
  frameRange: [number, number];
4
4
  everyNthFrame: number;
5
5
  }) => {
6
- chunks: [number, number][];
6
+ chunks: [
7
+ number,
8
+ number
9
+ ][];
7
10
  };
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import http from 'http';
4
2
  import https from 'https';
5
3
  import type { EnhancedErrorInfo } from '../functions/helpers/write-lambda-error';
@@ -7,8 +7,9 @@ const validateS3Key = (s3Key) => {
7
7
  if (typeof s3Key !== 'string') {
8
8
  throw new TypeError('The S3 key must be a string. Passed an object of type ' + typeof s3Key);
9
9
  }
10
- if (!s3Key.match(/^([0-9a-zA-Z-!_.*'()/]+)$/g)) {
11
- throw new Error("The S3 Key must match the RegExp `/([0-9a-zA-Z-!_.*'()/]+)/g`. You passed: " +
10
+ // https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html
11
+ if (!s3Key.match(/^([0-9a-zA-Z-!_.*'()/:&$@=;+,?]+)/g)) {
12
+ throw new Error("The S3 Key must match the RegExp `/^([0-9a-zA-Z-!_.*'()/:&$@=;+,?]+)/g`. You passed: " +
12
13
  s3Key +
13
14
  '. Check for invalid characters.');
14
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/lambda",
3
- "version": "3.3.76",
3
+ "version": "3.3.77",
4
4
  "description": "Distributed renderer for Remotion based on AWS Lambda",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -23,18 +23,18 @@
23
23
  "@aws-sdk/credential-providers": "3.272.0",
24
24
  "@aws-sdk/lib-storage": "3.272.0",
25
25
  "@aws-sdk/s3-request-presigner": "3.272.0",
26
- "@remotion/bundler": "3.3.76",
27
- "@remotion/cli": "3.3.76",
28
- "@remotion/renderer": "3.3.76",
26
+ "@remotion/bundler": "3.3.77",
27
+ "@remotion/cli": "3.3.77",
28
+ "@remotion/renderer": "3.3.77",
29
29
  "aws-policies": "^1.0.1",
30
30
  "mime-types": "2.1.34",
31
- "remotion": "3.3.76"
31
+ "remotion": "3.3.77"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@jonny/eslint-config": "3.0.266",
35
- "@remotion/bundler": "3.3.76",
36
- "@remotion/compositor-linux-arm64-musl": "3.3.76",
37
- "@remotion/compositor-linux-x64-musl": "3.3.76",
35
+ "@remotion/bundler": "3.3.77",
36
+ "@remotion/compositor-linux-arm64-musl": "3.3.77",
37
+ "@remotion/compositor-linux-x64-musl": "3.3.77",
38
38
  "@types/mime-types": "2.1.1",
39
39
  "@types/minimist": "1.2.2",
40
40
  "@types/node": "^14.14.14",
@@ -48,7 +48,7 @@
48
48
  "zip-lib": "^0.7.2"
49
49
  },
50
50
  "peerDependencies": {
51
- "@remotion/bundler": "3.3.76"
51
+ "@remotion/bundler": "3.3.77"
52
52
  },
53
53
  "publishConfig": {
54
54
  "access": "public"
Binary file
Binary file