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

inflected

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inflected - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

LICENSE

2

index.js

@@ -0,1 +1,3 @@

"use strict";
module.exports = require('./lib/Inflector');

7

lib/Inflections.js

@@ -17,6 +17,7 @@ 'use strict';

Inflections.getInstance = function(locale) {
process.__Inflector_Inflections = process.__Inflector_Inflections || {};
process.__Inflector_Inflections[locale] = process.__Inflector_Inflections[locale] || new Inflections();
var storage = typeof process !== 'undefined' ? process : global;
storage.__Inflector_Inflections = storage.__Inflector_Inflections || {};
storage.__Inflector_Inflections[locale] = storage.__Inflector_Inflections[locale] || new Inflections();
return process.__Inflector_Inflections[locale];
return storage.__Inflector_Inflections[locale];
};

@@ -23,0 +24,0 @@

@@ -45,6 +45,7 @@ 'use strict';

Transliterator.getInstance = function(locale) {
process.__Inflector_Transliterator = process.__Inflector_Transliterator || {};
process.__Inflector_Transliterator[locale] = process.__Inflector_Transliterator[locale] || new Transliterator();
var storage = typeof process !== 'undefined' ? process : global;
storage.__Inflector_Transliterator = storage.__Inflector_Transliterator || {};
storage.__Inflector_Transliterator[locale] = storage.__Inflector_Transliterator[locale] || new Transliterator();
return process.__Inflector_Transliterator[locale];
return storage.__Inflector_Transliterator[locale];
};

@@ -51,0 +52,0 @@

{
"name": "inflected",
"version": "1.1.6",
"version": "1.1.7",
"description": "A port of ActiveSupport's inflector to Node.js",

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