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

@gooddata/fixtures

Package Overview
Dependencies
Maintainers
32
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gooddata/fixtures - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

assets/fixtures/GoodSales/1/upload.zip

22

fixture.js

@@ -62,5 +62,5 @@ const getStream = require('get-stream');

function loginUser(config) {
return sdk.user.login(config.username, config.password).then(() => {
Logger.logLn(`Logged in as ${config.username} at ${config.hostname}`);
function loginUser(hostname, username, password) {
return sdk.user.login(username, password).then(() => {
Logger.logLn(`Logged in as ${username} at ${hostname}`);
});

@@ -79,2 +79,15 @@ }

function deleteProject(host, projectId, username, password) {
sdk.config.setCustomDomain(host);
const destroyProject = () => sdk.project.deleteProject(projectId)
.then(() => {
Logger.logLn(`Project ${projectId} successfully deleted.`);
}, (error) => {
Logger.logLn(`Project ${projectId} deleting error: ${error}`);
});
return loginUser(host, username, password).then(destroyProject);
}
function ldmManage(config, projectId) {

@@ -225,3 +238,3 @@ Logger.logLn('Updating LDM...');

return loginUser(config)
return loginUser(config.hostname, config.username, config.password)
.then(partial(prepareArchive, config))

@@ -249,2 +262,3 @@ .then(partial(uploadArchive, config))

createFixture,
deleteProject,

@@ -251,0 +265,0 @@ // for testing

29

package.json
{
"name": "@gooddata/fixtures",
"version": "1.0.1",
"version": "1.1.0",
"description": "",

@@ -11,3 +11,4 @@ "main": "fixture.js",

"prepublish": "yarn run clean && yarn run preparedir && yarn run copy:assets",
"test": "jest"
"test": "jest --watch",
"validate": "eslint *.js"
},

@@ -27,17 +28,17 @@ "files": [

"dependencies": {
"archiver": "^2.0.0",
"get-stream": "^3.0.0",
"gooddata": "^2.1.1",
"mustache": "^2.3.0",
"request": "^2.81.0",
"request-promise": "^4.2.1",
"tmp": "^0.0.31",
"uuid": "^3.1.0"
"archiver": "2.0.0",
"get-stream": "3.0.0",
"gooddata": "2.4.0",
"mustache": "2.3.0",
"request": "2.81.0",
"request-promise": "4.2.1",
"tmp": "0.0.31",
"uuid": "3.1.0"
},
"devDependencies": {
"eslint-config-gooddata": "^0.0.11",
"jest": "^20.0.4",
"jest-junit": "^2.1.0",
"unzip": "^0.1.11"
"eslint-config-gooddata": "0.0.11",
"jest": "20.0.4",
"jest-junit": "2.1.0",
"unzip": "0.1.11"
}
}

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