@arc-core-components/content-source_story-feed_author-v4
Advanced tools
Comparing version 1.0.4-beta.0 to 1.0.4-beta.1
@@ -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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVua25vd24iXSwibmFtZXMiOlsic2NoZW1hTmFtZSIsInBhcmFtcyIsImF1dGhvclNsdWciLCJmZWVkU2l6ZSIsImZlZWRPZmZzZXQiLCJwYXR0ZXJuIiwia2V5Iiwid2Vic2l0ZSIsInJlc29sdmUiLCJzb3VyY2UiXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLElBQU1BLFVBQV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lZWRPZmZzZXQ6IFwibnVtYmVyXCJcbn07XG5cbmNvbnN0IHBhdHRlcm4gPSAoa2V5ID0ge30pID0+IHtcbiAgY29uc3Qgd2Vic2l0ZSA9IGtleVtcImFyYy1zaXRlXCJdIHx8IFwiQXJjIFNpdGUgaXMgbm90IGRlZmluZWRcIjtcbiAgY29uc3QgeyBhdXRob3JTbHVnLCBmZWVkT2Zmc2V0LCBmZWVkU2l6ZSB9ID0ga2V5O1xuXG4gIHJldHVybiBgL2NvbnRlbnQvdjQvc2VhcmNoL3B1Ymxpc2hlZD9xPWNhbm9uaWNhbF93ZWJzaXRlOiR7d2Vic2l0ZX0rQU5EK2NyZWRpdHMuYnkuc2x1Zzoke2F1dGhvclNsdWd9JnNpemU9JHtmZWVkU2l6ZX0mZnJvbT0ke2ZlZWRPZmZzZXR9JnNvcnQ9ZGlzcGxheV9kYXRlOmRlc2Mmd2Vic2l0ZT0ke3dlYnNpdGV9YDtcbn07XG5cbmNvbnN0IHJlc29sdmUgPSBrZXkgPT4ge1xuICByZXR1cm4gcGF0dGVybihrZXkpO1xufTtcblxuY29uc3Qgc291cmNlID0ge1xuICByZXNvbHZlLFxuICBzY2hlbWFOYW1lLFxuICBwYXJhbXNcbn07XG5cbmV4cG9ydCBkZWZhdWx0IHNvdXJjZTtcbiJdfQ== |
{ | ||
"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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10932
77
1
10
+ Added@babel/runtime@^7.4.2
+ Added@babel/runtime@7.26.0(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)