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

feed

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feed - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

lib/atom1.js.map

1

lib/atom1.js

@@ -123,1 +123,2 @@ "use strict";

};
//# sourceMappingURL=atom1.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.generator = "https://github.com/jpmonette/feed";
//# sourceMappingURL=index.js.map

@@ -35,1 +35,2 @@ "use strict";

exports.Feed = Feed;
//# sourceMappingURL=feed.js.map

3

lib/json.js

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

// but since we only take a single type, we'll assume HTML
html_content: item.content
content_html: item.content
};

@@ -83,1 +83,2 @@ if (item.link) {

});
//# sourceMappingURL=json.js.map

@@ -129,1 +129,2 @@ "use strict";

});
//# sourceMappingURL=rss2.js.map
"use strict";
//# sourceMappingURL=index.js.map
{
"name": "feed",
"version": "2.0.1",
"version": "2.0.2",
"description": "Feed is a RSS, Atom and JSON feed generator for Node.js, making content syndication simple and intuitive!",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/jpmonette",

@@ -105,2 +105,20 @@ <p align="center">

## Migrating from `< 3.0.0`
If you are migrating from a version older than `3.0.0`, be sure to update your import as we migrated to ES6 named imports.
If your environment supports the ES6 module syntax, you can `import` as described above:
```ts
import { Feed } from 'feed';
```
Otherwise, you can stick with `require()`:
```diff
- const Feed = require('feed');
+ const Feed = require('feed').Feed;
```
## More Information

@@ -107,0 +125,0 @@

@@ -45,3 +45,3 @@ /// <reference path="types/index.ts" />

// but since we only take a single type, we'll assume HTML
html_content: item.content
content_html: item.content
};

@@ -48,0 +48,0 @@ if (item.link) {

@@ -11,2 +11,3 @@ {

"allowUnusedLabels": false,
"sourceMap": true,
"baseUrl": ".",

@@ -13,0 +14,0 @@ "target": "es5"

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