Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
auto-lit-tag-name-map
Advanced tools
Auto set TypeScript HTMLElementTagNameMap for lit-element.
auto-lit-tag-name-map has two modes:
declare global
not declared, HTMLElementTagNameMap
not declared, HTMLElementTagNameMap
declared but does not contain the right custom element tags, etc).declare global
declared in target file. In this case, it constructs a declare global
block with HTMLElementTagNameMap
inside and appends the block of code to the end of the target file.In both modes, auto-lit-tag-name-map will avoid rewriting files that look good. It's also recommended to use prettier (pass a prettier config file path via --prettier
CLI option) to format rewritten files.
Usage
$ npx auto-lit-tag-name-map@1 "<glob>" [options]
Inputs
<glob> Glob search patterns (always quote the glob to avoid misinterpretation by the shell).
Options
--prettier Prettier config file used to format the files to be rewritten.
--dry-run Do not rewrite any file, but show a list of files to be rewritten.
--safe-mode Enable safe mode, see repo README.md for details.
Examples
$ npx auto-lit-tag-name-map@1 "./src/components/**/*.ts" --safe-mode --prettier ./.prettierrc.js
FAQs
Auto set TypeScript HTMLElementTagNameMap for lit-element
The npm package auto-lit-tag-name-map receives a total of 20 weekly downloads. As such, auto-lit-tag-name-map popularity was classified as not popular.
We found that auto-lit-tag-name-map demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.