Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
protoblast
Advanced tools
Extend native objects with helpful methods to speed up development, or leave the native objects alone and use bound methods.
$ npm install protoblast
For more information and API documentation, visit the Protoblast homepage.
You can use Protoblast in 2 ways.
This is the easiest way to use all the new methods & shims. Ideal for internal or big projects.
// Require protoblast and execute the returned function
require('protoblast')();
var arr = [5,9,3,4,1];
// New native methods, like flashsort, will have been added
arr.flashsort();
// [1, 3, 4, 5, 9]
You can also get an object that has pre-bound all the new methods, without modifying anything.
It's more verbose, but should be the way to use Protoblast in redistributable modules.
// Require protoblast and execute the returned function with `false` as parameter
var Blast = require('protoblast')(false);
var arr = [5,9,3,4,1];
// Native objects will have been left alone, they can be accessed like this:
Blast.Bound.Array.flashsort(arr);
// [1, 3, 4, 5, 9]
0.3.10 (2017-09-07)
String#fowler()
checksum generationString#numberHash()
, it's now slower than String#checksum()
but still faster than String#fowler()
Object.checksum
will now split strings in 2 for checksuming, this decreases collisions without affecting speedObject.checksum
on objects, arrays & regexps.String#checkum
now accepts a start
and end
parameterInformer#queryListeners(type, mark_as_seen)
will now honor the mark_as_seen
parameterInformer#hasBeenSeen
should now also work when no listeners have been attachedInformer#unsee
will now also accept filter objectsFunctionQueue#force(fnc, args, options)
which will forcefully run the given function on the queue, even if the limit is reached.FunctionQueue
run more asynchronous when add
-ing of force
-ing after it has already startedFAQs
Native object expansion library
The npm package protoblast receives a total of 263 weekly downloads. As such, protoblast popularity was classified as not popular.
We found that protoblast demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.