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

@bedrock/core

Package Overview
Dependencies
Maintainers
5
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bedrock/core - npm Package Compare versions

Comparing version 5.0.7 to 5.0.8

5

CHANGELOG.md
# `@bedrock/core` ChangeLog
## 5.0.8 - 2022-04-08
### Fixed
- Ensure `package.json` is loaded properly.
## 5.0.7 - 2022-04-05

@@ -4,0 +9,0 @@

10

lib/index.js

@@ -21,5 +21,8 @@ /*!

// set `__dirname` constant
const __dirname = path.dirname(fileURLToPath(import.meta.url));
// read `package.json` version
const {version} = JSON.parse(
fs.readFileSync('../package.json', {encoding: 'utf8'}));
const {version} = JSON.parse(fs.readFileSync(
path.join(__dirname, '../package.json'), {encoding: 'utf8'}));

@@ -47,5 +50,2 @@ export {config, events, loggers, brUtil as util, version};

// set `__dirname` constant
const __dirname = path.dirname(fileURLToPath(import.meta.url));
// primary process state

@@ -52,0 +52,0 @@ let WORKERS_EXITED;

{
"name": "@bedrock/core",
"version": "5.0.7",
"version": "5.0.8",
"type": "module",

@@ -5,0 +5,0 @@ "description": "A core foundation for rich Web applications.",

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