Skip to content

Commit

Permalink
Move tslib to dependencies, fixes #167
Browse files Browse the repository at this point in the history
  • Loading branch information
af committed Aug 16, 2021
1 parent 0e5d6f2 commit f4789ed
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Version 7 is a major update, with several breaking changes. Please review the br
below before upgrading:

* Rewritten in TypeScript
* Removed _all_ runtime dependencies
* Removed _all_ runtime dependencies except for [tslib](https://github.com/Microsoft/tslib)
* The mode-currently-known-as-`strict` is removed, and its behavior is enabled by default. This means:
* The env object will *only* contain the env vars that were specified by your `validators`.
* Any attempt to access an invalid/missing property on the env object will cause a thrown error.
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,16 @@
"environment variable",
"validation"
],
"dependencies": {},
"dependencies": {
"tslib": "2.3.1"
},
"devDependencies": {
"@types/jest": "26.0.24",
"@types/node": "16.4.0",
"husky": "4.3.6",
"jest": "27.0.6",
"prettier": "2.3.2",
"ts-jest": "27.0.4",
"tslib": "2.3.0",
"typescript": "4.3.5"
},
"author": "Aaron Franks",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2579,10 +2579,10 @@ ts-jest@27.0.4:
semver "7.x"
yargs-parser "20.x"

tslib@2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.0.tgz#803b8cdab3e12ba581a4ca41c8839bbb0dacb09e"
integrity sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==
tslib@2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==

type-check@~0.3.2:
version "0.3.2"
Expand Down

0 comments on commit f4789ed

Please sign in to comment.