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
10
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.4-beta.0 to 1.0.4-beta.1

36

build/index.js

@@ -1,2 +0,34 @@

module.exports={resolve:function(e){return function(e){void 0===e&&(e={});var t=e["arc-site"]||"Arc Site is not defined";return"/content/v4/search/published?q=canonical_website:"+t+"+AND+credits.by.slug:"+e.authorSlug+"&size="+e.feedSize+"&from="+e.feedOffset+"&sort=display_date:desc&website="+t}(e)},schemaName:"ans-feed",params:{authorSlug:"text",feedSize:"number",feedOffset:"number"}};
//# sourceMappingURL=index.js.map
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var schemaName = "ans-feed";
var params = {
authorSlug: "text",
feedSize: "number",
feedOffset: "number"
};
var pattern = function pattern() {
var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var website = key["arc-site"] || "Arc Site is not defined";
var authorSlug = key.authorSlug,
feedOffset = key.feedOffset,
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);
};
var resolve = function resolve(key) {
return pattern(key);
};
var source = {
resolve: resolve,
schemaName: schemaName,
params: params
};
var _default = source;
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVua25vd24iXSwibmFtZXMiOlsic2NoZW1hTmFtZSIsInBhcmFtcyIsImF1dGhvclNsdWciLCJmZWVkU2l6ZSIsImZlZWRPZmZzZXQiLCJwYXR0ZXJuIiwia2V5Iiwid2Vic2l0ZSIsInJlc29sdmUiL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TbHVnOiBcInRleHRcIixcbiAgZmVlZFNpemU6IFwibnVtYmVyXCIsXG4gIGZlZWRPZmZzZXQ6IFwibnVtYmVyXCJcbn07XG5cbmNvbnN0IHBhdHRlcm4gPSAoa2V5ID0ge30pID0+IHtcbiAgY29uc3Qgd2Vic2l0ZSA9IGtleVtcImFyYy1zaXRlXCJdIHx8IFwiQXJjIFNpdGUgaXMgbm90IGRlZmluZWRcIjtcbiAgY29uc3QgeyBhdXRob3JTbHVnLCBmZWVkT2Zmc2V0LCBmZWVkU2l6ZSB9ID0ga2V5O1xuXG4gIHJldHVybiBgL2NvbnRlbnQvdjQvc2VhcmNoL3B1Ymxpc2hlZD9xPWNhbm9uaWNhbF93ZWJzaXRlOiR7d2Vic2l0ZX0rQU5EK2NyZWRpdHMuYnkuc2x1Zzoke2F1dGhvclNsdWd9JnNpemU9JHtmZWVkU2l6ZX0mZnJvbT0ke2ZlZWRPZmZzZXR9JnNvcnQ9ZGlzcGxheV9kYXRlOmRlc2Mmd2Vic2l0ZT0ke3dlYnNpdGV9YDtcbn07XG5cbmNvbnN0IHJlc29sdmUgPSBrZXkgPT4ge1xuICByZXR1cm4gcGF0dGVybihrZXkpO1xufTtcblxuY29uc3Qgc291cmNlID0ge1xuICByZXNvbHZlLFxuICBzY2hlbWFOYW1lLFxuICBwYXJhbXNcbn07XG5cbmV4cG9ydCBkZWZhdWx0IHNvdXJjZTtcbiJdfQ==

12

package.json
{
"name": "@arc-core-components/content-source_story-feed_author-v4",
"version": "1.0.4-beta.0",
"version": "1.0.4-beta.1",
"description": "Content source that returns a feed of stories by a particular author.",
"main": "build/index.js",
"module": "build/index.es.js",
"repository": {

@@ -11,6 +10,2 @@ "type": "git",

},
"scripts": {
"dev": "microbundle --watch",
"build": "microbundle"
},
"author": "Matt Nelson",

@@ -22,3 +17,6 @@ "license": "ISC",

"xo": false,
"gitHead": "cf4a83f0d9bb61a6d9ee889fc71ca17c4199c4cd"
"gitHead": "3c219ad8f480288e517c56179a31f991111cfbe4",
"dependencies": {
"@babel/runtime": "^7.4.2"
}
}
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