
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@pap-it/templates-form-element
Advanced tools
Atomic Type: templates
Version: Version: Version: 1.0.21
npm install @pap-it/templates-form-element
<script type="module" defer>
import "@pap-it/templates-form-element/wc"
</script>
<pap-form-element-template></pap-form-element-template>
import { FormElement } from "@pap-it/templates-form-element/react";
function Component() {
return (
<FormElement />
)
}
Development takes place within the src
folder. To add a new subcomponent, use the command npm run component:add
. This command updates the .env
file, creates a view folder, and adds a subfolder in the components
folder (creating it if it doesn't exist) inside src
with all the necessary files.
Styling is managed in the style.scss
file, which automatically generates a style.ts
file for use in the component.
To view the component, run npm start
. This command is equivalent to npm run start demo
and launches the development server for the demo folder located within the views
folder. This allows you to preview your component during development.
All assets required by the component, such as icons and images for translations, should be placed in the assets
folder. This folder will already include an icons
and translations
folder with an en.json
file for English translations. Use this structure to organize translations and make them easily accessible for other projects.
For assets used solely for display or demo purposes, create a public
folder under the relevant directory inside the views
folder. These assets are not included in the component package.
--prod
flag (npm run build -- --prod
) for a production build, which includes minification.views
directory must contain an index.html
file. Usage example: npm run start --name=<folder>
.--force
flag is used. Optional flags include --verbose
and --force
.--verbose
& --force
.FAQs
Atomic Type: templates
The npm package @pap-it/templates-form-element receives a total of 1 weekly downloads. As such, @pap-it/templates-form-element popularity was classified as not popular.
We found that @pap-it/templates-form-element demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.