v2.4.4 release: revert Deno env restrictions, remove mention of (broken) Bun

main v2.4.4
gardenapple 1 year ago
parent f8c1f0ced2
commit 0b71370b58
No known key found for this signature in database
GPG Key ID: 30A642B65B1529FE

@ -51,21 +51,6 @@ Read more about Deno permissions [in their manual](https://deno.land/manual/gett
*(Package maintainers might consider adding a `readable-sandbox` executable which will run `readable` with restrictions)*
### Bun
[Bun](https://bun.sh/) is an experimental JavaScript runtime which is supposedly a faster alternative to Node.js. `readability-cli` has not been thoroughly tested with it, but you can try to run:
```sh
bun install readability-cli
bun run readable
```
...or you can clone this repository and run
```sh
bun run ./index.js
```
### Arch Linux
Arch Linux users may use the "official" AUR packages:

@ -131,7 +131,8 @@ export default async function(
})
.option("completion", {
type: "boolean",
desc: __`Print script for bash/zsh completion`
desc: __`Print script for bash/zsh completion`,
hidden: typeof Deno !== "undefined"
})
.option("base", {
alias: 'b',

4
package-lock.json generated

@ -1,12 +1,12 @@
{
"name": "readability-cli",
"version": "2.4.2",
"version": "2.4.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "readability-cli",
"version": "2.4.2",
"version": "2.4.4",
"license": "GPL-3.0-only",
"dependencies": {
"@mozilla/readability": "^0.4.1",

@ -1,6 +1,6 @@
{
"name": "readability-cli",
"version": "2.4.3",
"version": "2.4.4",
"description": "Firefox Reader Mode in your terminal - get useful text from a web page using Mozilla's Readability library",
"main": "index.js",
"bin": {

@ -1,4 +1,4 @@
.TH "READABILITY\-CLI" "1" "January 2023" "v2.4.3"
.TH "READABILITY\-CLI" "1" "January 2023" "v2.4.4"
.SH "NAME"
\fBreadability-cli\fR \- get useful text from a web page
.SH SYNOPSYS
@ -133,7 +133,7 @@ Set custom user agent string\.
.RS 1
.IP \(bu 2
Print \fBreadability\-cli\fR and Node\.js version, then exit\.
Print \fBreadability\-cli\fR and Node\.js/Deno version, then exit\.
.RE
.P
@ -141,7 +141,7 @@ Print \fBreadability\-cli\fR and Node\.js version, then exit\.
.RS 1
.IP \(bu 2
Print script for shell completion, and exit\. Provides Zsh completion if the current shell is zsh, otherwise provides Bash completion\.
Print script for shell completion, and exit\. Provides Zsh completion if the current shell is zsh, otherwise provides Bash completion\. Currently broken when using Deno\.
.RE
.SS Properties

@ -74,11 +74,11 @@ The *SOURCE* can be a URL, a file, or '-' for standard input.
`-V`, `--version`
* Print **readability-cli** and Node.js version, then exit.
* Print **readability-cli** and Node.js/Deno version, then exit.
`--completion`
* Print script for shell completion, and exit. Provides Zsh completion if the current shell is zsh, otherwise provides Bash completion.
* Print script for shell completion, and exit. Provides Zsh completion if the current shell is zsh, otherwise provides Bash completion. Currently broken when using Deno.
### Properties

@ -1,6 +1,6 @@
#!/usr/bin/env -S deno run --allow-net --allow-read --allow-write --allow-env --no-check --
#!/usr/bin/env -S deno run --allow-net --allow-read --allow-write --allow-env=HTTPS_PROXY,LC_ALL,LC_MESSAGES,LANG,LANGUAGE --no-prompt --no-check --
const version = "2.4.3"
const version = "2.4.4"
import * as path from "https://deno.land/std@0.173.0/path/mod.ts"

Loading…
Cancel
Save