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

smartystreets-javascript-sdk

Package Overview
Dependencies
Maintainers
8
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smartystreets-javascript-sdk - npm Package Compare versions

Comparing version 3.2.1 to 3.3.0

2

package.json
{
"name": "smartystreets-javascript-sdk",
"version": "3.2.1",
"version": "3.3.0",
"description": "Quick and easy Smarty address validation.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -7,3 +7,3 @@ /**

class Lookup {
constructor(street, street2, secondary, city, state, zipCode, lastLine, addressee, urbanization, match, maxCandidates, inputId) {
constructor(street, street2, secondary, city, state, zipCode, lastLine, addressee, urbanization, match, maxCandidates, inputId, format) {
this.street = street;

@@ -21,2 +21,3 @@ this.street2 = street2;

this.inputId = inputId;
this.format = format;
this.result = [];

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

@@ -13,2 +13,3 @@ module.exports = {

"match": "match",
"format": "format",
"candidates": "maxCandidates",

@@ -15,0 +16,0 @@ },

@@ -7,3 +7,3 @@ const chai = require("chai");

it ("correctly populates fields.", function () {
const lookup = new Lookup("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l");
const lookup = new Lookup("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m");

@@ -22,2 +22,3 @@ expect(lookup.street).to.equal("a");

expect(lookup.inputId).to.equal("l");
expect(lookup.format).to.equal("m");
});

@@ -24,0 +25,0 @@

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