
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@internetarchive/democracys-library
Advanced tools
A web component that highlights Democracy's Library
Demo App: https://internetarchive.github.io/iaux-democracys-library/main/demo/
yarn install && yarn start
web-dev-serveryarn start
To run a local development server that serves the basic demo located in demo/index.html
To run the suite of Web Test Runner tests, run
yarn run test
To run the tests in watch mode (for <abbr title="test driven development">TDD</abbr>, for example), run
yarn run test:watch
To scan the project for linting errors, run
yarn run lint
You can lint with ESLint and Prettier individually as well
yarn run lint:eslint
yarn run lint:prettier
To automatically fix many linting errors, run
yarn run format
You can format using ESLint and Prettier individually as well
yarn run format:eslint
yarn run format:prettier
For most of the tools, the configuration is in the package.json to reduce the amount of files in your project.
If you customize the configuration a lot, you can consider moving them to individual files.
https://github.com/organizations/internetarchive/settings/installations/1268216https://app.codecov.io/gh/internetarchive/<repo-name>/settings/badgegh-pages static site generatorLet's start with creating a gh-pages branch.
This branch is where Github will look for the index.html to be hosted
git checkout --orphan gh-pages &&
git reset --hard &&
git commit --allow-empty -m "Initializing gh-pages branch" &&
git push origin gh-pages
Settings -> sidebar PagesSource drop-down, choose the branch where you want to host your Github Pages and the directory where it was hosted
gh-pages branch for this but you can use other branch name for thisindex.html that you want to host lives in
gh-pagesYou can update the current Github Page without pushing a commit by running:
yarn run ghpages:publish
This build script does the following, see package.json:
ghpages:publish
ghpages:prepare in the current branch you are currently working on
gh-pages branch
ghpages:prepare
ghpages:build that builds the project dependencies and generates vite build from itvite.config.ts related to thisghpages:generate
gh-pages npm package command to publish/upload the generated files from our vite build filesgh-pages branch that we setup earlierThe live demo app URL from current branch will look something like this:
https://<organization_name_or_username>.github.io/<repo_name>/<branch_name>/demo
Things that trigger automatic site generation:
a merge to main
gh-pages-main.ymlhttps://<organization_name_or_username>.github.io/<repo_name>/maina pull request against main
pr-preview.yml
https://<organization_name_or_username>.github.io/<repo_name>/pr/<pr-number>/demo
demo is another directory where the index.html lives inAnother thing to note: pushing a branch up alone will not trigger site creation.
Happy devving ^_^ 🥳 🎉
FAQs
A web component that highlights Democracy's Library
We found that @internetarchive/democracys-library demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 18 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.