Updates transitive dependencies
Fixes zod vulnerability
> Zod version 3.22.2 allows an attacker to perform a denial of service while validating emails.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This fixes the issue with rendering code blocks without a blank line
between text and the start of a codeblock that starts with a `$`
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
- prettier assumes now that we want to ignore files listed in .gitignore
by default
- trailingComma: all is now the default value
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
Based on a new addition to marked, this commits replaces the imported
marked namespaces with a Marked class, that doesn't change when
`marked.use` introduces new options or extensions.
Also changes the naming slighty to use `markdown` as module, so it
sounds more generic.
Reference: https://github.com/markedjs/marked/pull/2831
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
* We remove all styling related lints and use `eslint-config-prettier`.
There’s no need to bother developers with styling lints because
Prettier already takes care of that. (This is the [recommended
integration with Prettier][1])
* We use the “warning” level for lints that are code style related. This
allows developers to distinguish issues that need to be fixed now
(like type errors) and issues that can be fixed later (like style
errors). We do enforce all lints on CI by settings
`--max-warnings=0`.
[1]: https://prettier.io/docs/en/integrating-with-linters.html
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
Disables some of the deprecated options to avoid the console warnings.
Removes obfuscation of plain-text emails.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
Also moves the HASH_ROUTING env variable from being modified inside the
hashRouter.spec.ts into the webserver config in the
playwright.config.ipfs.ts
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
Instead of letting `starry-night` fetch the `vscode-oniguruma` WASM, we
fetch it from the `node_modules` folder and do the same in the e2e
tests.
For this to work we need to update `starry-night` to version `1.5.0`
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
It's not working with our current seed nodes and is confusing to users.
It also prevents us from upgrading transitive dependencies.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
Includes the move from the `svelte-preprocess` package for preprocessing
to `@sveltejs/vite-plugin-svelte` which allows us to use Vite also for
preprocessing.
Also had to remove the `vite-plugin-rewrite-all` again since they don't
support vite@4. So I wrote the plugin myself and without the dependecies
used by `vite-plugin-rewrite-all`.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
Playwright is more flexible and has better developer experience than Cypress.
We add end to end tests covering:
- project source browsing
- tree view
- commit list view
- commit view
- routing
- hash based
- history API based
- clipboard copy paste functionality
- seed view
- project search
- landing page view
- settings
Co-authored-by: Sebastian Martinez <me@sebastinez.dev>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>