🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

wikibase-edit

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wikibase-edit - npm Package Compare versions

Comparing version

to
7.0.4

2

assets/metadata.js
// Generated by scripts/postversion
export const name = "wikibase-edit"
export const version = "7.0.3"
export const version = "7.0.4"
export const homepage = "https://github.com/maxlath/wikibase-edit"
export const issues = "https://github.com/maxlath/wikibase-edit/issues"

@@ -53,3 +53,3 @@ import { stringifyQuery, wait } from '../utils.js'

const errorIsWorthARetry = err => {
if (errorsWorthARetry.has(err.name) || errorsWorthARetry.has(err.type)) return true
if (errorsWorthARetry.has(err.name) || errorsWorthARetry.has(err.type) || errorsCodeWorthARetry.has(err.code || err.cause?.code)) return true
// failed-save might be a recoverable error from the server

@@ -73,2 +73,7 @@ // See https://github.com/maxlath/wikibase-cli/issues/150

const errorsCodeWorthARetry = new Set([
'ECONNREFUSED',
'UND_ERR_CONNECT_TIMEOUT',
])
const defaultRetryDelay = 5

@@ -75,0 +80,0 @@ const getRetryDelay = headers => {

{
"name": "wikibase-edit",
"version": "7.0.3",
"version": "7.0.4",
"description": "Edit Wikibase from NodeJS",

@@ -5,0 +5,0 @@ "type": "module",