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

@flydotio/dockerfile

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flydotio/dockerfile - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

35

gdf.js

@@ -33,4 +33,4 @@ #!/usr/bin/env node

get remix() {
return !!(this.#pj.dependencies.remix ||
this.#pj.dependencies['@remix-run/node'])
return !!(this.#pj.dependencies?.remix ||
this.#pj.dependencies?.['@remix-run/node'])
}

@@ -40,3 +40,3 @@

get prisma() {
return !!(this.#pj.dependencies['@prisma/client'] ||
return !!(this.#pj.dependencies?.['@prisma/client'] ||
this.#pj.devDependencies?.prisma)

@@ -47,3 +47,3 @@ }

get nextjs() {
return !!this.#pj.dependencies.next
return !!this.#pj.dependencies?.next
}

@@ -53,3 +53,3 @@

get nuxtjs() {
return !!this.#pj.dependencies.nuxt
return !!this.#pj.dependencies?.nuxt
}

@@ -59,3 +59,3 @@

get gatsby() {
return !!this.#pj.dependencies.gatsby
return !!this.#pj.dependencies?.gatsby
}

@@ -65,3 +65,3 @@

get nestjs() {
return !!this.#pj.dependencies['@nestjs/core']
return !!this.#pj.dependencies?.['@nestjs/core']
}

@@ -86,7 +86,13 @@

get yarnVersion() {
try {
return execSync('yarn --version', { encoding: 'utf8' })
.match(/\d+\.\d+\.\d+/)?.[0] || this.yarnClassic
} catch {
return this.yarnClassic
const version = this.#pj.packageManager?.match(/(\d+\.\d+\.\d+)/)?.[0] // Should return something like "1.22.10"
if (version !== undefined) {
return version
} else {
try {
return execSync('yarn --version', { encoding: 'utf8' })
.match(/\d+\.\d+\.\d+/)?.[0] || this.yarnClassic
} catch {
return this.yarnClassic
}
}

@@ -147,4 +153,7 @@ }

install += ' --frozen-lockfile'
} else if (this.yarnVersion.startsWith('2.')) {
install += ' --immutable --immutable-cache --check-cache'
} else {
install += ' --immutable --immutable-cache --check-cache'
// yarn 3+
install += ' --immutable'
}

@@ -151,0 +160,0 @@ } else if (packageFiles.includes('pnpm-lock.yaml')) {

{
"name": "@flydotio/dockerfile",
"version": "0.2.4",
"version": "0.2.5",
"description": "Dockerfile generator",

@@ -25,3 +25,3 @@ "main": "./index.js",

"ejs": "^3.1.9",
"yargs": "^17.7.1"
"yargs": "^17.7.2"
},

@@ -37,3 +37,3 @@ "repository": {

"chai": "^4.3.7",
"eslint": "^8.38.0",
"eslint": "^8.40.0",
"eslint-config-standard": "^17.0.0",

@@ -40,0 +40,0 @@ "eslint-plugin-import": "^2.27.5",

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