
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
fin-hypergrid-event-logger
Advanced tools
Hypegrid starlog plug-in
Adds an event logger to your Hypergrid application for debugging purposes.
var Hypergrid = require('fin-hypergrid');
var eventLoggerPlugin = require('fin-hypergrid-event-logger')
// Shared plugin: Install on the prototype:
Hypergrid.prototype.installPlugins(eventLoggerPlugin);
// The plugin is now available to all existing and new grid instances
// Instance plugin: Install on the instance (available to this instance only):
var grid = new Hypergrid;
grid.installPlugins(eventLoggerPlugin);
// or in one step:
var grid = new Hypergrid({ plugins: eventLoggerPlugin });
NOTE: In actual practice you would want to wait for the DOM to finish loading before instantiating a grid.
myGrid.logStart(); // event signals are now being logged (to the console by default)
...
myGrid.logStop(); // events are no longer logged
Adds logStart()
and logStop()
methods to Hypergrid.prototype
similar to the starlog
methods of the same names except that:
StarLog
constructor is called automatically when this logStart
is called with a starlog options object.logStart
adds some default option values directing starlog to:
fin-tick
event stringThe default search pattern looks for calls to dispatchEvent
and CustomEvent
.
The search currently yields 29 events.
Of these, 18 have custom listeners that log specific information; the rest use the default listener that logs only the event name.
methodPrefix
is the only installation option.
It overrides the default method name prefix (log
).
Hypergrid.prototype.installPlugins([eventLoggerPlugin, 'starlog_']);
The above installs the methods starlog_start()
and starlog_stop()
instead of the default logStart()
and logStop()
.
See the Loading Modules wiki.
FAQs
Hypegrid starlog plug-in
We found that fin-hypergrid-event-logger 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.