Research
Security News
Malicious npm Package Typosquats react-login-page to Deploy Keylogger
Socket researchers unpack a typosquatting package with malicious code that logs keystrokes and exfiltrates sensitive data to a remote server.
@advanced-rest-client/arc-scroll-target-mixin
Advanced tools
Readme
Use the @anypoint-web-components/awc
module instead.
This mixin is a port of iron-overlay-behavior that works with LitElement.
ArcScrollTargetMixin
allows an element to respond to scroll events from a designated scroll target.
Elements that consume this mixin can override the _scrollHandler
method to add logic on the scroll event.
npm i @advanced-rest-client/arc-scroll-target-mixin
import { LitElement } from 'lit-element';
import { ArcScrollTargetMixin } from '@advanced-rest-client/arc-scroll-target-mixin/arc-scroll-target-mixin.js';
class ArcScrollTargetImpl extends ArcScrollTargetMixin(LitElement) {
static get properties() {
const top = super.properties || {};
const props = {
myProp: { type: String }
}
return Object.assign({}, top, props);
}
_scrollHandler(e) {
...
}
}
Note, You need to include properties from the mixin manually as simple class
extension overrides properties
.
npm run test
npm run test:sl
npm start
FAQs
Unknown package
We found that @advanced-rest-client/arc-scroll-target-mixin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Research
Security News
Socket researchers unpack a typosquatting package with malicious code that logs keystrokes and exfiltrates sensitive data to a remote server.
Security News
The JavaScript community has launched the e18e initiative to improve ecosystem performance by cleaning up dependency trees, speeding up critical parts of the ecosystem, and documenting lighter alternatives to established tools.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.