Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

w3capi

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

w3capi - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

10

index.js

@@ -100,3 +100,3 @@

this.type = "list";
this .linkKey = it;
this.linkKey = it;
return this;

@@ -180,2 +180,7 @@ };

subSteps(SpecificationCtx, ["superseded", "supersedes", "versions"]);
SpecificationCtx.prototype.latest = function () {
this.steps.push("versions");
this.steps.push("latest");
return this;
};

@@ -191,3 +196,4 @@ // Version-specific Ctx

// w3c.specification("SVG").superseded().fetch()
// w3c.specification("SVG").supersedes.fetch()
// w3c.specification("SVG").supersedes().fetch()
// w3c.specification("SVG").latest().fetch()
// w3c.specification("SVG").versions().fetch()

@@ -194,0 +200,0 @@ // w3c.specification("SVG").version("19991203").fetch()

2

package.json
{
"name": "w3capi",
"version": "0.3.0",
"version": "0.3.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": "https://github.com/darobin/w3capi.git",

@@ -82,2 +82,3 @@

w3c.specification("SVG").version("19991203").next().fetch()
w3c.specification("SVG11").latest().fetch()
w3c.specification("SVG").superseded().fetch()

@@ -90,3 +91,4 @@ w3c.specification("SVG11").supersedes().fetch()

it), as well as which versions were the previous or next. You can know which specification
supersedes or was superseded by which other.
supersedes or was superseded by which other. You can use `latest()` to get the latest version
without having to list them.

@@ -93,0 +95,0 @@ ### Groups

@@ -106,2 +106,5 @@

});
it("have latest", function (done) {
w3c.specification("SVG11").latest().fetch(itemChecker(done, "date", "2011-08-16"));
});
});

@@ -108,0 +111,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc