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

stuft

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stuft - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

2

lib/examples/example3.js

@@ -10,5 +10,5 @@ "use strict";

// get a specific article
const articles = await __1.default({ id: 109912957 });
const articles = await __1.default({ id: 110047513 });
const article = articles[0];
console.log(article.id, article.title);
})();

@@ -36,3 +36,3 @@ "use strict";

function parseAggregateResponse(json) {
return json.stories.map((a) => new Article_1.default(a));
return json.stories.map((a) => Article_1.default.parse(a));
}

@@ -39,0 +39,0 @@ /**

{
"name": "stuft",
"version": "1.0.7",
"version": "1.0.8",
"description": "A news api.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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