![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
delta-differ
Advanced tools
Lets you pass partial information on one side and reconstruct deltas on the other side to send partial data.
This package helps sending the HTML content of a page to a remote origin repeatedly. It keeps internal state of the last HTMLs it saw and only sends the delta.
const differ = require('delta-differ');
const diffClient = new differ.DiffClient((ticket) => {
// this method can return a promise - presumably it would perform
// a remote call to another machine running the code - the
// other machine knows what the state is by the passed ticket parameter
// see the e2e tests for a full example
return differ.delta(ticket);
});
const pageHtml = diffClient.sync();
// some time later after html changes...
const newPageHtml = diffClient.sync();
The delta function accepts a second "getHtml" argument that's useful for getting something other than the page body's html.
Run the linter with npm run lint
Run unit tests with npm run unit
Run e2e tests with npm run e2e
Run the benchmarks with npm run bench
FAQs
Lets you pass partial information on one side and reconstruct deltas on the other side to send partial data.
The npm package delta-differ receives a total of 2 weekly downloads. As such, delta-differ popularity was classified as not popular.
We found that delta-differ 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.