199 Commits

Author SHA1 Message Date
Mariusz Nowak
582d150ceb refactor(Variables): Cleanup handling of variableSyntax default 2021-06-02 15:17:06 +02:00
Mariusz Nowak
8d56d0e520 style: Prettier 2021-05-10 13:07:44 +02:00
Piotr Grzesik
8c37e0ac6d refactor: Adjust invalid code for ServerlessError 2021-04-23 13:34:20 +02:00
Piotr Grzesik
82040b427e refactor: Add code to ServerlessError in lib/classes 2021-04-23 13:34:20 +02:00
Mariusz Nowak
87d380275b refactor: Replace config.servicePath with service.dir 2021-04-16 13:32:13 +02:00
Piotr Grzesik
d26e2ae4b8 refactor(AWS Credentials): Remove undocumented provider.credentials 2021-04-13 09:04:57 +02:00
Mariusz Nowak
2011649537 refactor: Remove injustified "eslint-disable" comments 2021-04-02 15:05:03 +02:00
Piotr Grzesik
c41bd64bb2 refactor: Revert removal of bluebird from lib/classes
This reverts commit 1a694ae4aab0a347b018380110b9a436f6c43c1e.
2021-03-04 11:06:44 +01:00
Juanjo Diaz
1a694ae4aa
refactor: Remove bluebird from lib/classes (#8943) 2021-02-19 18:03:04 +01:00
Piotr Grzesik
496d3574c6 fix(Variables): Properly resolve vars if prototype in path 2021-02-17 17:13:47 +01:00
Juanjo Diaz
006557d847
refactor: Use standalone ServerlessError. (#8897) 2021-02-09 09:20:55 +01:00
Gareth Jones
33cffc3509
feat(Variables): Introduce unresolvedVariablesNotificationMode (#8710) 2021-01-14 08:54:15 +01:00
Mariusz Nowak
cf7b25e458 style: Upgrade "prettier" to v2 2021-01-04 16:21:24 +01:00
Antoine Pham
eb11e6d92b
fix(Variables): Fix when properties are null (#8165)
* fix(Variables): Fix when properties are null

* Simplify null/undefined check

Co-authored-by: Piotr Grzesik <pj.grzesik@gmail.com>
2020-12-22 17:43:56 +01:00
Juanjo Diaz
84d423d3be
refactor: Convert to native Promise and async/await (#8593) 2020-12-16 17:22:37 +01:00
Mariusz Nowak
fd451caf90 fix(Variables): Fix handling of circular object references 2020-10-05 15:47:41 +02:00
Dai Van Nguyen
4c33476210
refactor: Replace _.isEmpty with native counterparts (#7873) 2020-06-25 15:17:52 +02:00
Nguyễn Việt Đức
4c6f8be5cc
refactor: Replace _.map with array.map (#7827) 2020-06-12 09:59:42 +02:00
Nguyễn Việt Đức
20cef81555
refactor: Replace _.isUndefined with native checks (#7826) 2020-06-12 09:54:00 +02:00
Wing-Kam
9f3ee94a74
refactor: Replace _.isString(value) with typeof value === 'string'
(PR #7812)
2020-06-03 16:17:04 +02:00
Wing-Kam
e42ab2cda6
refactor: Replace _.isFunction with typeof value === 'function'
(PR #7810)
2020-06-03 15:54:49 +02:00
Nguyễn Việt Đức
85e9cd4455
refactor: Replace _.assign and _.extend with Object.assign (#7766) 2020-05-26 10:24:46 +02:00
Steven Rapp
89ba272a63
feat(Variables): Support non-function exports in js files (#7540) 2020-05-21 11:28:38 +02:00
Kenan Christian Dimas
c106d53638
refactor: Upgrade 'fs-extra' to v8 (#7719) 2020-05-13 16:16:17 +02:00
TATSUNO Yasuhiro
3fe2e98f15
refactor: Replace _.isArray with native Array.isArray (#7703) 2020-05-11 10:24:41 +02:00
Frédéric Barthelet
f22bffc2b4
feat(Variables): Support boolean and integer fallbacks (#7632)
Additionally improved string related regex
2020-05-04 13:00:07 +02:00
Frédéric Barthelet
7d3636f968
feat(Variables): Support region selection of SSM variables (#7625) 2020-04-27 10:52:11 +02:00
Mariusz Nowak
304f0ec2b9 refactor(Variables): Clear ineffective promise functions usage 2020-01-29 14:45:12 +04:00
Mariusz Nowak
bc5bbbed3c fix(Variables): Ensure to retrieve status code correctly
It changed with #7237
2020-01-29 14:45:12 +04:00
Mariusz Nowak
31987ce072 refactor(Variables): Reflect if/else logic in async handling 2020-01-29 14:45:12 +04:00
Mariusz Nowak
4893f7d0c2 fix(Variables): Ensure no same object instances are shared across config
Fixes #7098
2019-12-19 12:05:33 +01:00
Peter Indiola
4adc5cc197 Fix spelling and typos in docs, code variables and code comments 2019-11-20 23:28:56 +08:00
Miguel A. Calles, MBA
ac747109e2
Update Variables.js 2019-10-31 15:35:06 -07:00
Miguel A. Calles, MBA
4cd4536abc
Prettify 2019-10-31 13:13:34 -07:00
Miguel A. Calles, MBA
7eaa4a5e41
Update Variables.js 2019-10-31 07:54:52 -07:00
Miguel A. Calles, MBA
994a6f5f56
Update Variables.js 2019-10-29 15:03:29 -07:00
Miguel A. Calles, MBA
dc99b12dcb
Update Variables.js 2019-10-28 06:52:24 -07:00
Miguel A. Calles, MBA
e5ae498690
Prettify 2019-10-25 09:51:49 -07:00
Miguel A. Calles, MBA
950c9826e6
Update Variables.js 2019-10-25 09:10:12 -07:00
Miguel A. Calles, MBA
194eac116d
Update Variables.js 2019-10-25 08:22:44 -07:00
Miguel A. Calles, MBA
12e090295e
Update Variables.js 2019-10-25 08:21:42 -07:00
Miguel A. Calles, MBA
c1b1620d4e
Update Variables.js 2019-10-24 15:10:28 -07:00
Miguel A. Calles, MBA
c727831760
Linting 2019-10-22 07:24:20 -07:00
Miguel A. Calles, MBA
f0ced28d95
Using strToBool in variables 2019-10-22 07:19:43 -07:00
Miguel A. Calles, MBA
20b5e96a93
Prettier 2019-10-21 20:06:18 -07:00
Miguel A. Calles, MBA
2c75e1f6ca
Bug fix in toBool casting 2019-10-21 16:56:50 -07:00
Miguel A. Calles, MBA
c7da85eba8
Updated variables to include toBool casting. 2019-10-21 16:18:43 -07:00
Doug Moscrop
0fe004e942 allow empty arrays in overrides 2019-10-09 18:44:41 -04:00
Daniel Schep
a231e0302d changes for @erikerikson's review 2019-08-30 09:29:12 -04:00
Daniel Schep
43076c0f22 Merge remote-tracking branch 'origin/master' into custom-variable-getters 2019-08-29 12:38:58 -04:00