Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
cla6-hidden
Advanced tools
This is an addon plugin for Cla6.js class system library. It provides the ability to hide some of the instance's properties and therefore make some of your api's logic private without exposing it. Although originally designed for use with Node.js and installable via npm install cla6-hidden
, it can also be used directly in the browser.
Cla6 Hidden is also installable via:
bower install cla6-hidden
var Klass = Cla6('Klass', {
constructor: function() {
this._hidden = 'hidden';
},
get hidden() {
return this._hidden;
}
});
var obj = new Klass();
console.log(obj.hidden); // hidden
console.log(obj._hidden); // undefined
You may also define hidden properties on the prototype. Don't worry, Cla6-Hidden also knows how to handle the inheritance process:
var Parent = Cla6('Parent', {
_foo: 'parent',
_bar: 'parent'
});
var Child = Cla6('Child').extend(Parent, {
_bar: 'child',
log: function() {
console.log(this._foo); // parent
console.log(this._bar); // child
}
});
obj = new Child();
obj.log();
var Cla6 = require('cla6');
var Cla6Hidden = require('cla6-hidden');
Cla6.use(Cla6Hidden);
The source is available for download from
GitHub.
Alternatively, you can install using Node Package Manager (npm
):
npm install cla6-hidden
FAQs
Hidden plugin for Cla6.js
The npm package cla6-hidden receives a total of 1 weekly downloads. As such, cla6-hidden popularity was classified as not popular.
We found that cla6-hidden 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.