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

io-cep

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

io-cep - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

3

lib/utility.js

@@ -8,2 +8,3 @@ 'use strict';

const $respostas = $('.resposta');
// Futuro

@@ -18,3 +19,3 @@ // const respostas = Reflect.apply(Array.prototype.slice, undefined, $respostas);

const value = $el.next('.respostadestaque').text().trim();
if (key.indexOf('Localidade') !== -1) {
if (key.indexOf('Localidade') > -1) {
const keys = key.split('-');

@@ -21,0 +22,0 @@ const values = value.replace(/[\n\t]+/g, '').split('/');

{
"name": "io-cep",
"version": "0.5.1",
"version": "0.5.2",
"description": "Search address using zip code through Correios",
"keywords": [
"cep",
"lib",
"search",
"zipcode",
"brasil"
],
"bug": {
"url": "https://github.com/lagden/io-cep/issues",
"email": "lagden@gmail.com"
},
"license": "MIT",
"repository": "lagden/io-cep",
"author": {
"name": "Thiago Lagden",
"email": "lagden@gmail.com",
"url": "lagden.in"
"url": "http://lagden.in"
},
"engines": {
"node": ">=4.0.0"
},
"main": "index.js",

@@ -19,9 +26,3 @@ "directories": {

},
"keywords": [
"cep",
"lib",
"search",
"zipcode",
"brasil"
],
"repository": "lagden/io-cep",
"scripts": {

@@ -32,2 +33,16 @@ "pretest": "xo",

},
"dependencies": {
"cheerio": "^0.19.0",
"got": "^5.0.0",
"iconv-lite": "^0.4.11"
},
"devDependencies": {
"ava": "^0.2.0",
"nyc": "^3.2.2",
"watch": "^0.16.0",
"xo": "^0.10.0"
},
"engines": {
"node": ">=4.0.0"
},
"xo": {

@@ -60,14 +75,3 @@ "envs": [

}
},
"dependencies": {
"cheerio": "^0.19.0",
"got": "^5.0.0",
"iconv-lite": "^0.4.11"
},
"devDependencies": {
"ava": "^0.2.0",
"nyc": "^3.2.2",
"watch": "^0.16.0",
"xo": "^0.9.0"
}
}
# io-cep
[![NPM version](https://img.shields.io/npm/v/io-cep.svg)](https://www.npmjs.com/package/io-cep)
[![Build Status](https://travis-ci.org/lagden/io-cep.svg?branch=master)](https://travis-ci.org/lagden/io-cep)
[![Build Status](https://travis-ci.org/lagden/io-cep.svg?branch=0.5.2)](https://travis-ci.org/lagden/io-cep)
[![Dependency Status](https://david-dm.org/lagden/io-cep.svg)](https://david-dm.org/lagden/io-cep)

@@ -5,0 +5,0 @@ [![devDependency Status](https://david-dm.org/lagden/io-cep/dev-status.svg)](https://david-dm.org/lagden/io-cep#info=devDependencies)

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