relrelb
2e77895839
web: Remove unused esm dependency
...
It's no longer used since 43d0f7a527
.
2021-07-03 21:18:42 +03:00
relrelb
276e77d188
web: Cleanup tsconfig.json files
...
* Extend from the recommended config.
* Remove the exclude field that doesn't contribute to the file
inclusion (include alone should be enough).
* Remove the esModuleInterop field that shouldn't be necessary.
2021-07-03 21:18:42 +03:00
relrelb
558bbdb520
web: Cleanup .eslintrc.json files
...
* `eslint:recommended` is not needed in the each file as it already
appears in the root config.
* The default `@typescript-eslint/naming-convention` rule is preferred.
* Other formatting improvements.
2021-07-03 21:18:42 +03:00
relrelb
70938b849c
web: Remove babel-eslint dependency
...
Not only it's deprecated, it's also not needed because ESLint's
built-in "es2021" environment seems to support everything we use.
2021-07-03 21:18:42 +03:00
relrelb
0ece8bfb38
web: Fix build without wasm-opt on Windows
...
Since #3111 , `wasm-opt` became mandatory on GitHub Actions. But the
check whether we run on GitHub Actions is Bash-specific, and fails
on Windows. That means builds on Windows without `wasm-opt` always
fail.
As a workaround, use the trick from https://gist.github.com/prail/24acc95908e581722c0e9df5795180f6
to run the check only on Unix, and skip it on Windows:
```
echo ; [ \"$GITHUB_ACTIONS\" != true ] # > nul
```
On Unix, `echo` does nothing, the check runs, and the rest is
considered a comment.
On Windows, `echo` prints everything until the `> nul`, which
suppresses the print by redirection, making the whole statement
effectively a no-op.
2021-07-02 13:58:38 +03:00
relrelb
a09733ae4c
web: Fix mocha integration with ES modules
...
Use the workaround from https://github.com/mochajs/mocha-examples/tree/master/packages/typescript#es-modules
to help mocha run with ES modules.
The `cross-env` package is for both Unix and Windows systems support.
2021-07-02 12:38:16 +03:00
dependabot[bot]
1ac370d4bd
chore: Bump mocha from 8.4.0 to 9.0.1 in /web
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 8.4.0 to 9.0.1.
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v8.4.0...v9.0.1 )
---
updated-dependencies:
- dependency-name: mocha
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-02 12:38:16 +03:00
relrelb
43d0f7a527
web: Extract .mocharc.json
2021-07-02 12:38:16 +03:00
relrelb
d1bf06786a
web: Replace chai with Node.js built-in assert module
2021-07-02 12:38:16 +03:00
dependabot[bot]
f117c2d1b9
chore: Bump @wdio/cli from 7.7.3 to 7.7.4 in /web
...
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio ) from 7.7.3 to 7.7.4.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.7.3...v7.7.4 )
---
updated-dependencies:
- dependency-name: "@wdio/cli"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-02 12:36:58 +03:00
dependabot[bot]
0940e3f7cf
chore: Bump webpack from 5.39.1 to 5.41.1 in /web
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.39.1 to 5.41.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.39.1...v5.41.1 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-02 10:44:29 +03:00
dependabot[bot]
1fbda1716e
chore: Bump @typescript-eslint/parser from 4.27.0 to 4.28.1 in /web
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.27.0 to 4.28.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-02 10:44:14 +03:00
dependabot[bot]
6563670634
chore: Update eslint-plugin-jsdoc requirement in /web
...
Updates the requirements on [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) to permit the latest version.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v35.3.2...v35.4.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-02 00:19:49 +03:00
dependabot[bot]
4a145f71e2
chore: Bump style-loader from 2.0.0 to 3.0.0 in /web
...
Bumps [style-loader](https://github.com/webpack-contrib/style-loader ) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases )
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v2.0.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: style-loader
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 23:49:35 +03:00
dependabot[bot]
b166106bf7
chore: Bump @typescript-eslint/eslint-plugin in /web
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.27.0 to 4.28.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.1/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 23:33:50 +03:00
dependabot[bot]
8c7230fbc6
chore: Update typedoc requirement from ^0.21.0 to ^0.21.2 in /web
...
Updates the requirements on [typedoc](https://github.com/TypeStrong/TypeDoc ) to permit the latest version.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases )
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.21.0...v0.21.2 )
---
updated-dependencies:
- dependency-name: typedoc
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 22:25:24 +02:00
relrelb
6010fac5d4
web: Fix lint warnings
...
Using `npm run format`.
2021-06-23 15:04:54 +03:00
TÖRÖK Attila
a16bbcf9d0
web: Improve Hungarian translations
2021-06-20 18:45:59 -07:00
dependabot[bot]
ee69567fa5
chore: Update @types/chai requirement from ^4.2.18 to ^4.2.19 in /web
...
Updates the requirements on [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai ) to permit the latest version.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai )
---
updated-dependencies:
- dependency-name: "@types/chai"
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-20 02:55:04 -07:00
Chris Midgley
c2a7953943
dev: downgrade mocha to 8.4.0
...
Both ts-node 10 and mocha 9 include native ESM support, but I can't find
the combination of flags to get this to work.
2021-06-20 02:21:17 -07:00
Chris Midgley
55685b0a2d
lint: fix prettier errors
2021-06-20 02:21:17 -07:00
Chris Midgley
8927500489
dev: update all package.json devDependencies to latest
2021-06-20 02:21:17 -07:00
Daniel Jacobs
e6bc34cf1c
Add favicon to demo page ( fix #2910 )
2021-06-10 23:57:31 -07:00
Daniel Jacobs
b52b2a64da
web: Fix wasm compile error check
2021-06-07 11:30:17 -07:00
relrelb
dbeeb42098
web: Remove package-lock.json in core
2021-06-07 11:27:30 -07:00
Daniel Jacobs
bd2db4cca3
web: Add better error information about wasm CompileErrors
2021-06-05 10:15:34 -07:00
Chris Midgley
cb601255d9
web: improve typescript types
2021-06-05 10:12:59 -07:00
dependabot[bot]
6061e5c6cf
chore: Bump eslint-plugin-jsdoc from 33.3.0 to 35.1.2 in /web
...
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) from 33.3.0 to 35.1.2.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v33.3.0...v35.1.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-01 09:13:24 -07:00
Mike Welsh
22948789b8
web: Add MovieData.isActionScript3 and backgroundColor
2021-05-23 23:02:38 -07:00
sn-o-w
41c4ac2834
i18n: Add Romanian
2021-05-19 14:49:01 -07:00
Toad06
c5233ed172
web: Make `unmuteOverlay: "hidden"` resume audio without extra click
2021-05-16 23:34:11 -07:00
Toad06
0ee6b62517
web: Add a `none` value to completely disable the unmute overlay
2021-05-16 23:34:11 -07:00
Jmousy
27bf4c5ccc
i18n: Add Korean
2021-05-16 22:57:23 -07:00
Ahmet Akkoç
ae038ccbb1
i18n: Update Turkish localization
2021-05-13 10:30:14 -07:00
Adrian Wielgosik
c40d08e73a
web: Fix context menu checkmark in web builds
2021-05-10 00:19:29 -07:00
Pablo Rodríguez
3acfb5bc29
i18n: Minor improvement in Spanish translation
2021-05-09 10:57:27 -07:00
Ahmet Akkoç
d2bf69d5e6
i18n: Added Turkish localization
2021-05-08 03:14:23 -07:00
Adrian Wielgosik
8ca22c1f02
core: Support for custom context menu items on movie root
2021-05-02 15:28:00 -07:00
dependabot[bot]
f2130f3c58
chore: Bump eslint-plugin-jsdoc from 32.3.4 to 33.0.0 in /web
...
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) from 32.3.4 to 33.0.0.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v32.3.4...v33.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 12:56:12 -07:00
relrelb
f8a8b82c04
web: Cleanup ESLint configuration
...
* Cleanup .eslintrc.json files.
* Avoid unnecessary eslint-* directives.
2021-04-30 18:16:55 -07:00
dependabot[bot]
ea227d332a
chore: Bump @types/chrome from 0.0.135 to 0.0.136 in /web
...
Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome ) from 0.0.135 to 0.0.136.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-29 14:10:55 -07:00
Adrian Wielgosik
940cb8d2f7
web: Use unicode escapes for checkbox emojis
2021-04-28 13:58:04 -07:00
Adrian Wielgosik
a1737b5922
avm1: Respect menu.builtInItems, but on root clip only
2021-04-27 16:42:02 -07:00
Adrian Wielgosik
be40e2ce28
Fix formatting
2021-04-27 16:42:02 -07:00
Adrian Wielgosik
ce4d66e0f4
avm1: support Stage.showMenu
2021-04-27 16:42:02 -07:00
Adrian Wielgosik
41a126885c
web: Minimal context menu buttons for movie control
2021-04-27 16:42:02 -07:00
Mike Welsh
ff6adaf706
chore: Bump JS packages
2021-04-26 12:09:42 -07:00
relrelb
24dcad9546
extension: Avoid script injection in XML documents
...
document.xmlVersion doesn't exist in Firefox, so use another method
to detect XML documents, described in MDN:
https://developer.mozilla.org/en-US/docs/Web/API/Document/xmlVersion
2021-04-24 04:16:23 -07:00
Mike Welsh
10b014bf18
tests: Move utils.js out of polyfill folder
2021-04-23 16:58:24 -07:00
Mike Welsh
0c5951da52
tests: Add tests for Ruffle JS API
...
Add some basic scaffolding for testing the JS API. Adds a test for
`RufflePlayer.load` and `RufflePlayer.metadata`.
2021-04-23 16:58:24 -07:00