aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Template type improvements (#380)toasted-nutbread2023-12-19
| | | | | | | * Default templates to unknown * Default typescript templates to unknown * More template type updates
* Remove TemplateRendererProxy mock (#388)toasted-nutbread2023-12-19
|
* Make JSON.parse usage safer (#373)toasted-nutbread2023-12-19
| | | | | | | | | | | | | | | * Make JSON.parse usage safer * Fix any type * Add readResponseJson * Use readResponseJson * Additional updates * Rename files * Add types
* update JSDoc comments (#387)Cashew2023-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lesen-tan initial commit * update README.md * tidy up code * opt for Map<K, V> instead of Object * Document dev/* * add docs for deinflector.js * update deinflector example * Annotate * Revert "Merge branch 'development' of https://github.com/Scrub1492/lesen-tan into development" This reverts commit b92348f702bc031b36f24462adfa940d17f9ecdd, reversing changes made to 3255e6d963281af3533dcf1e893df39032d29fec. * Lint error fix * Lint error fix * update JSDoc comments --------- Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
* Remove TranslatorVM (#389)toasted-nutbread2023-12-19
|
* change *file to *filePath in function parameters (#385)Cashew2023-12-19
| | | | | | | | | * change *file to *filePath * fix merge issues --------- Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
* IIFE updates (#384)toasted-nutbread2023-12-19
| | | | | | | * Remove most IIFEs * Move IIFEs into functions * Don't await background-main
* Remove dynamic-loader scripts, simplify script loading (#383)toasted-nutbread2023-12-19
|
* Refactor bulk delete function (#382)toasted-nutbread2023-12-19
|
* Fix welcome page not having certain elements (#379)toasted-nutbread2023-12-19
|
* Test fixtures (#371)toasted-nutbread2023-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Move and rename document-test.js file * Only load HTML file content once * Move testDoc construction * Add createTranslatorTest * Add utilities * Update translator tests * Rename * Refactor anki note builder tests * Refactor * Use internal expect * Updates * Remove actual results * Remove concurrent
* capture all terminators and quotes in the sentence (#360)Cashew2023-12-19
| | | | | | | | | | | | | * capture all terminators and quotes in the sentence * fix negative position, add documents and tests * fix comments giving wrong semantics * add test case coverage * remove cursor namespace for possible performance penalties * while loop optimization
* Add some JSDoc annotations to describe code functionality. (#355)Cashew2023-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | * lesen-tan initial commit * update README.md * tidy up code * opt for Map<K, V> instead of Object * Document dev/* * add docs for deinflector.js * update deinflector example * Annotate * Revert "Merge branch 'development' of https://github.com/Scrub1492/lesen-tan into development" This reverts commit b92348f702bc031b36f24462adfa940d17f9ecdd, reversing changes made to 3255e6d963281af3533dcf1e893df39032d29fec. * Lint error fix * Lint error fix
* Replace occurrences of よみちゃん with よみたん (#377)Cashew2023-12-18
|
* Fix Non JP Scanning Option for Kanji Dictionaries (#372)marv2023-12-18
| | | | | | | * Fix non JP scanning option for kanji dictionaries * Fix trailing comma * Add removeNonJapaneseCharacters to test inputs
* Mock updates (#370)toasted-nutbread2023-12-18
| | | | | | | | | * Move DictionaryImporterMediaLoader mock * Move TemplateRendererProxy mock * Simplify mock * Remove ignore rule because it seems unused
* Update eslint spacing rules (#366)toasted-nutbread2023-12-17
| | | | | | | | | * Add space-infix-ops rule * Add no-multi-spaces --------- Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
* Fix vitest type (#365)toasted-nutbread2023-12-17
|
* Safer query selector (#364)toasted-nutbread2023-12-17
| | | | | | | | | | | | | | | | | | | | | * Add querySelectorNotNull helper function * Use querySelectorNotNull * Updates * Update settings * Remove unused * Update * Update function calls * More updates * Update types * Remove obsolete code
* Fix DOM tests (#363)toasted-nutbread2023-12-17
| | | | | | | | | | | | | * Only apply eslint rules to .test.js files * Fix tests * Use built-in environment * Fix tests * Optional file name * Remove environment
* Update VSCode settings (#362)toasted-nutbread2023-12-16
|
* Fix usage of any (*) type in DocumentUtil (#361)toasted-nutbread2023-12-16
|
* Add typescript checks to CI (#350)toasted-nutbread2023-12-15
| | | | | | | | | * Add typescript checks to CI * Actually save the CI file * Run build-libs before test-ts * Move build libs CI
* Fix issues in build-libs (#354)toasted-nutbread2023-12-11
|
* Resolve stylelint deprecations (#353)toasted-nutbread2023-12-11
| | | | | | | * Install stylelint-stylistic * Update rules * Alphabetize
* Change no-console to error, only for ext files (#352)toasted-nutbread2023-12-11
|
* Require typescript files to have the correct header (#351)toasted-nutbread2023-12-11
|
* Merge pull request #348 from themoeway/dependabot/npm_and_yarn/minor-80353b373cDarius Jahandarie2023-12-10
|\ | | | | | | Bump the minor group with 7 updates
| * Bump the minor group with 7 updatesdependabot[bot]2023-12-10
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps the minor group with 7 updates: | Package | From | To | | --- | --- | --- | | [@stylistic/eslint-plugin-ts](https://github.com/eslint-stylistic/eslint-stylistic/tree/HEAD/packages/eslint-plugin-ts) | `1.4.1` | `1.5.0` | | [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome) | `0.0.253` | `0.0.254` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.10.3` | `20.10.4` | | [esbuild](https://github.com/evanw/esbuild) | `0.19.8` | `0.19.9` | | [eslint-plugin-vitest](https://github.com/veritem/eslint-plugin-vitest) | `0.3.10` | `0.3.12` | | [html-validate](https://gitlab.com/html-validate/html-validate) | `8.7.3` | `8.7.4` | | [typescript](https://github.com/Microsoft/TypeScript) | `5.2.2` | `5.3.3` | Updates `@stylistic/eslint-plugin-ts` from 1.4.1 to 1.5.0 - [Release notes](https://github.com/eslint-stylistic/eslint-stylistic/releases) - [Commits](https://github.com/eslint-stylistic/eslint-stylistic/commits/v1.5.0/packages/eslint-plugin-ts) Updates `@types/chrome` from 0.0.253 to 0.0.254 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome) Updates `@types/node` from 20.10.3 to 20.10.4 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `esbuild` from 0.19.8 to 0.19.9 - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md) - [Commits](https://github.com/evanw/esbuild/compare/v0.19.8...v0.19.9) Updates `eslint-plugin-vitest` from 0.3.10 to 0.3.12 - [Release notes](https://github.com/veritem/eslint-plugin-vitest/releases) - [Commits](https://github.com/veritem/eslint-plugin-vitest/compare/v0.3.10...v0.3.12) Updates `html-validate` from 8.7.3 to 8.7.4 - [Release notes](https://gitlab.com/html-validate/html-validate/tags) - [Commits](https://gitlab.com/html-validate/html-validate/compare/v8.7.3...v8.7.4) Updates `typescript` from 5.2.2 to 5.3.3 - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.2.2...v5.3.3) --- updated-dependencies: - dependency-name: "@stylistic/eslint-plugin-ts" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: "@types/chrome" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: esbuild dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: eslint-plugin-vitest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: html-validate dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor ... Signed-off-by: dependabot[bot] <support@github.com>
* Merge pull request #337 from themoeway/dependabot/npm_and_yarn/jsdom-23.0.1Darius Jahandarie2023-12-10
|\ | | | | | | build(deps-dev): bump jsdom from 22.1.0 to 23.0.1
| * build(deps-dev): bump jsdom from 22.1.0 to 23.0.1dependabot[bot]2023-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [jsdom](https://github.com/jsdom/jsdom) from 22.1.0 to 23.0.1. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md) - [Commits](https://github.com/jsdom/jsdom/compare/22.1.0...23.0.1) --- updated-dependencies: - dependency-name: jsdom dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #346 from themoeway/stableDarius Jahandarie2023-12-09
|\ \ | | | | | | | | | Link to stable extension in Chrome Web Store and Firefox Addons in README.md
| * | Link to stable store entriesDarius Jahandarie2023-12-09
|/ /
* | Merge pull request #345 from themoeway/fix-publish-chromeDarius Jahandarie2023-12-08
|\ \ | | | | | | | | | Fix stable deploy on release triggers
| * | Fix stable deploy on release triggersDarius Jahandarie2023-12-08
|/ /
* | Merge pull request #344 from themoeway/update-for-stableDarius Jahandarie2023-12-08
|\ \ | |/ |/| | | Update stable CI/CD workflow and stable extension ID in preparation for release
| * Update stable CI/CD workflow and stable extension ID in preperation for releaseDarius Jahandarie2023-12-08
|/
* Merge pull request #339 from toasted-nutbread/type-annotationsDarius Jahandarie2023-12-06
|\ | | | | | | Type annotations
| * Update package locktoasted-nutbread2023-12-04
| |
| * Restore no-console warntoasted-nutbread2023-12-04
| |
| * Update how ts comments are handledtoasted-nutbread2023-12-04
| |
| * Adjust settingstoasted-nutbread2023-12-03
| |
| * Update importstoasted-nutbread2023-12-03
| |
| * Update configtoasted-nutbread2023-12-03
| |
| * Remove unused typestoasted-nutbread2023-12-03
| |
| * Fix some import orderingstoasted-nutbread2023-12-03
| |
| * Re-enable actions on savetoasted-nutbread2023-12-03
| |
| * Fix nametoasted-nutbread2023-11-30
| |
| * Update pathstoasted-nutbread2023-11-30
| |
| * Remove old commandtoasted-nutbread2023-11-29
| |