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

egg-i18n

Package Overview
Dependencies
Maintainers
5
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-i18n - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

app.js

@@ -109,4 +109,4 @@ 'use strict';

app.config.i18n.dirs = app.config.i18n.dirs || [];
for (const dir of app.loader.loadDirs()) {
app.config.i18n.dirs.push(path.join(dir, 'config/locales'));
for (const unit of app.loader.getLoadUnits()) {
app.config.i18n.dirs.push(path.join(unit.path, 'config/locales'));
}

@@ -113,0 +113,0 @@

1.0.1 / 2016-08-16
==================
* fix: use loader.getLoadUnits from egg-core (#2)
1.0.0 / 2016-08-02

@@ -3,0 +8,0 @@ ==================

{
"name": "egg-i18n",
"version": "1.0.0",
"version": "1.0.1",
"description": "i18n plugin for egg",

@@ -38,3 +38,3 @@ "main": "index.js",

"devDependencies": {
"egg": "*",
"egg": "test",
"egg-bin": "1",

@@ -44,3 +44,2 @@ "egg-mock": "*",

"eslint-config-egg": "3",
"mm": "1",
"pedding": "1",

@@ -47,0 +46,0 @@ "should": "10",

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