Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@toptal/davinci-monorepo

Package Overview
Dependencies
Maintainers
2
Versions
1141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@toptal/davinci-monorepo - npm Package Compare versions

Comparing version 6.4.1-alpha-FX-1981-add-circularity-checker.1238 to 6.4.1-alpha-allow-publishing-non-monorepo.1265

7

package.json
{
"name": "@toptal/davinci-monorepo",
"version": "6.4.1-alpha-FX-1981-add-circularity-checker.1238+83479e9",
"version": "6.4.1-alpha-allow-publishing-non-monorepo.1265+428176f",
"description": "Monorepo utility tools",

@@ -31,5 +31,6 @@ "publishConfig": {

"dependencies": {
"@toptal/davinci-cli-shared": "1.3.5-alpha-FX-1981-add-circularity-checker.1238+83479e9"
"@toptal/davinci-cli-shared": "1.3.5-alpha-allow-publishing-non-monorepo.1265+428176f",
"glob": "^7.1.7"
},
"gitHead": "83479e90fa9fda7261a26d9f0c61b45e776eaa04"
"gitHead": "428176ff193a627caeb5974c4177510a95f662e4"
}

@@ -0,1 +1,2 @@

const fs = require('fs')
const path = require('path')

@@ -9,7 +10,15 @@ const glob = require('glob')

return pkgJson.workspaces.flatMap(pattern =>
glob.sync(pattern).map(workspace => {
const workspacePath = path.join(root, workspace)
glob
.sync(pattern)
.map(workspace => {
const workspacePath = path.join(root, workspace)
const packageJsonPath = path.join(workspacePath, 'package.json')
return require(path.join(workspacePath, 'package.json'))
})
if (fs.existsSync(packageJsonPath)) {
return require(path.join(workspacePath, 'package.json'))
}
return false
})
.filter(Boolean)
)

@@ -16,0 +25,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