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

nuxt-i18n

Package Overview
Dependencies
Maintainers
1
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt-i18n - npm Package Compare versions

Comparing version 2.3.4 to 2.4.1

15

CHANGELOG.md

@@ -5,2 +5,17 @@ # Change Log

<a name="2.4.1"></a>
## [2.4.1](https://github.com/nuxt-community/nuxt-i18n/compare/v2.4.0...v2.4.1) (2018-03-10)
<a name="2.4.0"></a>
# [2.4.0](https://github.com/nuxt-community/nuxt-i18n/compare/v2.3.4...v2.4.0) (2018-03-10)
### Features
* Add support for Regexp for ignorePaths option ([65f8b45](https://github.com/nuxt-community/nuxt-i18n/commit/65f8b45)), closes [#38](https://github.com/nuxt-community/nuxt-i18n/issues/38)
<a name="2.3.4"></a>

@@ -7,0 +22,0 @@ ## [2.3.4](https://github.com/nuxt-community/nuxt-i18n/compare/v2.3.3...v2.3.4) (2018-02-25)

6

lib/routes.js

@@ -27,3 +27,7 @@ const { has } = require('lodash')

baseRoutes.forEach(route => {
if (ignorePaths.indexOf(route.path) !== -1) {
const isIgnoredPath = (ignorePaths.findIndex(pattern => {
const regexp = new RegExp(pattern)
return route.path.match(regexp)
}) !== -1)
if (isIgnoredPath) {
newRoutes.push(route)

@@ -30,0 +34,0 @@ } else {

2

package.json
{
"name": "nuxt-i18n",
"version": "2.3.4",
"version": "2.4.1",
"description": "i18n for Nuxt",

@@ -5,0 +5,0 @@ "license": "MIT",

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