diff --git a/.travis.yml b/.travis.yml index f98fed0..94ab01f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,4 +2,3 @@ language: node_js node_js: - '12' - '10' - - '8' diff --git a/license b/license index e7af2f7..fa7ceba 100644 --- a/license +++ b/license @@ -1,6 +1,6 @@ MIT License -Copyright (c) Sindre Sorhus (sindresorhus.com) +Copyright (c) Sindre Sorhus (https://sindresorhus.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/package.json b/package.json index 2118764..fd68a0a 100644 --- a/package.json +++ b/package.json @@ -4,13 +4,14 @@ "description": "Serialize/deserialize an error into a plain object", "license": "MIT", "repository": "sindresorhus/serialize-error", + "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" + "url": "https://sindresorhus.com" }, "engines": { - "node": ">=8" + "node": ">=10" }, "scripts": { "test": "xo && ava && tsd" @@ -30,11 +31,11 @@ "deserialize" ], "dependencies": { - "type-fest": "^0.8.0" + "type-fest": "^0.12.0" }, "devDependencies": { "ava": "^2.4.0", - "tsd": "^0.8.0", + "tsd": "^0.11.0", "xo": "^0.24.0" } } diff --git a/readme.md b/readme.md index b47dc84..aa45241 100644 --- a/readme.md +++ b/readme.md @@ -4,14 +4,12 @@ Useful if you for example need to `JSON.stringify()` or `process.send()` the error. - ## Install ``` $ npm install serialize-error ``` - ## Usage ```js