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

@oarepo/invenio-api-vue-composition

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oarepo/invenio-api-vue-composition - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

22

oarepo-invenio-api-vue-composition.esm.js

@@ -521,3 +521,3 @@ import { unref, ref, computed, watch, defineComponent, getCurrentInstance } from '@vue/composition-api';

async function load(module, query, force) {
async function load(collectionCode, query, force) {
var _query;

@@ -527,19 +527,23 @@

if (!module) {
module = currentCollectionCode.value;
if (!collectionCode) {
collectionCode = currentCollectionCode.value;
}
if (currentCollectionCode.value !== module) {
if (currentCollectionCode.value !== collectionCode) {
// reload options
optionsLoad(module + '/');
if (collectionCode.endsWith('/')) {
optionsLoad(collectionCode);
} else {
optionsLoad(collectionCode + '/');
}
}
pageSize.value = ((_query = query) === null || _query === void 0 ? void 0 : _query.size) || 10;
currentCollectionCode.value = module;
currentCollectionCode.value = collectionCode;
if (query && shouldLoadFacetsOnly(module, query)) {
return await loadFacets(module + '/', query);
if (query && shouldLoadFacetsOnly(collectionCode, query)) {
return await loadFacets(collectionCode + '/', query);
}
return httpLoad(module + '/', query, force);
return httpLoad(collectionCode + '/', query, force);
}

@@ -546,0 +550,0 @@

{
"name": "@oarepo/invenio-api-vue-composition",
"version": "1.0.5",
"version": "1.0.6",
"main": "oarepo-invenio-api-vue-composition.esm.js",

@@ -5,0 +5,0 @@ "private": false,

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