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

@platformatic/generators

Package Overview
Dependencies
Maintainers
6
Versions
204
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@platformatic/generators - npm Package Compare versions

Comparing version 1.13.3 to 1.13.4

2

lib/base-generator.js

@@ -96,4 +96,6 @@ 'use strict'

}
const oldConfig = this.config
this.config = {
...this.getDefaultConfig(),
...oldConfig,
...config

@@ -100,0 +102,0 @@ }

2

package.json
{
"name": "@platformatic/generators",
"version": "1.13.3",
"version": "1.13.4",
"description": "Main classes and utils for generators.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -146,2 +146,29 @@ 'use strict'

})
// update only some fields
bg.setConfig({
hostname: '123.123.123.123',
port: 3000
})
bg.setConfig({
port: 1234
})
assert.deepEqual(bg.config, {
port: 1234,
hostname: '123.123.123.123',
plugin: false,
typescript: false,
initGitRepository: false,
staticWorkspaceGitHubActions: false,
dynamicWorkspaceGitHubActions: false,
env: {},
dependencies: {},
devDependencies: {},
isRuntimeContext: false,
serviceName: '',
envPrefix: '',
tests: false
})
})

@@ -148,0 +175,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