@theia/ffmpeg 1.48.1 → 1.48.3

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.
package/README.md CHANGED
@@ -1,3 +1,3 @@
1
- # `ffmeg.node`
2
-
3
- This is a [Node Native Addon](https://nodejs.org/docs/latest-v14.x/api/n-api.html) to dynamically link to Electron's `ffmpeg.dll` and fetch a list of included codecs.
1
+ # `ffmeg.node`
2
+
3
+ This is a [Node Native Addon](https://nodejs.org/docs/latest-v14.x/api/n-api.html) to dynamically link to Electron's `ffmpeg.dll` and fetch a list of included codecs.
package/binding.gyp CHANGED
@@ -1,29 +1,29 @@
1
- {
2
- 'targets': [{
3
- 'defines': ['NAPI_VERSION=2'],
4
- 'target_name': 'ffmpeg',
5
- 'sources': [
6
- 'native/ffmpeg.c',
7
- ],
8
- 'conditions': [
9
- ['OS=="linux"', {
10
- 'sources': [
11
- 'native/linux-ffmpeg.c',
12
- ],
13
- 'libraries': [
14
- '-ldl',
15
- ]
16
- }],
17
- ['OS=="mac"', {
18
- 'sources': [
19
- 'native/mac-ffmpeg.c',
20
- ]
21
- }],
22
- ['OS=="win"', {
23
- 'sources': [
24
- 'native/win-ffmpeg.c',
25
- ]
26
- }],
27
- ],
28
- }],
29
- }
1
+ {
2
+ 'targets': [{
3
+ 'defines': ['NAPI_VERSION=2'],
4
+ 'target_name': 'ffmpeg',
5
+ 'sources': [
6
+ 'native/ffmpeg.c',
7
+ ],
8
+ 'conditions': [
9
+ ['OS=="linux"', {
10
+ 'sources': [
11
+ 'native/linux-ffmpeg.c',
12
+ ],
13
+ 'libraries': [
14
+ '-ldl',
15
+ ]
16
+ }],
17
+ ['OS=="mac"', {
18
+ 'sources': [
19
+ 'native/mac-ffmpeg.c',
20
+ ]
21
+ }],
22
+ ['OS=="win"', {
23
+ 'sources': [
24
+ 'native/win-ffmpeg.c',
25
+ ]
26
+ }],
27
+ ],
28
+ }],
29
+ }
@@ -1,11 +1,11 @@
1
- import * as ffmpeg from './ffmpeg';
2
- export interface CheckFfmpegOptions extends ffmpeg.FfmpegOptions {
3
- json?: boolean;
4
- }
5
- export interface CheckFfmpegResult {
6
- free: ffmpeg.Codec[];
7
- proprietary: ffmpeg.Codec[];
8
- }
9
- export declare const KNOWN_PROPRIETARY_CODECS: Set<string>;
10
- export declare function checkFfmpeg(options?: CheckFfmpegOptions): Promise<void>;
1
+ import * as ffmpeg from './ffmpeg';
2
+ export interface CheckFfmpegOptions extends ffmpeg.FfmpegOptions {
3
+ json?: boolean;
4
+ }
5
+ export interface CheckFfmpegResult {
6
+ free: ffmpeg.Codec[];
7
+ proprietary: ffmpeg.Codec[];
8
+ }
9
+ export declare const KNOWN_PROPRIETARY_CODECS: Set<string>;
10
+ export declare function checkFfmpeg(options?: CheckFfmpegOptions): Promise<void>;
11
11
  //# sourceMappingURL=check-ffmpeg.d.ts.map
@@ -1,47 +1,47 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2019 Ericsson and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.checkFfmpeg = exports.KNOWN_PROPRIETARY_CODECS = void 0;
19
- const ffmpeg = require("./ffmpeg");
20
- exports.KNOWN_PROPRIETARY_CODECS = new Set(['h264', 'aac']);
21
- async function checkFfmpeg(options = {}) {
22
- const { ffmpegPath = ffmpeg.ffmpegAbsolutePath(options), json = false, } = options;
23
- const codecs = ffmpeg.getFfmpegCodecs(ffmpegPath);
24
- const free = [];
25
- const proprietary = [];
26
- for (const codec of codecs) {
27
- if (exports.KNOWN_PROPRIETARY_CODECS.has(codec.name.toLowerCase())) {
28
- proprietary.push(codec);
29
- }
30
- else {
31
- free.push(codec);
32
- }
33
- }
34
- if (json) {
35
- // Pretty format JSON on stdout.
36
- const result = { free, proprietary };
37
- console.log(JSON.stringify(result, undefined, 2));
38
- }
39
- if (proprietary.length > 0) {
40
- // Should be displayed on stderr to not pollute the JSON on stdout.
41
- throw new Error(`${proprietary.length} proprietary codecs found\n${proprietary.map(codec => `> ${codec.name} detected (${codec.longName})`).join('\n')}`);
42
- }
43
- // Print to stderr to not pollute the JSON on stdout.
44
- console.warn(`"${ffmpegPath}" does not contain proprietary codecs (${codecs.length} found).`);
45
- }
46
- exports.checkFfmpeg = checkFfmpeg;
1
+ "use strict";
2
+ // *****************************************************************************
3
+ // Copyright (C) 2019 Ericsson and others.
4
+ //
5
+ // This program and the accompanying materials are made available under the
6
+ // terms of the Eclipse Public License v. 2.0 which is available at
7
+ // http://www.eclipse.org/legal/epl-2.0.
8
+ //
9
+ // This Source Code may also be made available under the following Secondary
10
+ // Licenses when the conditions for such availability set forth in the Eclipse
11
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
+ // with the GNU Classpath Exception which is available at
13
+ // https://www.gnu.org/software/classpath/license.html.
14
+ //
15
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
+ // *****************************************************************************
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.checkFfmpeg = exports.KNOWN_PROPRIETARY_CODECS = void 0;
19
+ const ffmpeg = require("./ffmpeg");
20
+ exports.KNOWN_PROPRIETARY_CODECS = new Set(['h264', 'aac']);
21
+ async function checkFfmpeg(options = {}) {
22
+ const { ffmpegPath = ffmpeg.ffmpegAbsolutePath(options), json = false, } = options;
23
+ const codecs = ffmpeg.getFfmpegCodecs(ffmpegPath);
24
+ const free = [];
25
+ const proprietary = [];
26
+ for (const codec of codecs) {
27
+ if (exports.KNOWN_PROPRIETARY_CODECS.has(codec.name.toLowerCase())) {
28
+ proprietary.push(codec);
29
+ }
30
+ else {
31
+ free.push(codec);
32
+ }
33
+ }
34
+ if (json) {
35
+ // Pretty format JSON on stdout.
36
+ const result = { free, proprietary };
37
+ console.log(JSON.stringify(result, undefined, 2));
38
+ }
39
+ if (proprietary.length > 0) {
40
+ // Should be displayed on stderr to not pollute the JSON on stdout.
41
+ throw new Error(`${proprietary.length} proprietary codecs found\n${proprietary.map(codec => `> ${codec.name} detected (${codec.longName})`).join('\n')}`);
42
+ }
43
+ // Print to stderr to not pollute the JSON on stdout.
44
+ console.warn(`"${ffmpegPath}" does not contain proprietary codecs (${codecs.length} found).`);
45
+ }
46
+ exports.checkFfmpeg = checkFfmpeg;
47
47
  //# sourceMappingURL=check-ffmpeg.js.map
package/lib/ffmpeg.d.ts CHANGED
@@ -1,48 +1,48 @@
1
- /// <reference types="node" />
2
- export interface Codec {
3
- id: number;
4
- name: string;
5
- longName: string;
6
- }
7
- export interface FfmpegNativeAddon {
8
- codecs(ffmpegPath: string): Codec[];
9
- }
10
- export interface FfmpegNameAndLocation {
11
- /**
12
- * Name with extension of the shared library.
13
- */
14
- name: string;
15
- /**
16
- * Relative location of the file from Electron's dist root.
17
- */
18
- location: string;
19
- }
20
- export interface FfmpegOptions {
21
- electronVersion?: string;
22
- electronDist?: string;
23
- ffmpegPath?: string;
24
- platform?: NodeJS.Platform;
25
- }
26
- /**
27
- * @internal
28
- */
29
- export declare function _loadFfmpegNativeAddon(): FfmpegNativeAddon;
30
- /**
31
- * @returns name and relative path from Electron's root where FFMPEG is located at.
32
- */
33
- export declare function ffmpegNameAndLocation({ platform }?: FfmpegOptions): FfmpegNameAndLocation;
34
- /**
35
- * @returns relative ffmpeg shared library path from the Electron distribution root.
36
- */
37
- export declare function ffmpegRelativePath(options?: FfmpegOptions): string;
38
- /**
39
- * @returns absolute ffmpeg shared library path.
40
- */
41
- export declare function ffmpegAbsolutePath(options?: FfmpegOptions): string;
42
- /**
43
- * Dynamically link to `ffmpegPath` and use FFMPEG APIs to list the included `Codec`s.
44
- * @param ffmpegPath absolute path the the FFMPEG shared library.
45
- * @returns list of codecs for the given ffmpeg shared library.
46
- */
47
- export declare function getFfmpegCodecs(ffmpegPath: string): Codec[];
1
+ /// <reference types="node" />
2
+ export interface Codec {
3
+ id: number;
4
+ name: string;
5
+ longName: string;
6
+ }
7
+ export interface FfmpegNativeAddon {
8
+ codecs(ffmpegPath: string): Codec[];
9
+ }
10
+ export interface FfmpegNameAndLocation {
11
+ /**
12
+ * Name with extension of the shared library.
13
+ */
14
+ name: string;
15
+ /**
16
+ * Relative location of the file from Electron's dist root.
17
+ */
18
+ location: string;
19
+ }
20
+ export interface FfmpegOptions {
21
+ electronVersion?: string;
22
+ electronDist?: string;
23
+ ffmpegPath?: string;
24
+ platform?: NodeJS.Platform;
25
+ }
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare function _loadFfmpegNativeAddon(): FfmpegNativeAddon;
30
+ /**
31
+ * @returns name and relative path from Electron's root where FFMPEG is located at.
32
+ */
33
+ export declare function ffmpegNameAndLocation({ platform }?: FfmpegOptions): FfmpegNameAndLocation;
34
+ /**
35
+ * @returns relative ffmpeg shared library path from the Electron distribution root.
36
+ */
37
+ export declare function ffmpegRelativePath(options?: FfmpegOptions): string;
38
+ /**
39
+ * @returns absolute ffmpeg shared library path.
40
+ */
41
+ export declare function ffmpegAbsolutePath(options?: FfmpegOptions): string;
42
+ /**
43
+ * Dynamically link to `ffmpegPath` and use FFMPEG APIs to list the included `Codec`s.
44
+ * @param ffmpegPath absolute path the the FFMPEG shared library.
45
+ * @returns list of codecs for the given ffmpeg shared library.
46
+ */
47
+ export declare function getFfmpegCodecs(ffmpegPath: string): Codec[];
48
48
  //# sourceMappingURL=ffmpeg.d.ts.map
package/lib/ffmpeg.js CHANGED
@@ -1,87 +1,87 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2019 Ericsson and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.getFfmpegCodecs = exports.ffmpegAbsolutePath = exports.ffmpegRelativePath = exports.ffmpegNameAndLocation = exports._loadFfmpegNativeAddon = void 0;
19
- const path = require("path");
20
- /**
21
- * @internal
22
- */
23
- function _loadFfmpegNativeAddon() {
24
- try {
25
- return require('../build/Release/ffmpeg.node');
26
- }
27
- catch (error) {
28
- if (error.code === 'MODULE_NOT_FOUND') {
29
- return require('../build/Debug/ffmpeg.node');
30
- }
31
- else {
32
- throw error;
33
- }
34
- }
35
- }
36
- exports._loadFfmpegNativeAddon = _loadFfmpegNativeAddon;
37
- /**
38
- * @returns name and relative path from Electron's root where FFMPEG is located at.
39
- */
40
- function ffmpegNameAndLocation({ platform = process.platform } = {}) {
41
- switch (platform) {
42
- case 'darwin':
43
- return {
44
- name: 'libffmpeg.dylib',
45
- location: 'Electron.app/Contents/Frameworks/Electron Framework.framework/Libraries/',
46
- };
47
- case 'win32':
48
- return {
49
- name: 'ffmpeg.dll',
50
- location: '',
51
- };
52
- case 'linux':
53
- return {
54
- name: 'libffmpeg.so',
55
- location: '',
56
- };
57
- default:
58
- throw new Error(`${platform} is not supported`);
59
- }
60
- }
61
- exports.ffmpegNameAndLocation = ffmpegNameAndLocation;
62
- /**
63
- * @returns relative ffmpeg shared library path from the Electron distribution root.
64
- */
65
- function ffmpegRelativePath(options = {}) {
66
- const { location, name } = ffmpegNameAndLocation(options);
67
- return path.join(location, name);
68
- }
69
- exports.ffmpegRelativePath = ffmpegRelativePath;
70
- /**
71
- * @returns absolute ffmpeg shared library path.
72
- */
73
- function ffmpegAbsolutePath(options = {}) {
74
- const { electronDist = path.resolve(require.resolve('electron/package.json'), '..', 'dist') } = options;
75
- return path.join(electronDist, ffmpegRelativePath(options));
76
- }
77
- exports.ffmpegAbsolutePath = ffmpegAbsolutePath;
78
- /**
79
- * Dynamically link to `ffmpegPath` and use FFMPEG APIs to list the included `Codec`s.
80
- * @param ffmpegPath absolute path the the FFMPEG shared library.
81
- * @returns list of codecs for the given ffmpeg shared library.
82
- */
83
- function getFfmpegCodecs(ffmpegPath) {
84
- return _loadFfmpegNativeAddon().codecs(ffmpegPath);
85
- }
86
- exports.getFfmpegCodecs = getFfmpegCodecs;
1
+ "use strict";
2
+ // *****************************************************************************
3
+ // Copyright (C) 2019 Ericsson and others.
4
+ //
5
+ // This program and the accompanying materials are made available under the
6
+ // terms of the Eclipse Public License v. 2.0 which is available at
7
+ // http://www.eclipse.org/legal/epl-2.0.
8
+ //
9
+ // This Source Code may also be made available under the following Secondary
10
+ // Licenses when the conditions for such availability set forth in the Eclipse
11
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
+ // with the GNU Classpath Exception which is available at
13
+ // https://www.gnu.org/software/classpath/license.html.
14
+ //
15
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
+ // *****************************************************************************
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.getFfmpegCodecs = exports.ffmpegAbsolutePath = exports.ffmpegRelativePath = exports.ffmpegNameAndLocation = exports._loadFfmpegNativeAddon = void 0;
19
+ const path = require("path");
20
+ /**
21
+ * @internal
22
+ */
23
+ function _loadFfmpegNativeAddon() {
24
+ try {
25
+ return require('../build/Release/ffmpeg.node');
26
+ }
27
+ catch (error) {
28
+ if (error.code === 'MODULE_NOT_FOUND') {
29
+ return require('../build/Debug/ffmpeg.node');
30
+ }
31
+ else {
32
+ throw error;
33
+ }
34
+ }
35
+ }
36
+ exports._loadFfmpegNativeAddon = _loadFfmpegNativeAddon;
37
+ /**
38
+ * @returns name and relative path from Electron's root where FFMPEG is located at.
39
+ */
40
+ function ffmpegNameAndLocation({ platform = process.platform } = {}) {
41
+ switch (platform) {
42
+ case 'darwin':
43
+ return {
44
+ name: 'libffmpeg.dylib',
45
+ location: 'Electron.app/Contents/Frameworks/Electron Framework.framework/Libraries/',
46
+ };
47
+ case 'win32':
48
+ return {
49
+ name: 'ffmpeg.dll',
50
+ location: '',
51
+ };
52
+ case 'linux':
53
+ return {
54
+ name: 'libffmpeg.so',
55
+ location: '',
56
+ };
57
+ default:
58
+ throw new Error(`${platform} is not supported`);
59
+ }
60
+ }
61
+ exports.ffmpegNameAndLocation = ffmpegNameAndLocation;
62
+ /**
63
+ * @returns relative ffmpeg shared library path from the Electron distribution root.
64
+ */
65
+ function ffmpegRelativePath(options = {}) {
66
+ const { location, name } = ffmpegNameAndLocation(options);
67
+ return path.join(location, name);
68
+ }
69
+ exports.ffmpegRelativePath = ffmpegRelativePath;
70
+ /**
71
+ * @returns absolute ffmpeg shared library path.
72
+ */
73
+ function ffmpegAbsolutePath(options = {}) {
74
+ const { electronDist = path.resolve(require.resolve('electron/package.json'), '..', 'dist') } = options;
75
+ return path.join(electronDist, ffmpegRelativePath(options));
76
+ }
77
+ exports.ffmpegAbsolutePath = ffmpegAbsolutePath;
78
+ /**
79
+ * Dynamically link to `ffmpegPath` and use FFMPEG APIs to list the included `Codec`s.
80
+ * @param ffmpegPath absolute path the the FFMPEG shared library.
81
+ * @returns list of codecs for the given ffmpeg shared library.
82
+ */
83
+ function getFfmpegCodecs(ffmpegPath) {
84
+ return _loadFfmpegNativeAddon().codecs(ffmpegPath);
85
+ }
86
+ exports.getFfmpegCodecs = getFfmpegCodecs;
87
87
  //# sourceMappingURL=ffmpeg.js.map
package/lib/hash.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- /// <reference types="node" />
2
- export declare function hashFile(filePath: string): Promise<Buffer>;
1
+ /// <reference types="node" />
2
+ export declare function hashFile(filePath: string): Promise<Buffer>;
3
3
  //# sourceMappingURL=hash.d.ts.map
package/lib/hash.js CHANGED
@@ -1,31 +1,31 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2021 Ericsson and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.hashFile = void 0;
19
- const crypto = require("crypto");
20
- const fs = require("fs-extra");
21
- async function hashFile(filePath) {
22
- return new Promise((resolve, reject) => {
23
- const sha256 = crypto.createHash('sha256');
24
- fs.createReadStream(filePath)
25
- .on('close', () => resolve(sha256.digest()))
26
- .on('data', data => sha256.update(data))
27
- .on('error', reject);
28
- });
29
- }
30
- exports.hashFile = hashFile;
1
+ "use strict";
2
+ // *****************************************************************************
3
+ // Copyright (C) 2021 Ericsson and others.
4
+ //
5
+ // This program and the accompanying materials are made available under the
6
+ // terms of the Eclipse Public License v. 2.0 which is available at
7
+ // http://www.eclipse.org/legal/epl-2.0.
8
+ //
9
+ // This Source Code may also be made available under the following Secondary
10
+ // Licenses when the conditions for such availability set forth in the Eclipse
11
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
+ // with the GNU Classpath Exception which is available at
13
+ // https://www.gnu.org/software/classpath/license.html.
14
+ //
15
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
+ // *****************************************************************************
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.hashFile = void 0;
19
+ const crypto = require("crypto");
20
+ const fs = require("fs-extra");
21
+ async function hashFile(filePath) {
22
+ return new Promise((resolve, reject) => {
23
+ const sha256 = crypto.createHash('sha256');
24
+ fs.createReadStream(filePath)
25
+ .on('close', () => resolve(sha256.digest()))
26
+ .on('data', data => sha256.update(data))
27
+ .on('error', reject);
28
+ });
29
+ }
30
+ exports.hashFile = hashFile;
31
31
  //# sourceMappingURL=hash.js.map
package/lib/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export * from './hash';
2
- export * from './ffmpeg';
3
- export * from './check-ffmpeg';
4
- export * from './replace-ffmpeg';
1
+ export * from './hash';
2
+ export * from './ffmpeg';
3
+ export * from './check-ffmpeg';
4
+ export * from './replace-ffmpeg';
5
5
  //# sourceMappingURL=index.d.ts.map
package/lib/index.js CHANGED
@@ -1,23 +1,23 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2021 Ericsson and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- const tslib_1 = require("tslib");
19
- (0, tslib_1.__exportStar)(require("./hash"), exports);
20
- (0, tslib_1.__exportStar)(require("./ffmpeg"), exports);
21
- (0, tslib_1.__exportStar)(require("./check-ffmpeg"), exports);
22
- (0, tslib_1.__exportStar)(require("./replace-ffmpeg"), exports);
1
+ "use strict";
2
+ // *****************************************************************************
3
+ // Copyright (C) 2021 Ericsson and others.
4
+ //
5
+ // This program and the accompanying materials are made available under the
6
+ // terms of the Eclipse Public License v. 2.0 which is available at
7
+ // http://www.eclipse.org/legal/epl-2.0.
8
+ //
9
+ // This Source Code may also be made available under the following Secondary
10
+ // Licenses when the conditions for such availability set forth in the Eclipse
11
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
+ // with the GNU Classpath Exception which is available at
13
+ // https://www.gnu.org/software/classpath/license.html.
14
+ //
15
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
+ // *****************************************************************************
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ const tslib_1 = require("tslib");
19
+ (0, tslib_1.__exportStar)(require("./hash"), exports);
20
+ (0, tslib_1.__exportStar)(require("./ffmpeg"), exports);
21
+ (0, tslib_1.__exportStar)(require("./check-ffmpeg"), exports);
22
+ (0, tslib_1.__exportStar)(require("./replace-ffmpeg"), exports);
23
23
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import * as ffmpeg from './ffmpeg';
2
- export declare function replaceFfmpeg(options?: ffmpeg.FfmpegOptions): Promise<void>;
3
- export declare function readElectronVersion(electronDist: string): Promise<string>;
1
+ import * as ffmpeg from './ffmpeg';
2
+ export declare function replaceFfmpeg(options?: ffmpeg.FfmpegOptions): Promise<void>;
3
+ export declare function readElectronVersion(electronDist: string): Promise<string>;
4
4
  //# sourceMappingURL=replace-ffmpeg.d.ts.map