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

astroboy

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

astroboy - npm Package Compare versions

Comparing version 0.0.20 to 0.0.21

16

core/DefaultLoader.js

@@ -84,9 +84,13 @@ const fs = require('fs-extra');

let map = {};
const entries = glob.sync([`${this.baseDir}/config/version*.json`], {
dot: true
this.dirs.forEach(item => {
const entries = glob.sync([`${item.baseDir}/config/version*.json`], {
dot: true
});
if (entries.length > 0) {
entries.forEach(entry => {
const key = path.basename(entry, '.json');
map[key] = require(entry);
});
}
});
entries.forEach(entry => {
const key = path.basename(entry, '.json');
map[key] = require(entry);
});
this.app.versionMap = map;

@@ -93,0 +97,0 @@ }

{
"name": "astroboy",
"version": "0.0.20",
"version": "0.0.21",
"description": "Astroboy(阿童木)is a Nodejs SFB(Separation of Front and Back ends) framework, built on koa2.",

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

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