Skip to content
Open
Show file tree
Hide file tree
Changes from all 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: 1 addition & 1 deletion lib/deserializer-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ module.exports = function (jsonapi, data, opts) {

// If option is present, transform record
if (opts && opts.transform) {
record = opts.transform(record);
record = opts.transform(record, data);
}

return record;
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "jsonapi-serializer",
"version": "3.6.7",
"description": "A Node.js framework agnostic library for serializing your data to JSON API",
"name": "jsonapi-serializer-cvaize",
"version": "3.7.8",
"description": "A fork of jsonapi-serializer",
"main": "index.js",
"scripts": {
"test": "./node_modules/mocha/bin/mocha"
},
"author": "Sandro Munda <sandro@munda.me>",
"author": "Orlov Dmitry <cvaize@gmail.com>",
"license": "MIT",
"repository": "SeyZ/jsonapi-serializer",
"repository": "cvaize/jsonapi-serializer",
"engines": {
"node": ">=0.12"
},
Expand Down