Raymond Feng
3eeaaef75a
Merge pull request #90 from strongloop/root-property
...
feat: Add options.rootProperty
2020-06-23 10:37:02 -07:00
Raymond Feng
bda981feb8
feat: add options.rootProperty for json/xml
...
Using `error` as the root property is a good default but we should
be able to use a different one or don't use it at all.
2020-06-23 10:05:24 -07:00
Raymond Feng
36d2b18a17
chore: update deps and drop Node 8.x support
...
- Upgrade dependencies
- Drop Node 8.x support as it has reached EOL
BREAKING CHANGE: Node 8.x is no longer supported.
2020-06-23 10:05:24 -07:00
Miroslav Bajtoš
b0b138a74d
3.4.0
...
* chore: js2xmlparser to ^4.0.0 (Miroslav Bajtoš)
* chore: update dev-dependencies (mocha, supertest) (Miroslav Bajtoš)
* chore: update eslint & config to latest (Miroslav Bajtoš)
* chore: update strong-globalize to ^5.0.2 (Miroslav Bajtoš)
* chore: update debug to ^4.1.1 (Miroslav Bajtoš)
* feat: drop support for Node.js 6.x (Miroslav Bajtoš)
2019-10-12 09:53:58 +02:00
Miroslav Bajtoš
875809d76d
Merge pull request #87 from strongloop/update-deps
...
Update dependencies to their latest versions, replace "var" with "const"
2019-10-12 09:53:27 +02:00
Miroslav Bajtoš
69ea022e5c
chore: js2xmlparser to ^4.0.0
...
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-10-12 09:45:05 +02:00
Miroslav Bajtoš
257adade3d
chore: update dev-dependencies (mocha, supertest)
...
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-10-12 09:45:05 +02:00
Miroslav Bajtoš
67fc40b78b
chore: update eslint & config to latest
...
Replace `var` with `const` and `let`.
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-10-12 09:44:54 +02:00
Miroslav Bajtoš
c74146dc1a
chore: update strong-globalize to ^5.0.2
...
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-10-11 16:50:19 +02:00
Miroslav Bajtoš
201a3a5745
chore: update debug to ^4.1.1
...
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-10-11 16:50:19 +02:00
Miroslav Bajtoš
5c2e2ba0a8
Merge pull request #86 from strongloop/drop-node6
...
Drop support for Node.js 6.x, start testing Node.js 12.x
2019-10-11 16:49:39 +02:00
Miroslav Bajtoš
2b82969706
feat: drop support for Node.js 6.x
...
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-10-11 16:04:09 +02:00
Miroslav Bajtoš
d781b3555f
3.3.0
...
* fix: handle Error objects with circular properties (dkrantsberg)
* chore: update copyrights years (Agnes Lin)
2019-09-30 08:11:29 +02:00
Miroslav Bajtoš
4735e34943
Merge pull request #85 from dkrantsberg/safe-json-strongify
...
Handle Error objects with circular references
2019-09-30 08:10:59 +02:00
dkrantsberg
4b3c802088
fix: handle Error objects with circular properties
2019-09-30 07:58:34 +02:00
Diana Lau
7dabb649a3
Merge pull request #82 from strongloop/copyrights
...
chore: update copyrights years
2019-05-09 16:31:29 -04:00
Agnes Lin
589e432812
chore: update copyrights years
2019-05-09 08:51:57 -04:00
Raymond Feng
e7aa8353e7
3.2.0
...
* Add type definition and writeErrorToResponse (shimks)
2018-08-30 10:03:22 -07:00
Kyusung Shim
4e2990600f
Merge pull request #77 from strongloop/export-build-response-data
...
add types and introduce writeErrorToResponse
2018-08-30 12:53:23 -04:00
shimks
80ebf30cfa
Add type definition and writeErrorToResponse
2018-08-30 12:09:28 -04:00
Diana Lau
8b35494da0
3.1.0
...
* [WebFM] cs/pl/ru translation (candytangnb)
2018-07-16 20:12:55 -04:00
Miroslav Bajtoš
7590590f26
Merge pull request #76 from candytangnb/webfm-0628-235010-cs,pl,ru-translation
...
[WebFM] cs/pl/ru translation Check-in by YI TANG (tangyinb@cn.ibm.com )
2018-07-02 09:29:57 +02:00
candytangnb
3d1d177a5c
[WebFM] cs/pl/ru translation
...
cs/pl/ru translation check-in by YI TANG (tangyinb@cn.ibm.com ) using
WebFM tool.
2018-06-28 23:50:10 -04:00
Diana Lau
b5e9abdc45
3.0.0
...
* Allow safeFields to work with arrays (shimks)
* run lint (shimks)
* drop node 4 from travis and update dependencies (shimks)
2018-06-11 20:41:32 -04:00
Kyusung Shim
0a39f8466a
Merge pull request #73 from strongloop/array-safefields
...
Allow safeFields to work with arrays
2018-06-11 11:11:33 -04:00
shimks
7828534804
Allow safeFields to work with arrays
...
Co-authored-by: Miroslav Bajtos <mbajtoss@gmail.com>
2018-06-08 15:01:45 -04:00
Kyusung Shim
a431cf54fa
Merge pull request #74 from strongloop/drop-node-4
...
Drop node 4, update dependencies and status on maintenance
2018-06-08 14:59:58 -04:00
shimks
b7b3961ff2
run lint
2018-06-07 12:47:21 -04:00
shimks
56d26b377e
drop node 4 from travis and update dependencies
2018-06-07 12:47:13 -04:00
Miroslav Bajtoš
3ec47f84fd
2.3.2
...
* Undefined safeFields revert to data #71 (Zak Barbuto)
2018-03-05 09:58:43 +01:00
Miroslav Bajtoš
93792910c9
Merge pull request #72 from strongloop/fix/71-safe-fields-defaults
...
Undefined safeFields revert to data #71
2018-03-05 09:58:12 +01:00
Zak Barbuto
0ce15b2d27
Undefined safeFields revert to data #71
2018-03-05 14:09:51 +10:30
Miroslav Bajtoš
d17d2a9551
2.3.1
...
* Escape strings in HTML output (XSS fix) (Zachery Metcalf)
* Update LICENSE.md (Diana Lau)
2018-01-25 14:38:01 +01:00
Miroslav Bajtoš
89b6183704
Merge pull request #69 from superhumane/xss_fix
...
Escape strings in HTML output (XSS fix)
2018-01-25 14:37:30 +01:00
Zachery Metcalf
35328be26b
Escape strings in HTML output (XSS fix)
...
Modify the template producing HTML error responses to correctly
escape all strings that are possibly coming from the client making the
request. Before this change, the error responses were vulnerable to XSS
(cross-site scripting) attacks.
2018-01-25 14:16:24 +01:00
Diana Lau
4c69370751
Update LICENSE.md
2017-11-10 23:32:39 -05:00
Miroslav Bajtoš
1117948629
2.3.0
...
* update strong-globalize to 3.1.0 (shimks)
* CODEOWNERS: add zbarbuto (Miroslav Bajtoš)
* Update Issue and PR Templates (#59 ) (Sakib Hasan)
* fixed json typo of server/middleware.json (karanssj4)
* Add CODEOWNER file (Diana Lau)
2017-10-13 13:15:58 +02:00
Miroslav Bajtoš
61505f3dd1
Merge pull request #64 from strongloop/update-strong-globalize
...
update strong-globalize to 3.1.0
2017-10-13 13:15:13 +02:00
shimks
b4ec4e7645
update strong-globalize to 3.1.0
2017-10-12 22:54:27 -04:00
Miroslav Bajtoš
8979744cd5
Merge pull request #62 from strongloop/welcome-zbarbuto
...
CODEOWNERS: add zbarbuto
2017-09-27 11:11:30 +02:00
Miroslav Bajtoš
7d0682e7ae
CODEOWNERS: add zbarbuto
2017-09-25 09:58:12 +02:00
Sakib Hasan
0ee193bb61
Update Issue and PR Templates ( #59 )
...
* update issue template
* update pr template
2017-08-16 11:24:49 -04:00
Miroslav Bajtoš
0bb801bed6
Merge pull request #58 from karanssj4/patch-1
...
fix json typo of server/middleware.json
2017-08-02 14:06:43 +02:00
karanssj4
99e69336d9
fixed json typo of server/middleware.json
...
the json format is valid now
2017-08-02 14:21:49 +05:30
Diana Lau
5acee7e873
Merge pull request #57 from strongloop/add-codeowner
...
Add CODEOWNER file
2017-07-26 20:45:32 -04:00
Diana Lau
69eb7209c5
Add CODEOWNER file
2017-07-25 20:37:59 -04:00
Miroslav Bajtoš
3bf59a7d17
2.2.0
...
* Add new option: negotiateContentType (Raj)
2017-07-20 10:27:02 +02:00
Miroslav Bajtoš
68e0aa58d1
Merge pull request #55 from charanrajtc/added-response-format-option
...
Add contentType option for passing mandatory type
2017-07-20 10:26:37 +02:00
Raj
4d973929c1
Add new option: negotiateContentType
...
The option controls whether response content type is negotiated with
the client and it's enabled by default.
2017-07-20 10:19:29 +02:00
Miroslav Bajtoš
323cd4dfbf
2.1.0
...
* Bump js2xmlparser dependency to version 3.0.0 (Matthew O'Donoghue)
2017-04-18 15:34:51 +02:00