Skip to content

Conversation

calvinmetcalf
Copy link
Contributor

seems like the big changes are the new buffer api, plus that fix of mine for throwing on null chunks

encoding = encoding || state.defaultEncoding;
if (encoding !== state.encoding) {
chunk = new Buffer(chunk, encoding);
chunk = Buffer.from(chunk, encoding);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't work on older nodes right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah we're probably going to have to write a shim or polyfill

@calvinmetcalf
Copy link
Contributor Author

next up will be a fix for deepStrictEqual

@calvinmetcalf
Copy link
Contributor Author

@Fishrock123
Copy link

@calvinmetcalf any progress? Need any help?

@calvinmetcalf
Copy link
Contributor Author

I need to port deepStrictEqual to work on all the platforms browserify/commonjs-assert#17 is not going as well as I'd hoped

@calvinmetcalf
Copy link
Contributor Author

update looked like I found the problem, it was ArrayBuffer.isView

@calvinmetcalf
Copy link
Contributor Author

and I should have been suspicious about all the file changes

@calvinmetcalf
Copy link
Contributor Author

ok while we wait for @defunctzombie to review the changes to assert-commonjs we can test against my branch to make sure it actually fixes things

@defunctzombie
Copy link

@calvinmetcalf I've added you as collaborator to the commonjs-assert repo. I don't have much time for some of these projects these days and don't want to be a blocker.

@calvinmetcalf
Copy link
Contributor Author

thanks!

@calvinmetcalf
Copy link
Contributor Author

and got it working with browserify/commonjs-assert#18

@calvinmetcalf calvinmetcalf force-pushed the build-6.1.0 branch 2 times, most recently from 725ad0f to 64e6bf3 Compare May 18, 2016 14:49
@calvinmetcalf
Copy link
Contributor Author

ok I've had all browsers pass, just not in the same run so screw it calling that green and going to publish

@calvinmetcalf calvinmetcalf merged commit fe2de84 into master May 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants