-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Node v6.10 API compatibility (#2)
BREAKING CHANGE: This is a complete rewrite based upon the actual node source code and tests. See also: mike-spainhower/querystring#4
- Loading branch information
1 parent
17ab5d0
commit 68fdc79
Showing
22 changed files
with
1,601 additions
and
451 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"presets": [ | ||
"es3", | ||
"es2015", | ||
"es2016", | ||
"es2017" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
node_modules/ | ||
dist/ | ||
|
||
sauce_connect.log | ||
.zuulrc |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
language: node_js | ||
node_js: | ||
- 0.6 | ||
- 0.8 | ||
- "6" | ||
addons: | ||
sauce_connect: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
ui: mocha-bdd | ||
|
||
browsers: | ||
- name: chrome | ||
version: [26, latest] | ||
- name: android | ||
version: [4.4, latest] | ||
|
||
- name: firefox | ||
version: [4, latest] | ||
|
||
- name: safari | ||
version: [5, 6, latest] | ||
- name: iphone | ||
version: [8.1, latest] | ||
- name: ipad | ||
version: [8.1, latest] | ||
|
||
- name: ie | ||
version: 8..11 | ||
- name: microsoftedge | ||
version: -1..latest | ||
|
||
browserify: | ||
- transform: babelify | ||
|
||
concurrency: 1 | ||
# tunnel: | ||
# type: ngrok | ||
# bind_tls: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
# querystring | ||
|
||
[![Build Status](https://secure.travis-ci.org/mike-spainhower/querystring.png)](http://travis-ci.org/mike-spainhower/querystring) | ||
[![Build Status](https://travis-ci.org/SpainTrain/querystring-es3.svg?branch=master)](https://travis-ci.org/SpainTrain/querystring-es3) | ||
[![Build Status](https://saucelabs.com/buildstatus/querystring-es3)](https://saucelabs.com/u/querystring-es3) | ||
|
||
[![Build Status](https://saucelabs.com/browser-matrix/querystring-es3.svg)](https://saucelabs.com/u/querystring-es3) | ||
|
||
[![Browser support](http://ci.testling.com/mike-spainhower/querystring.png)](http://ci.testling.com/mike-spainhower/querystring) | ||
Node API compliant querystring module for all browsers. (ES3 compatible) | ||
|
||
|
||
|
||
Node's querystring module for all engines. | ||
|
||
## Install ## | ||
## Install | ||
|
||
npm install querystring-es3 | ||
|
||
## Usage | ||
|
||
<https://nodejs.org/dist/latest-v6.x/docs/api/querystring.html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,55 @@ | ||
{ | ||
"name": "querystring-es3", | ||
"id": "querystring-es3", | ||
"version": "0.2.1", | ||
"description": "Node's querystring module for all engines. (ES3 compat fork)", | ||
"keywords": [ "commonjs", "query", "querystring" ], | ||
"author": "Irakli Gozalishvili <[email protected]>", | ||
"version": "0.3.0", | ||
"main": "dist/index.js", | ||
"description": "Node API compliant querystring module for all browsers. (ES3 compatible)", | ||
"scripts": { | ||
"build": "babel src -d dist", | ||
"prepare": "npm run build", | ||
"prepublish": "npm run build", | ||
"test": "npm-run-all build test:*", | ||
"test:mocha": "mocha --require babel-register ./test/index.js", | ||
"test:zuul": "zuul --no-coverage -- test" | ||
}, | ||
"keywords": [ | ||
"commonjs", | ||
"query", | ||
"querystring", | ||
"es3" | ||
], | ||
"author": "SpainTrain <[email protected]>", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/mike-spainhower/querystring.git", | ||
"web": "https://github.com/mike-spainhower/querystring" | ||
"url": "git://github.com/SpainTrain/querystring-es3.git", | ||
"web": "https://github.com/SpainTrain/querystring-es3" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/mike-spainhower/querystring/issues/" | ||
"url": "https://github.com/SpainTrain/querystring-es3/issues/" | ||
}, | ||
"devDependencies": { | ||
"test": "~0.x.0", | ||
"phantomify": "~0.x.0", | ||
"retape": "~0.x.0", | ||
"tape": "~0.1.5" | ||
"assert": "~1.4.1", | ||
"babel-cli": "~6.24.0", | ||
"babel-preset-es2015": "~6.24.0", | ||
"babel-preset-es2016": "~6.22.0", | ||
"babel-preset-es2017": "~6.22.0", | ||
"babel-preset-es3": "~1.0.1", | ||
"babel-register": "~6.24.0", | ||
"babelify": "~7.3.0", | ||
"browserify": "~14.1.0", | ||
"eslint": "~3.13.0", | ||
"json3": "~3.3.2", | ||
"mocha": "~3.2.0", | ||
"npm-run-all": "~4.0.2", | ||
"object-inspect": "~1.2.2", | ||
"zuul": "~3.11.1", | ||
"zuul-ngrok": "~4.0.0" | ||
}, | ||
"engines": { | ||
"node": ">=0.4.x" | ||
}, | ||
"scripts": { | ||
"test": "npm run test-node && npm run test-browser && npm run test-tap", | ||
"test-browser": "node ./node_modules/phantomify/bin/cmd.js ./test/common-index.js", | ||
"test-node": "node ./test/common-index.js", | ||
"test-tap": "node ./test/tap-index.js" | ||
}, | ||
"testling": { | ||
"files": "test/tap-index.js", | ||
"browsers": { | ||
"iexplore": [ | ||
9, | ||
10 | ||
], | ||
"chrome": [ | ||
16, | ||
20, | ||
25, | ||
"canary" | ||
], | ||
"firefox": [ | ||
10, | ||
15, | ||
16, | ||
17, | ||
18, | ||
"nightly" | ||
], | ||
"safari": [ | ||
5, | ||
6 | ||
], | ||
"opera": [ | ||
12 | ||
] | ||
} | ||
"node": ">=4" | ||
}, | ||
"licenses": [{ | ||
"type" : "MIT", | ||
"url" : "https://github.com/Gozala/enchain/License.md" | ||
}] | ||
"license": "MIT", | ||
"dependencies": { | ||
"buffer": "5.0.5" | ||
} | ||
} |
Oops, something went wrong.