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

@pushrocks/smartfeed

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

@pushrocks/smartfeed - npm Package Compare versions

Comparing version 1.0.7 to 1.0.9

1

dist_ts/smartfeed.classes.feed.d.ts

@@ -16,2 +16,3 @@ export interface IFeedOptions {

imageUrl: string;
content: string;
}

@@ -18,0 +19,0 @@ export declare class Feed {

10

dist_ts/smartfeed.classes.feed.js

@@ -35,3 +35,4 @@ "use strict";

copyright: `All rights reserved, ${this.options.company}`,
id: this.options.domain,
id: `https://${this.options.domain}`,
link: `https://${this.options.domain}`,
title: this.options.title,

@@ -52,4 +53,5 @@ author: {

date: new Date(itemArg.timestamp),
link: itemArg.url,
image: itemArg.imageUrl,
link: itemArg.url.replace(/&/gm, '&'),
image: itemArg.imageUrl.replace(/&/gm, '&'),
content: itemArg.content,
author: [{

@@ -73,2 +75,2 @@ name: itemArg.authorName

exports.Feed = Feed;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRmZWVkLmNsYXNzZXMuZmVlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL3NtYXJ0ZmVlZC5jbGFzc2VzLmZlZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDZEQUErQztBQW9CL0MsTUFBYSxJQUFJO0lBR2YsWUFBWSxVQUF3QjtRQURwQyxVQUFLLEdBQWdCLEVBQUUsQ0FBQztRQUV0QixJQUFJLENBQUMsT0FBTyxHQUFHLFVBQVUsQ0FBQztJQUM1QixDQUFDO0lBRU0sT0FBTyxDQUFDLE9BQWtCO1FBQy9CLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLE9BQU8s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0FBTyxFQUFFLE9BQU8sQ0FBQyxPQUFPO2dCQUN4QixNQUFNLEVBQUUsQ0FBQzt3QkFDUCxJQUFJLEVBQUUsT0FBTyxDQUFDLFVBQVU7cUJBQ3pCLENBQUM7YUFDSCxDQUFDLENBQUM7U0FDSjtRQUNELE9BQU8sSUFBSSxDQUFDO0lBQ2QsQ0FBQztJQUVNLG1CQUFtQjtRQUN4QixPQUFPLElBQUksQ0FBQyxhQUFhLEVBQUUsQ0FBQyxJQUFJLEVBQUUsQ0FBQztJQUNyQyxDQUFDO0lBRU0sY0FBYztRQUNuQixPQUFPLElBQUksQ0FBQyxhQUFhLEVBQUUsQ0FBQyxLQUFLLEVBQUUsQ0FBQztJQUN0QyxDQUFDO0lBRU0sY0FBYztRQUNuQixPQUFPLElBQUksQ0FBQyxhQUFhLEVBQUUsQ0FBQyxLQUFLLEVBQUUsQ0FBQztJQUN0QyxDQUFDO0NBQ0Y7QUF0REQsb0JBc0RDIn0=

@@ -41,3 +41,4 @@ "use strict";

title: article.title,
url: article.url
url: article.url,
content: article.content
});

@@ -68,2 +69,2 @@ }

exports.Smartfeed = Smartfeed;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRmZWVkLmNsYXNzZXMuc21hcnRmZWVkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvc21hcnRmZWVkLmNsYXNzZXMuc21hcnRmZWVkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxxRUFBOEQ7QUFDOUQsNkRBQStDO0FBRS9DLE1BQWEsU0FBUztJQUNiLFVBQVUsQ0FBQyxVQUF3QjtRQUN4QyxNQUFNLFdBQVcsR0FBRyxJQUFJLDZCQUFJLENBQUMsVUFBVSxDQUFDLENBQUM7UUFDekMsT0FBTyxXQUFXLENBQUM7SUFDckIsQ0FBQztJQUVEOztPQU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7Z0JBQ3BCLEdBQUcsRUFBRSxPQUFPLENBQUMsR0FBRztnQkFDaEIsT0FBTyxFQUFFLE9BQU8sQ0FBQyxPQUFPO2FBQ3pCLENBQUMsQ0FBQztTQUNKO1FBQ0QsTUFBTSxhQUFhLEdBQUcsSUFBSSxDQUFDLG1CQUFtQixFQUFFLENBQUM7UUFDakQsT0FBTyxhQUFhLENBQUM7SUFDdkIsQ0FBQztJQUVEOzs7T0FHRztJQUNJLEtBQUssQ0FBQyxtQkFBbUIsQ0FBQyxhQUFxQjtRQUNwRCxNQUFNLE1BQU0sR0FBRyxJQUFJLE9BQU8sQ0FBQyxTQUFTLEVBQUUsQ0FBQztRQUN2QyxNQUFNLGFBQWEsR0FBRyxNQUFNLE1BQU0sQ0FBQyxXQUFXLENBQUMsYUFBYSxDQUFDLENBQUM7UUFDOUQsT0FBTyxhQUFhLENBQUM7SUFDdkIsQ0FBQztJQUVEOzs7T0FHRztJQUNJLEtBQUssQ0FBQyxnQkFBZ0IsQ0FBQyxNQUFjO1FBQzFDLE1BQU0sTUFBTSxHQUFHLElBQUksT0FBTyxDQUFDLFNBQVMsRUFBRSxDQUFDO1FBQ3ZDLE1BQU0sYUFBYSxHQUFHLE1BQU0sTUFBTSxDQUFDLFFBQVEsQ0FBQyxNQUFNLENBQUMsQ0FBQztRQUNwRCxPQUFPLGFBQWEsQ0FBQztJQUN2QixDQUFDO0NBQ0Y7QUE1Q0QsOEJBNENDIn0=
{
"name": "@pushrocks/smartfeed",
"version": "1.0.7",
"version": "1.0.9",
"private": false,

@@ -5,0 +5,0 @@ "description": "create and parse feeds",

@@ -19,2 +19,3 @@ import * as plugins from './smartfeed.plugins';

imageUrl: string;
content: string;
}

@@ -36,3 +37,4 @@

copyright: `All rights reserved, ${this.options.company}`,
id: this.options.domain,
id: `https://${this.options.domain}`,
link: `https://${this.options.domain}`,
title: this.options.title,

@@ -54,4 +56,5 @@ author: {

date: new Date(itemArg.timestamp),
link: itemArg.url,
image: itemArg.imageUrl,
link: itemArg.url.replace(/&/gm, '&'),
image: itemArg.imageUrl.replace(/&/gm, '&'),
content: itemArg.content,
author: [{

@@ -58,0 +61,0 @@ name: itemArg.authorName

@@ -21,3 +21,4 @@ import { Feed, IFeedOptions } from './smartfeed.classes.feed';

title: article.title,
url: article.url
url: article.url,
content: article.content
});

@@ -24,0 +25,0 @@ }

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