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

urlencode

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

urlencode - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

6

History.md
1.1.0 / 2015-08-14
==================
* fix typo
* feat: Support IE8
1.0.1 / 2015-07-06

@@ -3,0 +9,0 @@ ==================

6

lib/urlencode.js

@@ -17,3 +17,2 @@ /**!

var iconv = require('iconv-lite');
var utility = require('utility');

@@ -135,3 +134,3 @@ function isUTF8(charset) {

if (!utility.hasOwnProperty(obj, k)) {
if (!has(obj, k)) {
obj[k] = v;

@@ -148,2 +147,5 @@ } else if (Array.isArray(obj[k])) {

function has(obj, prop) {
return Object.prototype.hasOwnProperty.call(obj, prop);
}

@@ -150,0 +152,0 @@ function isASCII(str) {

{
"name": "urlencode",
"version": "1.0.1",
"version": "1.1.0",
"description": "encodeURIComponent with charset",
"main": "lib/urlencode.js",
"files": [
"lib/urlencode.js"
"lib"
],
"scripts": {
"test": "node_modules/.bin/mocha -R spec -t 20000 -r should test/*.test.js",
"test-cov": "node node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -t 20000 -r should test/*.test.js",
"test-travis": "node node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- -t 20000 -r should test/*.test.js",
"test": "mocha -R spec -t 20000 -r should test/*.test.js",
"test-cov": "istanbul cover node_modules/.bin/_mocha -- -t 20000 -r should test/*.test.js",
"test-travis": "istanbul cover node_modules/.bin/_mocha --report lcovonly -- -t 20000 -r should test/*.test.js",
"jshint": "jshint .",

@@ -19,4 +19,3 @@ "autod": "autod -w --prefix '~' -t test -e examples",

"dependencies": {
"iconv-lite": "~0.4.11",
"utility": "~1.4.0"
"iconv-lite": "~0.4.11"
},

@@ -23,0 +22,0 @@ "devDependencies": {

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