mswjs / data

Data modeling and relation library for testing JavaScript applications.

Home Page:https://npm.im/@mswjs/data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wondering when this take/skip parseInt fix will be released?

nikolasleblanc opened this issue · comments

const skip = rawSkip == null ? rawSkip : parseInt(rawSkip, 10)

Ran into an issue yesterday where take and skip weren't working until we parsed the strings as ints. See in your code you're now handling that, but not in the released version we have via npm. Any timeline? No rush since we've handled it on our end but curious.

Thanks!

Hey, @nikolasleblanc.

The fix has been released as long as in version 0.4.1 (the latest at the moment is 0.5.1). Please install the latest version via

$ npm install @mswjs/data@latest