Skip to content

6.2.1 #218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Aug 8, 2016
Merged

6.2.1 #218

Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
sudo: false
language: node_js
addons:
sauce_connect: true
before_install:
- npm install -g npm@2
- npm install -g npm
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# readable-stream

***Node-core v6.1.0 streams for userland*** [![Build Status](https://travis-ci.org/nodejs/readable-stream.svg?branch=master)](https://travis-ci.org/nodejs/readable-stream)
***Node-core v6.2.1 streams for userland*** [![Build Status](https://travis-ci.org/nodejs/readable-stream.svg?branch=master)](https://travis-ci.org/nodejs/readable-stream)


[![NPM](https://nodei.co/npm/readable-stream.png?downloads=true&downloadRank=true)](https://nodei.co/npm/readable-stream/)
Expand Down
8 changes: 6 additions & 2 deletions build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ function processFile (inputLoc, out, replacements) {
})
if (inputLoc.slice(-3) === '.js') {
const transformed = babel.transform(data, {
plugins: ['transform-es2015-arrow-functions', 'transform-es2015-block-scoping']
plugins: [
'transform-es2015-arrow-functions',
'transform-es2015-block-scoping',
'transform-es2015-template-literals'
]
})
data = transformed.code
}
Expand Down Expand Up @@ -97,7 +101,7 @@ hyperquest(testlisturl).pipe(bl(function (err, data) {

$('table.files .js-navigation-open').each(function () {
var file = $(this).text()
if (/^test-stream/.test(file) && !/-wrap(?:-encoding)?\.js$/.test(file) && file !== 'test-stream2-httpclient-response-end.js')
if (/^test-stream/.test(file) && !/-wrap(?:-encoding)?\.js$/.test(file) && file !== 'test-stream2-httpclient-response-end.js' && file !== 'test-stream-base-no-abort.js')
processTestFile(file)
})
}))
Expand Down
1 change: 1 addition & 0 deletions build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"babel-core": "^6.5.2",
"babel-plugin-transform-es2015-arrow-functions": "^6.5.2",
"babel-plugin-transform-es2015-block-scoping": "^6.5.0",
"babel-plugin-transform-es2015-template-literals": "^6.8.0",
"bl": "~0.6.0",
"cheerio": "~0.13.1",
"hyperdirect": "0.0.0",
Expand Down
10 changes: 9 additions & 1 deletion build/test-replacements.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ module.exports['common.js'] = [
+ '\nif (!global.setImmediate) {\n'
+ ' global.setImmediate = function setImmediate(fn) {\n'

+ ' return setTimeout(fn.bind.apply(fn, arguments), 0);\n'
+ ' return setTimeout(fn.bind.apply(fn, arguments), 4);\n'
+ ' };\n'
+ '}\n'
+ 'if (!global.clearImmediate) {\n'
Expand Down Expand Up @@ -254,3 +254,11 @@ module.exports['test-stream2-decode-partial.js'] = [
,`readable.push(source.slice(4, source.length));`
]
]


module.exports['test-stream3-cork-uncork.js'] = module.exports['test-stream3-cork-end.js'] = [
[
/assert\.ok\(seen\.equals\(expected\)\);/,
'assert.deepEqual(seen, expected);'
]
]
Loading