Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

js-gettext

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-gettext - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

13

package.json
{
"name": "js-gettext",
"version": "1.0.6",
"version": "1.0.7",
"description": "gettext alternative for js",

@@ -16,11 +16,11 @@ "main": "./src/index.js",

"dependencies": {
"commander": "^2.11.0",
"commander": "^2.15.1",
"glob": "^7.1.2"
},
"devDependencies": {
"ava": "^0.22.0",
"eslint": "^4.8.0",
"ava": "^0.25.0",
"eslint": "^4.19.1",
"husky": "^0.14.3",
"lint-staged": "^4.2.3",
"prettier": "^1.7.4"
"lint-staged": "^7.0.0",
"prettier": "^1.11.1"
},

@@ -55,3 +55,2 @@ "directories": {

"lint-staged": {
"gitDir": "./",
"linters": {

@@ -58,0 +57,0 @@ "*.js": [

@@ -5,3 +5,3 @@ /**

* @param {string} text
* @param {sumber} limit
* @param {number} limit
*/

@@ -42,3 +42,3 @@ module.exports = (text, limit, debug = false) => {

param += c;
params.push(eval(param));
params.push(eval(param.replace(/\n/g, '\\n')));
if (params.length >= limit) {

@@ -45,0 +45,0 @@ return {params, length: i};

@@ -8,4 +8,4 @@ /**

'^' + // beginning of the string
s.replace(/\./g, '\\s*\\.\\s*') + // dot can be surrounded by whitespaces
'\\s*\\(\\s*' // opening parenthesis can be surrounded by whitespaces
s.replace(/\./g, '\\s*\\.\\s*') + // dot can be surrounded by white spaces
'\\s*\\(\\s*' // opening parenthesis can be surrounded by white spaces
);

Sorry, the diff of this file is not supported yet

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