![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
dejavu-optimizer
Advanced tools
The dejavu
optimizer analyzes your code, making dejavu usages faster.
Benchmarks: jsperf
$super()
, $self
and $static
usage$locked
and $member()
because they are not used in the loose versionThere's a simple nodejs
script located in the bin
folder.
If you are optimizing your code for nodejs
then pass the --closure
option. This will boost the performance when running code in v8.
Please look at the jsperf results to see the difference in the different browsers.
Example usage:
node optimizer < file_in.js > file_out.js
node optimizer --closure < file_in.js > file_out.closure.js
To use the optimizer
programatically, please check bin/optimizer
for an example.
dejavu
comes with an automaton
and grunt
task.
Sample usage of automaton
:
var dejavuOptimizer = require('dejavu/tasks/optimizer.autofile');
module.exports = function (task) {
task.do(dejavuOptimizer, {
description: 'Optimize myfile',
options: {
closure: true, // defaults to false
files: {
'src/myfile.js': 'dst/myfile.opt.js'
}
}
});
}
Sample usage of grunt
:
grunt.loadNpmTasks('dejavu');
grunt.initConfig({
dejavuopt: {
sometarget: {
closure: true, // defaults to false
files: {
'dst/myfile.opt.js': 'src/myfile.js'
}
}
}
});
Released under the MIT License.
0.4.2 - 2014-01-24
$super
references not being replaced correctly.FAQs
The dejavu optimizer
We found that dejavu-optimizer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.