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.1 to 1.0.2

5

app/middleware/i18n.js

@@ -5,3 +5,6 @@ 'use strict';

return function* i18n(next) {
const gettext = this.__.bind(this);
const ctx = this;
function gettext() {
return ctx.__.apply(ctx, arguments);
}
this.locals = {

@@ -8,0 +11,0 @@ gettext,

1.0.2 / 2016-08-26
==================
* fix: don't use bind (#3)
1.0.1 / 2016-08-16

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

2

package.json
{
"name": "egg-i18n",
"version": "1.0.1",
"version": "1.0.2",
"description": "i18n plugin for egg",

@@ -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