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

jsonfeed-to-atom

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonfeed-to-atom - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

3

CHANGELOG.md

@@ -5,2 +5,5 @@ # jsonfeed-to-atom Change Log

## 1.1.2 - 2018-05-25
* Fix enclosure tags [#3](https://github.com/bcomnes/jsonfeed-to-atom/pull/3) Thanks [@xriss](https://github.com/xriss)
## 1.1.1 - 2018-04-15

@@ -7,0 +10,0 @@ * Fix tests during release stage

6

jsonfeed-to-atom-object.js

@@ -126,5 +126,5 @@ const packageInfo = require('./package.json')

const enclosure = { '@rel': 'enclosure' }
enclosure.type = attachment.mime_type
enclosure.href = attachment.url
if (attachment.size_in_bytes) enclosure.length = attachment.size_in_bytes
enclosure['@type'] = attachment.mime_type
enclosure['@href'] = attachment.url
if (attachment.size_in_bytes) enclosure['@length'] = attachment.size_in_bytes
entry.link.push(enclosure)

@@ -131,0 +131,0 @@ })

{
"name": "jsonfeed-to-atom",
"description": "Convert a JSON feed to an atom feed",
"version": "1.1.1",
"version": "1.1.2",
"author": "Bret Comnes",

@@ -6,0 +6,0 @@ "bugs": {

@@ -34,3 +34,3 @@ {

"@uri": "https://github.com/bcomnes/jsonfeed-to-atom#readme",
"@version": "1.1.1",
"@version": "1.1.2",
"#text": "jsonfeed-to-atom"

@@ -112,10 +112,10 @@ },

"@rel": "enclosure",
"type": "audio/mpeg",
"href": "https://example.com/attatchments.mp4"
"@type": "audio/mpeg",
"@href": "https://example.com/attatchments.mp4"
},
{
"@rel": "enclosure",
"type": "audio/mpeg",
"href": "https://example.com/attatchments-45.mp4",
"length": 1234
"@type": "audio/mpeg",
"@href": "https://example.com/attatchments-45.mp4",
"@length": 1234
}

@@ -122,0 +122,0 @@ ]

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