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

synonomous

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

synonomous - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

8

index.js

@@ -145,6 +145,6 @@ 'use strict';

*/
getSynonyms: function(name, transforations) {
getSynonyms: function(name, transformations) {
var synonyms = [];
if (typeof name === 'string' && name) {
(transforations || this.transformations).forEach(function(key) {
(transformations || this.transformations).forEach(function(key) {
if (typeof this[key] !== 'function') {

@@ -187,4 +187,4 @@ throw new ReferenceError('Unknown transformer "' + key + '"');

// promote args
list = elements = index;
propName = list;
list = elements = arguments[0];
propName = arguments[1];
}

@@ -191,0 +191,0 @@ propName = propName || this.propName;

{
"name": "synonomous",
"version": "1.0.1",
"version": "1.0.2",
"description": "Transform strings into synonyms for list decoration",

@@ -13,3 +13,6 @@ "main": "index.js",

},
"author": "Jonathan Eiten <jonathan.eiten@mojotouch.com>",
"author": {
"name": "Jonathan Eiten",
"email": "jonathan.eiten@mojotouch.com"
},
"license": "MIT",

@@ -16,0 +19,0 @@ "bugs": {

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