etro 0.8.1 → 0.8.4
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/.github/workflows/nodejs.yml +5 -2
- package/.github/workflows/shipjs-trigger.yml +29 -0
- package/CHANGELOG.md +38 -14
- package/CONTRIBUTING.md +1 -0
- package/README.md +1 -1
- package/dist/etro-cjs.js +53 -6446
- package/dist/etro-iife.js +53 -6446
- package/dist/layer/audio-source.d.ts +1 -2
- package/dist/movie.d.ts +3 -1
- package/karma.conf.js +17 -1
- package/package.json +8 -10
- package/scripts/gen-effect-samples.html +27 -18
- package/scripts/save-effect-samples.js +6 -1
- package/ship.config.js +80 -0
- package/src/effect/stack.ts +3 -2
- package/src/layer/audio-source.ts +4 -5
- package/src/layer/visual.ts +7 -1
- package/src/movie.ts +53 -27
- package/src/util.ts +1 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
name: Node CI
|
|
2
2
|
|
|
3
|
-
on:
|
|
3
|
+
on:
|
|
4
|
+
- push
|
|
5
|
+
- pull_request
|
|
4
6
|
|
|
5
7
|
jobs:
|
|
6
8
|
build:
|
|
@@ -22,8 +24,9 @@ jobs:
|
|
|
22
24
|
- name: npm install, lint, build, and test
|
|
23
25
|
run: |
|
|
24
26
|
npm ci
|
|
27
|
+
node node_modules/puppeteer/install.js
|
|
25
28
|
npm run lint
|
|
26
29
|
npm run build
|
|
27
|
-
npm test
|
|
30
|
+
xvfb-run --auto-servernum npm test
|
|
28
31
|
env:
|
|
29
32
|
CI: true
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
name: Ship js trigger
|
|
2
|
+
on:
|
|
3
|
+
pull_request:
|
|
4
|
+
types:
|
|
5
|
+
- closed
|
|
6
|
+
jobs:
|
|
7
|
+
build:
|
|
8
|
+
name: Release
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'releases/v')
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v2
|
|
13
|
+
with:
|
|
14
|
+
fetch-depth: 0
|
|
15
|
+
ref: master
|
|
16
|
+
- uses: actions/setup-node@v1
|
|
17
|
+
with:
|
|
18
|
+
registry-url: "https://registry.npmjs.org"
|
|
19
|
+
- run: |
|
|
20
|
+
if [ -f "yarn.lock" ]; then
|
|
21
|
+
yarn install
|
|
22
|
+
else
|
|
23
|
+
npm install
|
|
24
|
+
fi
|
|
25
|
+
- run: npx shipjs trigger
|
|
26
|
+
env:
|
|
27
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
28
|
+
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
|
|
29
|
+
SLACK_INCOMING_HOOK: ${{ secrets.SLACK_INCOMING_HOOK }}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|
6
|
+
and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
7
|
+
|
|
8
|
+
## [0.8.4] - 2022-02-23
|
|
9
|
+
### Fixed
|
|
10
|
+
- **Major memory leak.**
|
|
11
|
+
- `Movie#play()` not resolving.
|
|
12
|
+
- `Movie#paused` set to false after done playing or recording.
|
|
13
|
+
- Movies' `currentTime` being off by a fraction of a second a few frames after playing.
|
|
14
|
+
- Movies' `currentTime` setter not respecting `autoRefresh`.
|
|
15
|
+
|
|
16
|
+
## [0.8.3] - 2022-01-18
|
|
17
|
+
### Fixed
|
|
18
|
+
- Recording not respecting the `type` option.
|
|
19
|
+
- Effects throwing 'empty canvas' errors when the target's width or height is 0.
|
|
20
|
+
|
|
21
|
+
## [0.8.2] - 2021-07-08
|
|
22
|
+
### Fixed
|
|
23
|
+
- `GaussianBlur` effect throwing a `TypeError` when applied to a movie or layer (the problem persisted).
|
|
24
|
+
- Ignore layers and effects removed with `delete`.
|
|
25
|
+
|
|
3
26
|
## [0.8.1] - 2021-04-20
|
|
4
27
|
### Fixed
|
|
5
28
|
- `sourceStartTime` getting ignored on `'movie.seek'`.
|
|
@@ -143,12 +166,12 @@
|
|
|
143
166
|
- Null or undefined layer dimensions default to the width or height of the movie.
|
|
144
167
|
- Movie "end" event is now called "ended".
|
|
145
168
|
|
|
146
|
-
### Fixed
|
|
147
|
-
- Bug with layer options
|
|
148
|
-
|
|
149
169
|
### Removed
|
|
150
170
|
- Volume, speed and muted properties. These will most likely be added as separate audio effects in the future.
|
|
151
171
|
|
|
172
|
+
### Fixed
|
|
173
|
+
- Bug with layer options
|
|
174
|
+
|
|
152
175
|
## [0.2.0] - 2018-10-14
|
|
153
176
|
### Added
|
|
154
177
|
- Keyframes
|
|
@@ -158,7 +181,7 @@
|
|
|
158
181
|
- Elliptical mask effect.
|
|
159
182
|
- Many small improvements.
|
|
160
183
|
|
|
161
|
-
##
|
|
184
|
+
## 0.1.0 - 2018-10-06
|
|
162
185
|
### Added
|
|
163
186
|
- Movies
|
|
164
187
|
- Timeline
|
|
@@ -178,13 +201,14 @@
|
|
|
178
201
|
- Gaussian blur
|
|
179
202
|
- Transform
|
|
180
203
|
|
|
181
|
-
[
|
|
182
|
-
[0.8.
|
|
183
|
-
[0.8.
|
|
184
|
-
[0.
|
|
185
|
-
[0.
|
|
186
|
-
[0.
|
|
187
|
-
[0.
|
|
188
|
-
[0.
|
|
189
|
-
[0.
|
|
190
|
-
[0.
|
|
204
|
+
[0.8.4]: https://github.com/etro-js/etro/compare/v0.8.3...v0.8.4
|
|
205
|
+
[0.8.3]: https://github.com/etro-js/etro/compare/v0.8.2...v0.8.3
|
|
206
|
+
[0.8.2]: https://github.com/etro-js/etro/compare/v0.8.1...v0.8.2
|
|
207
|
+
[0.8.1]: https://github.com/etro-js/etro/compare/v0.8.0...v0.8.1
|
|
208
|
+
[0.8.0]: https://github.com/etro-js/etro/compare/v0.7.0...v0.8.0
|
|
209
|
+
[0.7.0]: https://github.com/etro-js/etro/compare/v0.6.0...v0.7.0
|
|
210
|
+
[0.6.0]: https://github.com/etro-js/etro/compare/v0.5.0...v0.6.0
|
|
211
|
+
[0.5.0]: https://github.com/etro-js/etro/compare/v0.4.0...v0.5.0
|
|
212
|
+
[0.4.0]: https://github.com/etro-js/etro/compare/v0.3.0...v0.4.0
|
|
213
|
+
[0.3.0]: https://github.com/etro-js/etro/compare/v0.2.0...v0.3.0
|
|
214
|
+
[0.2.0]: https://github.com/etro-js/etro/compare/v0.1.0...v0.2.0
|
package/CONTRIBUTING.md
CHANGED
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Etro is a typescript framework for programmatically editing videos. Similar
|
|
11
11
|
to GUI-based video-editing software, it lets you layer media and other
|
|
12
12
|
content on a timeline. Audio, image, video and other tracks are supported,
|
|
13
|
-
along with powerful video
|
|
13
|
+
along with powerful video effects for existing tracks. Being very flexible
|
|
14
14
|
and extendable, you can choose to only use the core components or define your
|
|
15
15
|
own.
|
|
16
16
|
|