Socket
Socket
Sign inDemoInstall

@mozilla/readability

Package Overview
Dependencies
Maintainers
14
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mozilla/readability - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

7

.eslintrc.js

@@ -0,1 +1,2 @@

/* eslint-env node */
"use strict";

@@ -7,2 +8,6 @@

},
"env": {
"es6": true,
"shared-node-browser": true,
},
"rules": {

@@ -150,3 +155,3 @@ // Braces only needed for multi-line arrow function blocks

// No using undeclared variables
// "no-undef": 2,
"no-undef": 2,

@@ -153,0 +158,0 @@ // Error on newline where a semicolon is needed

@@ -14,2 +14,5 @@ # Changelog

## [0.4.4] - 2023-03-31
- Fixed [undefined `li_count` variable breaking use of readability in Cloudflare workers](https://github.com/mozilla/readability/issues/791)
## [0.4.3] - 2023-03-22

@@ -16,0 +19,0 @@

@@ -0,1 +1,2 @@

/* eslint-env node */
var Readability = require("./Readability");

@@ -2,0 +3,0 @@ var isProbablyReaderable = require("./Readability-readerable");

9

JSDOMParser.js

@@ -1,2 +0,1 @@

/*eslint-env es6:false*/
/* This Source Code Form is subject to the terms of the Mozilla Public

@@ -877,6 +876,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this file,

error: function(m) {
if (typeof dump !== "undefined") {
if (typeof console !== "undefined") {
console.log("JSDOMParser error: " + m + "\n");
} else if (typeof dump !== "undefined") {
/* global dump */
dump("JSDOMParser error: " + m + "\n");
} else if (typeof console !== "undefined") {
console.log("JSDOMParser error: " + m + "\n");
}

@@ -1196,3 +1196,4 @@ this.errorState += m + "\n";

if (typeof module === "object") {
/* global module */
module.exports = this.JSDOMParser;
}
{
"name": "@mozilla/readability",
"version": "0.4.3",
"version": "0.4.4",
"description": "A standalone version of the readability library used for Firefox Reader View.",

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

@@ -1,2 +0,1 @@

/* eslint-env es6:false */
/*

@@ -107,3 +106,4 @@ * Copyright (c) 2010 Arc90 Inc

if (typeof module === "object") {
/* global module */
module.exports = isProbablyReaderable;
}

Sorry, the diff of this file is too big to display

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