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

@dbux/common-node

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dbux/common-node - npm Package Compare versions

Comparing version 0.5.10 to 0.5.15-dev.4

6

package.json
{
"name": "@dbux/common-node",
"version": "0.5.10",
"version": "0.5.15-dev.4",
"description": "",

@@ -12,3 +12,3 @@ "module": "src/index.js",

"dependencies": {
"@dbux/common": "^0.5.10",
"@dbux/common": "^0.5.15-dev.4",
"adm-zip": "^0.5.9",

@@ -27,3 +27,3 @@ "colors": "^1.4.0",

"_moduleAliases": {},
"gitHead": "81b7d414ebd17627383362fb9a4bcf100a2c7d03"
"gitHead": "4ab0ab0d3c8e0f1de1c2dda687016c4848a7dd04"
}

@@ -7,2 +7,3 @@ /**

import glob from 'glob';
import identity from 'lodash/identity';
import isString from 'lodash/isString';

@@ -36,3 +37,4 @@ import path from 'path';

function genExportAll(names) {
function genExportAll(names, transformEntry) {
names = names.map(transformEntry);
return `export {\n${IndentUnit}${names.join(`,\n${IndentUnit}`)}\n};`;

@@ -44,3 +46,3 @@ }

*/
export function writeFileRegistryFile(outFile, dir, predicate, moreImports = '', initFn = null) {
export function writeFileRegistryFile(outFile, dir, predicate, moreImports = '', initFn = null, transformEntry = identity) {
const files = glob.sync(dir + '/*')

@@ -67,3 +69,3 @@ .filter(f => path.basename(f) !== outFile)

// exports
genExportAll(files)
genExportAll(files, transformEntry)
];

@@ -70,0 +72,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