New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

news-api-utils

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

news-api-utils - npm Package Compare versions

Comparing version 1.0.0 to 1.0.6

11

dist/index.d.ts

@@ -44,2 +44,11 @@ interface ParamsObjectType {

export { type ParamsObjectType, getAllNews, getSimilarStoriesByUUID, getTopStories, getTopStoriesParamsHelp };
type index_ParamsObjectType = ParamsObjectType;
declare const index_getAllNews: typeof getAllNews;
declare const index_getSimilarStoriesByUUID: typeof getSimilarStoriesByUUID;
declare const index_getTopStories: typeof getTopStories;
declare const index_getTopStoriesParamsHelp: typeof getTopStoriesParamsHelp;
declare namespace index {
export { type index_ParamsObjectType as ParamsObjectType, index_getAllNews as getAllNews, index_getSimilarStoriesByUUID as getSimilarStoriesByUUID, index_getTopStories as getTopStories, index_getTopStoriesParamsHelp as getTopStoriesParamsHelp };
}
export { index as thenewsapi };

15

dist/index.js

@@ -53,2 +53,9 @@ "use strict";

__export(src_exports, {
thenewsapi: () => thenewsapi_exports
});
module.exports = __toCommonJS(src_exports);
// src/thenewsapi/index.ts
var thenewsapi_exports = {};
__export(thenewsapi_exports, {
getAllNews: () => getAllNews,

@@ -59,5 +66,4 @@ getSimilarStoriesByUUID: () => getSimilarStoriesByUUID,

});
module.exports = __toCommonJS(src_exports);
// src/thenewsapi.ts
// src/thenewsapi/thenewsapi.ts
var import_axios = __toESM(require("axios"));

@@ -131,7 +137,4 @@ var baseUrl = "https://api.thenewsapi.com/v1/news/";

0 && (module.exports = {
getAllNews,
getSimilarStoriesByUUID,
getTopStories,
getTopStoriesParamsHelp
thenewsapi
});
//# sourceMappingURL=index.js.map
{
"name": "news-api-utils",
"version": "1.0.0",
"version": "1.0.6",
"description": "Implementation of news api utils in ts. ",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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