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

wikibase-sdk

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wikibase-sdk - npm Package Compare versions

Comparing version 7.15.0 to 8.0.0

1

lib/helpers/sitelinks_languages.js

@@ -106,2 +106,3 @@ // Generated by 'npm run update-sitelinks-languages'

'gu',
'guw',
'gv',

@@ -108,0 +109,0 @@ 'hak',

8

lib/utils/build_url.js
const isBrowser = typeof location !== 'undefined' && typeof document !== 'undefined'
let stringifyQuery
if (isBrowser) {
stringifyQuery = queryObj => new URLSearchParams(queryObj).toString()
} else {
// TODO: use URLSearchParams in NodeJS too, but that would mean dropping support for NodeJS < v10
stringifyQuery = require('querystring').stringify
}
const stringifyQuery = queryObj => new URLSearchParams(queryObj).toString()

@@ -11,0 +5,0 @@ module.exports = instanceApiEndpoint => queryObj => {

{
"name": "wikibase-sdk",
"version": "7.15.0",
"version": "8.0.0",
"description": "utils functions to query a Wikibase instance and simplify its results",

@@ -68,4 +68,4 @@ "main": "lib/wikibase-sdk.js",

"engines": {
"node": ">= 6.4"
"node": ">= 10.0.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