Socket
Socket
Sign inDemoInstall

@mongoosejs/studio

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mongoosejs/studio - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

frontend/src/api.js

@@ -31,4 +31,2 @@ 'use strict';

const anchor = document.createElement('a');
console.log('K', config__baseURL)
console.log('G', config__baseURL + '/Model/exportQueryResults?' + (new URLSearchParams(params)).toString());
anchor.href = config__baseURL + '/Model/exportQueryResults?' + (new URLSearchParams(params)).toString();

@@ -35,0 +33,0 @@ anchor.target = '_blank';

9

frontend/src/export-query-results/export-query-results.js

@@ -25,7 +25,10 @@ 'use strict';

async exportQueryResults() {
await api.Model.exportQueryResults({
const params = {
model: this.currentModel,
filter: this.filter,
propertiesToInclude: Object.keys(this.shouldExport).filter(key => this.shouldExport[key])
});
};
if (this.filter) {
params.filter = this.filter;
}
await api.Model.exportQueryResults(params);

@@ -32,0 +35,0 @@ this.$emit('done');

{
"name": "@mongoosejs/studio",
"version": "0.0.1",
"version": "0.0.2",
"dependencies": {

@@ -5,0 +5,0 @@ "archetype": "0.13.0",

Sorry, the diff of this file is not supported yet

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