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

xast-util-feed

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xast-util-feed - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

4

lib/atom.js

@@ -13,3 +13,3 @@ /**

import {x} from 'xastscript'
import bcp47 from 'bcp-47-normalize'
import {bcp47Normalize as normalize} from 'bcp-47-normalize'
import {toAuthor, toDate} from './util.js'

@@ -187,3 +187,3 @@

xmlns: 'http://www.w3.org/2005/Atom',
'xml:lang': meta.lang ? bcp47(meta.lang) : undefined
'xml:lang': meta.lang ? normalize(meta.lang) : undefined
},

@@ -190,0 +190,0 @@ items

@@ -13,3 +13,3 @@ /**

import {x} from 'xastscript'
import bcp47 from 'bcp-47-normalize'
import {bcp47Normalize as normalize} from 'bcp-47-normalize'
import {toAuthor, toDate} from './util.js'

@@ -75,3 +75,3 @@

if (meta.lang) {
lang = bcp47(meta.lang)
lang = normalize(meta.lang)
items.push(x('language', lang), x('dc:language', lang))

@@ -78,0 +78,0 @@ }

{
"name": "xast-util-feed",
"version": "1.1.0",
"version": "1.2.0",
"description": "xast utility to build feeds (rss, atom)",

@@ -39,3 +39,3 @@ "license": "MIT",

"@types/xast": "^1.0.0",
"bcp-47-normalize": "^1.0.0",
"bcp-47-normalize": "^2.0.0",
"unist-builder": "^3.0.0",

@@ -57,3 +57,3 @@ "xastscript": "^3.0.0"

"xast-util-to-xml": "^3.0.0",
"xo": "^0.39.0"
"xo": "^0.40.0"
},

@@ -89,3 +89,6 @@ "scripts": {

"no-var": "off",
"prefer-arrow-callback": "off"
"prefer-arrow-callback": "off",
"unicorn/explicit-length-check": "off",
"unicorn/numeric-separators-style": "off",
"unicorn/prefer-node-protocol": "off"
}

@@ -92,0 +95,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