Commit Graph

68 Commits

Author SHA1 Message Date
Asher Gomez
58dbbd6bd2
chore: enable no-console lint rule (#5975) 2024-09-13 15:43:13 +10:00
Asher Gomez
43102325b7
test: use Deno.errors.NotCapable where appropriate (#5935)
* test: use `Deno.errors.NotCapable` where appropriate

* copyright headers

* fixes

* fixes

* fixes
2024-09-11 19:17:27 +09:00
denobot
67e9cfa0ff
chore: release 2024.09.04 (#5908)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-09-04 19:37:53 +09:00
Kenta Moriuchi
4d4bd0eb92
refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml): enable "exactOptionalPropertyTypes" option (#5892) 2024-09-04 14:15:01 +09:00
Emerson Laurentino
8b9a139472
fix(dotenv): handle single-quotes in values in stringify() (#5846)
* refactor(dotenv): add parse function and test

* refactor(dotenv): escape single quotes in stringify function

* refactor(dotenv): fix stringify function to correctly escape single quotes

* refactor(dotenv): fix stringify function to correctly escape single quotes

* tweak

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-29 10:32:39 +10:00
denobot
2b3683b6fb
chore: release 2024.08.26 (#5824)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-26 17:33:29 +09:00
Yoshiya Hinosawa
ce40f0bae1
fix(dotenv): show warning when there is invalid key in .env file (#5745) 2024-08-21 14:56:34 +09:00
denobot
3ee4c4dd43
chore: release 2024.07.19 (#5494)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-19 20:22:43 +09:00
Asher Gomez
ff60cefa52
BREAKING(dotenv): remove defaultPath option from load[Sync]() (#5451)
* BREAKING(dotenv): remove `defaultPath` option from `load[Sync]()`

* cleanup
2024-07-19 14:08:39 +10:00
Asher Gomez
27596868ca
BREAKING(dotenv): remove examplePath option from load[Sync]() (#5450)
* BREAKING(dotenv): remove `examplePath` option from `load[Sync]()`

* work
2024-07-19 13:46:23 +10:00
denobot
940568c62d
chore: release 2024.07.02 (#5254)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-02 20:43:42 +09:00
Asher Gomez
d102a10235
refactor(assert,async,bytes,cli,collections,crypto,csv,data-structures,datetime,dotenv,encoding,expect,fmt,front-matter,fs,html,http,ini,internal,io,json,jsonc,log,media-types,msgpack,net,path,semver,streams,testing,text,toml,ulid,url,uuid,webgpu,yaml): import from @std/assert (#5199)
* refactor: import from `@std/assert`

* update
2024-06-30 08:30:10 +00:00
denobot
7d1d9cc34a
chore: release 2024.06.21 (#5107)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-06-21 19:15:49 +09:00
Yoshiya Hinosawa
21e8ece519
docs(dotenv): improve dotenv docs (#5095) 2024-06-21 13:21:26 +09:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Asher Gomez
46d9fa594c
chore: update browser-compatible files with declaration (#4560) 2024-04-10 12:43:44 +10:00
Asher Gomez
ef0d782254
chore: enable camelcase lint rule (#4440) 2024-03-05 14:57:14 +11:00
cin
d8a912feb3
refactcor(dotenv): prepare for noUncheckedIndexedAccess (#4261)
* refatcor: prepare for noUncheckedIndexedAccess

* fix: type check

* fix: lint

* fix: cr
2024-02-02 08:34:42 +11:00
David Luis
ad4abccb66
docs: replace markdown hyperlink syntax with {@link} tag where necessary. (#4253)
docs: replaces markdown hyperlink syntax with `{@link}` tag when necessary.
2024-02-01 09:19:46 +11:00
Asher Gomez
805b926032
fix: add --no-lock to spawned process args in tests (#4168) 2024-01-12 13:38:41 +09:00
Asher Gomez
8ac25e3b0c
docs(dotenv): complete documentation (#4164) 2024-01-11 17:03:46 +11:00
Lino Le Van
c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Tim Reichen
1589bf3be2
refactor(dotenv): format test names (#3996) 2023-12-20 21:01:13 +11:00
David Sherret
b0803619af
refactor: add some missing explicit types (#3997)
* refactor: add some missing return types and mark some non-exported types as `@internal`

* Update expect/fn.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* Remove @internals

* nits

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-19 00:26:13 +00:00
Asher Gomez
7b0e8c8522
refactor(dotenv): move parse() to own file (#3873) 2023-11-29 04:42:14 +00:00
Asher Gomez
cf27fa4e41
refactor(dotenv): move stringify() to own file (#3872) 2023-11-29 15:34:25 +11:00
Asher Gomez
6a0393652a
BREAKING(dotenv): remove deprecated restrictEnvAccessTo option (#3705) 2023-10-22 10:54:32 +09:00
Yoshiya Hinosawa
5acfd47073
test: make dotenv/load_test.ts less flaky (#3644) 2023-09-22 21:18:08 +09:00
Yoshiya Hinosawa
9479524eac
test(dotenv): await assertRejects (#3651) 2023-09-19 23:29:09 +09:00
Chris Knight
f6d0d8a954
BREAKING(dotenv): fix dotenv permissions (#3578)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-08-29 16:36:26 +09:00
Lino Le Van
2b5d71224f
refactor: cleanup usage of double equals (#3566)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-08-25 18:04:43 +09:00
Chris Knight
e5ebb6b641
docs(dotenv): improve dotenv config option description (#3570)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-08-24 13:02:17 +09:00
Chris Knight
b34c646c45
doc: add complete docs for all dotenv functionality (#3560) 2023-08-23 08:01:46 +09:00
ud2
159060b15c
perf: repoint internal imports to single-export files (#3537) 2023-08-14 16:08:42 +09:00
denobot
d84f4b1c94
0.197.0 (#3514)
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-08-03 17:16:38 +02:00
Brian Knight
5b480e3a23
docs(dotenv): add documentation about default .env values (#3506) 2023-07-28 15:19:41 +09:00
Asher Gomez
239e85ad6a
BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
Martin Fischer
a5b1d80736
chore: fix typos (#3458)
The typos were found with the typos[1] spell checker.  That spell
checker will be incorporated into the CI in a followup PR.

[1]: https://github.com/crate-ci/typos
2023-06-22 01:27:37 +09:00
Jesse Jackson
29e2dc51e1
feat(dotenv): allow reading from .env files without granting env access (#3306) 2023-04-19 18:05:51 +09:00
Jesse Jackson
6259d35f96
fix(dotenv): allow null for *path values (#3221) 2023-04-04 14:06:53 +09:00
Asher Gomez
c1637bdcbb
BREAKING(dotenv,fmt,io): remove deprecated APIs (#3134) 2023-01-27 16:24:10 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
Asher Gomez
ae3663e74c
chore: move deprecated removal versions back (#3032) 2022-12-22 17:01:00 +09:00
Asher Gomez
a5779f41cb
refactor(dotenv): minor cleanups (#2987) 2022-12-08 01:51:21 +09:00
Asher Gomez
05d7dda8b2
refactor(dotenv): remove duplicated functionality (#2978) 2022-12-05 16:05:16 +09:00
Tim Reichen
3baa3da018
BREAKING(dotenv): rename config to load (#2616) 2022-12-05 15:57:10 +09:00
Lino Le Van
8e46f5953e
chore: remove _util/assert_type.ts (#2952) 2022-11-29 13:49:59 +09:00
Yuki Tanaka
b53d43d725
feat(dotenv): support type inference based on restrictEnvAccessTo option (#2933) 2022-11-25 15:02:09 -05:00
Leo Kettmeir
aba5017d43
docs: reorganize docs (#2658) 2022-11-25 12:40:23 +01:00
Asher Gomez
b72d3eb42a
refactor: replace Deno.spawn with Deno.Command (#2886) 2022-11-15 15:00:59 +09:00