Skip to content
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

Export JSONPatcherProxy as ES Module, #57

Merged
merged 5 commits into from
Sep 2, 2019
Merged

Export JSONPatcherProxy as ES Module, #57

merged 5 commits into from
Sep 2, 2019

Conversation

tomalec
Copy link
Member

@tomalec tomalec commented Aug 21, 2019

adjust tests to use ES Modules

requires npm link fast-json-patch to Starcounter-Jack/JSON-Patch#232

adjust tests to use ES Modules
@tomalec tomalec requested a review from warpech August 21, 2019 14:26
@warpech
Copy link
Contributor

warpech commented Aug 21, 2019

I will review tomorrow, but we can already see that Travis config needs to be updated.

@tomalec
Copy link
Member Author

tomalec commented Aug 22, 2019

Travis fixed https://travis-ci.org/Palindrom/JSONPatcherProxy/builds/575272306
(GH-Travis integration has some performance problems today)

@tomalec
Copy link
Member Author

tomalec commented Aug 27, 2019

The last Travis build to check is at https://travis-ci.org/Palindrom/JSONPatcherProxy/builds/575272306, I have no idea why the last commit is not visible here (6e72454).

to refresh GitHub and Travis
Copy link
Contributor

@warpech warpech left a comment

Choose a reason for hiding this comment

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

Tested by running npm run build, npm run test, npm run bench, running the Jasmine spec runner in Chrome and FF and reading through the source code.

Jasmine spec runner does not work in Edge/EdgeHTML, but we decided to not care about that. It doesn't mean a flaw in the library (which is transpiled with Webpack), but a "flaw" of using ES Module directly in the spec runner.

Jasmine spec runner does not show benchmarks in Firefox, because of no availability of importmaps in that browser. That is OK.

@tomalec tomalec merged commit 1ccb9e2 into master Sep 2, 2019
@tomalec tomalec deleted the module branch September 2, 2019 08:32
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.

2 participants