Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependency upgrade #271

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.vscode

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
Expand Down
2 changes: 1 addition & 1 deletion audio.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { join, basename, resolve } from 'node:path';
import pMap from 'p-map';
import { join, basename, resolve } from 'path';
import { execa } from 'execa';
import flatMap from 'lodash-es/flatMap.js';

Expand Down
6 changes: 3 additions & 3 deletions cli.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env node
import meow from 'meow';
import { readFileSync } from 'fs';
import { readFileSync } from 'node:fs';
import assert from 'node:assert';
import { fileTypeFromFile } from 'file-type';
import pMap from 'p-map';
import JSON5 from 'json5';
import assert from 'assert';
import meow from 'meow';

import Editly from './index.js';

Expand Down
2 changes: 1 addition & 1 deletion examples/customCanvas.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import editly from '..';
import editly from '../index.js';

async function func({ canvas }) {
async function onRender(progress) {
Expand Down
2 changes: 1 addition & 1 deletion examples/customFabric.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import editly from '..';
import editly from '../index.js';

/* eslint-disable spaced-comment,no-param-reassign */

Expand Down
2 changes: 1 addition & 1 deletion examples/fabricImagePostProcessing.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import editly from '..';
import editly from '../index.js';

// See https://github.com/mifi/editly/pull/222

Expand Down
2 changes: 1 addition & 1 deletion examples/renderSingleFrame.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { parse } from 'json5';
import fsExtra from 'fs-extra';

// eslint-disable-next-line import/named
import { renderSingleFrame } from '..';
import { renderSingleFrame } from '../index.js';

(async () => {
await renderSingleFrame({
Expand Down
4 changes: 2 additions & 2 deletions ffmpeg.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import assert from 'node:assert';
import fsExtra from 'fs-extra';
import { execa } from 'execa';
import assert from 'assert';
import compareVersions from 'compare-versions';
import { compareVersions } from 'compare-versions';

export const getFfmpegCommonArgs = ({ enableFfmpegLog }) => (enableFfmpegLog ? [] : ['-hide_banner', '-loglevel', 'error']);

Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import assert from 'node:assert';
import { join, dirname } from 'node:path';
import { execa } from 'execa';
import assert from 'assert';
import { join, dirname } from 'path';
import JSON5 from 'json5';
import fsExtra from 'fs-extra';
import { nanoid } from 'nanoid';
Expand Down
56 changes: 29 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,51 +2,53 @@
"name": "editly",
"description": "Simple, sexy, declarative video editing",
"version": "0.14.2",
"main": "index.js",
"types": "index.d.ts",
"author": "Mikael Finstad <[email protected]>",
"contributors": [
"Patrick Connolly <[email protected]> (https://github.com/patcon)",
"Skayo <[email protected]> (https://skayo.dev)"
],
"type": "module",
"main": "index.js",
"types": "index.d.ts",
"bin": {
"editly": "cli.js"
},
"license": "MIT",
"scripts": {
"test": "node test.js",
"lint": "eslint ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/mifi/editly.git"
},
"dependencies": {
"canvas": "^2.9.3",
"compare-versions": "^4.1.4",
"execa": "^6.1.0",
"fabric": "^5.2.4",
"file-type": "^18.0.0",
"canvas": "^2.11.2",
"compare-versions": "^6.1.0",
"execa": "^8.0.1",
"fabric": "^5.3.0",
"file-type": "^18.5.0",
"file-url": "^4.0.0",
"fs-extra": "^10.1.0",
"gl": "^5.0.3",
"fs-extra": "^11.1.1",
"gl": "^6.0.2",
"gl-buffer": "^2.1.2",
"gl-shader": "^4.3.1",
"gl-texture2d": "^2.1.0",
"gl-transition": "^1.13.0",
"gl-transitions": "^1.43.0",
"json5": "^2.2.1",
"json5": "^2.2.3",
"lodash-es": "^4.17.21",
"meow": "^10.1.3",
"nanoid": "^4.0.0",
"meow": "^11.0.0",
"nanoid": "^4.0.2",
"ndarray": "^1.0.19",
"p-map": "^5.5.0"
},
"scripts": {
"test": "node test.js",
"lint": "eslint ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/mifi/editly.git"
},
"bin": {
"editly": "cli.js"
"p-map": "^6.0.0",
"url": "^0.11.3"
},
"devDependencies": {
"@types/fabric": "^4.5.11",
"eslint": "^8.22.0",
"@types/fabric": "^5.3.5",
"@types/gl-texture2d": "^2.1.5",
"eslint": "^8.52.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0"
"eslint-plugin-import": "^2.29.0"
}
}
4 changes: 2 additions & 2 deletions parseConfig.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { basename, join } from 'node:path';
import assert from 'node:assert';
import pMap from 'p-map';
import { basename, join } from 'path';
import flatMap from 'lodash-es/flatMap.js';
import assert from 'assert';
import { fileURLToPath } from 'url';

import {
Expand Down
2 changes: 1 addition & 1 deletion sources/frameSource.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import assert from 'assert';
import assert from 'node:assert';
import pMap from 'p-map';

import {
Expand Down
2 changes: 1 addition & 1 deletion sources/videoFrameSource.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'node:assert';
import { execa } from 'execa';
import assert from 'assert';
import { fabric } from 'fabric';

import { getFfmpegCommonArgs } from '../ffmpeg.js';
Expand Down
2 changes: 1 addition & 1 deletion transitions.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import assert from 'assert';
import assert from 'node:assert';

const randomTransitionsSet = ['fade', 'fadegrayscale', 'directionalwarp', 'crosswarp', 'dreamyzoom', 'burn', 'crosszoom', 'simplezoom', 'linearblur', 'directional-left', 'directional-right', 'directional-up', 'directional-down'];

Expand Down
2 changes: 1 addition & 1 deletion util.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'node:assert';
import { execa } from 'execa';
import assert from 'assert';
import sortBy from 'lodash-es/sortBy.js';
import fsExtra from 'fs-extra';

Expand Down
Loading
Loading