New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

activitystreams-xl

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

activitystreams-xl - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

{
"name": "activitystreams-xl",
"version": "1.0.2",
"version": "1.0.3",
"description": "ActivityStreams 1.0 & 2.0 parsing and translation",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -28,3 +28,3 @@ const ltx = require('ltx');

function entry2as2(el) {
const type = typeForIRI(getText(el, 'verb', ACTIVITYNS)) || getText(el, 'object-type', ACTIVITYNS) || 'Add';
const type = typeForIRI(getText(el, 'verb', ACTIVITYNS) || getText(el, 'object-type', ACTIVITYNS)) || 'Add';
const id = getText(el, 'id', ATOMNS);

@@ -31,0 +31,0 @@