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

@arc-core-components/content-source_story-feed_author-v4

Package Overview
Dependencies
Maintainers
11
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arc-core-components/content-source_story-feed_author-v4 - npm Package Compare versions

Comparing version 1.0.5-beta.1 to 1.0.5-beta.2

build/index.mjs

8

build/index.js

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

});
exports.default = void 0;
exports["default"] = void 0;
var schemaName = "ans-feed";

@@ -21,3 +21,3 @@ var params = {

feedSize = key.feedSize;
return "/content/v4/search/published?q=canonical_website:".concat(website, "+AND+credits.by.slug:").concat(authorSlug, "&size=").concat(feedSize, "&from=").concat(feedOffset, "&sort=display_date:desc&website=").concat(website);
return "/content/v4/search/published?q=credits.by.slug:".concat(authorSlug, "&size=").concat(feedSize, "&from=").concat(feedOffset, "&sort=display_date:desc&website=").concat(website);
};

@@ -35,3 +35,3 @@

var _default = source;
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVua25vd24iXSwibmFtZXMiOlsic2NoZW1hTmFtZSIsInBhcmFtcyIsImF1dGhvclNsdWciLCJmZWVkU2l6ZSIsImZlZWRPZmZzZXQiLCJwYXR0ZXJuIiwia2V5Iiwid2Vic2l0ZSIsInJlc29sdmUiLCJzb3VyY2UiXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLElBQU1BLFVBQVUsR0FBRyxVQUFuQjtBQUVBLElBQU1DLE1BQU0sR0FBRztBQUNiQyxFQUFBQSxVQUFVLEVBQUUsTUFEQztBQUViQyxFQUFBQSxRQUFRLEVBQUUsUUFGRztBQUdiQyxFQUFBQSxVQUFVLEVBQUU7QUFIQyxDQUFmOztBQU1BLElBQU1DLE9BQU8sR0FBRyxTQUFWQSxPQUFVLEdBQWM7QUFBQSxNQUFiQyxHQUFhLHVFQUFQL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ZzaXplPSR7ZmVlZFNpemV9JmZyb209JHtmZWVkT2Zmc2V0fSZzb3J0PWRpc3BsYXlfZGF0ZTpkZXNjJndlYnNpdGU9JHt3ZWJzaXRlfWA7XG59O1xuXG5jb25zdCByZXNvbHZlID0ga2V5ID0+IHtcbiAgcmV0dXJuIHBhdHRlcm4oa2V5KTtcbn07XG5cbmNvbnN0IHNvdXJjZSA9IHtcbiAgcmVzb2x2ZSxcbiAgc2NoZW1hTmFtZSxcbiAgcGFyYW1zXG59O1xuXG5leHBvcnQgZGVmYXVsdCBzb3VyY2U7XG4iXX0=
{
"name": "@arc-core-components/content-source_story-feed_author-v4",
"version": "1.0.5-beta.1",
"version": "1.0.5-beta.2",
"description": "Content source that returns a feed of stories by a particular author.",

@@ -16,3 +16,3 @@ "main": "build/index.js",

"xo": false,
"gitHead": "0d213faaa0515cd4e1a01b78c31cb7ea7e1064e0",
"gitHead": "43b8c3aeee197ef25d7fd68cb7c7e6f056aeeb83",
"dependencies": {

@@ -19,0 +19,0 @@ "@babel/runtime": "^7.4.3"

@@ -13,3 +13,3 @@ const schemaName = "ans-feed";

return `/content/v4/search/published?q=canonical_website:${website}+AND+credits.by.slug:${authorSlug}&size=${feedSize}&from=${feedOffset}&sort=display_date:desc&website=${website}`;
return `/content/v4/search/published?q=credits.by.slug:${authorSlug}&size=${feedSize}&from=${feedOffset}&sort=display_date:desc&website=${website}`;
};

@@ -16,0 +16,0 @@

@@ -15,3 +15,3 @@ import source from ".";

const website = key["arc-site"];
const endpoint = `/content/v4/search/published?q=canonical_website:${website}+AND+credits.by.slug:${authorSlug}&size=${feedSize}&from=${feedOffset}&sort=display_date:desc&website=${website}`;
const endpoint = `/content/v4/search/published?q=credits.by.slug:${authorSlug}&size=${feedSize}&from=${feedOffset}&sort=display_date:desc&website=${website}`;
expect(source.resolve(key)).toBe(endpoint);

@@ -22,5 +22,5 @@ });

const endpoint =
"/content/v4/search/published?q=canonical_website:Arc Site is not defined+AND+credits.by.slug:undefined&size=undefined&from=undefined&sort=display_date:desc&website=Arc Site is not defined";
"/content/v4/search/published?q=credits.by.slug:undefined&size=undefined&from=undefined&sort=display_date:desc&website=Arc Site is not defined";
expect(source.resolve()).toBe(endpoint);
});
});
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