Commit Graph

21 Commits

Author SHA1 Message Date
Chris Midgley cf7b6b2515
web: Don't include query parameters in downloaded SWF name (#6368)
* fix: don't include query parameters in downloaded SWF name

* refactor: store swfUrl as URL
2022-02-28 22:27:56 +02:00
relrelb 3f8f117fd3 web: Convert .eslintrc files from JSON to YAML
YAML is shorter, more modern, readable, and flexible than JSON.
In other words, YAML >>> JSON.

Auto-converted using [`yq`](https://github.com/kislyuk/yq).
2022-01-12 20:10:00 -08: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 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
Chris Midgley 55685b0a2d lint: fix prettier errors 2021-06-20 02:21:17 -07:00
relrelb d3a006f62a web: Cleanup JSON files
Change indentation to 4 spaces and put newline at EOF.
2021-02-19 16:28:09 -08:00
Nathan Adams 8fab9e25b1 web: Rename VersionRange.from_requirement_string to
VersionRange.fromRequirementString
2020-11-24 16:36:33 -08:00
Nathan Adams 376aeef1af web: Rename VersionRange.satisfied_by to VersionRange.satisfiedBy 2020-11-24 16:36:33 -08:00
Nathan Adams a0817e48b0 web: Rename Version.is_stable_or_compatible_prerelease to
Version.isStableOrCompatiblePrerelease
2020-11-24 16:36:33 -08:00
Nathan Adams 6952197004 web: Rename Version.is_equal to Version.isEqual 2020-11-24 16:36:33 -08:00
Nathan Adams f3efc5c80a web: Rename Version.has_precedence_over to Version.hasPrecedenceOver 2020-11-24 16:36:33 -08:00
Nathan Adams ce6288fda8 web: Rename Version.is_compatible_with to Version.isCompatibleWith 2020-11-24 16:36:33 -08:00
Nathan Adams d2e6ae50a9 web: Rename Version.from_semver to Version.fromSemver 2020-11-24 16:36:33 -08:00
Nathan Adams 022881f9c6 web: Fix up documentation in Version, resolved warnings 2020-11-24 16:36:33 -08:00
Nathan Adams 7701ef9c26 web: Make tests in core use typescript 2020-11-24 16:36:33 -08:00
Nathan Adams 5ff7168fe9 web: Switched core package from javascript to typescript 2020-11-24 16:36:33 -08:00
Nathan Adams 34927583be web: Made VersionRange actually work, and add tests for it 2020-05-23 10:35:53 -07:00
Nathan Adams d1bb3c4e28 web: Array.flat doesn't exist in node10 2020-05-19 11:42:56 +02:00
Nathan Adams b0b54b59f9 web: Avoid any issues with parseInt("0...") 2020-05-19 11:42:56 +02:00
Nathan Adams bd6ed0b234 web: Add initial tests to core package 2020-05-19 11:42:55 +02:00