Jonas Finnemann Jensen

Results 199 issues of Jonas Finnemann Jensen

If the path to any `*.dart` file under `lib/` or `bin/` contains upper-case letters, that includes their parent folders. Then we should warn against this when publishing. It'll create a...

type-enhancement

If there is an `doc/api/index.html` we should offer a suggestion that dartdoc results should not be included in the uploaded package. Credits @isoos in https://github.com/dart-lang/pana/issues/521 for suggesting this.

type-enhancement

`dart pub publish` should warn if files aren't formatted.

type-enhancement

I've been happy using `check(result).equals(today)`, but `isAtSameMomentAs` would be really nice to have in cases where the timezone encoding changed, but the moment in time is the same. `DateTime` is...

type-enhancement
package:checks

This gets very confusing when running a larger test suite. ``` $ dart test -r expanded test/ 00:00 +0: loading test/b_test.dart 00:00 +0: test/a_test.dart: calculate A 00:00 +1: test/b_test.dart: calculate...

package:test

We should be consistent in what resources we link to when linking to RFCs.

good first issue

We could do: ```dart typedef KeyPair = ({T privateKey, S publicKey}); ``` Instead of having a `KeyPair` class, it's not like we need the class for anything, all it does...

enhancement

It would be nice to show using a tutorial (and tests) that we don't need to support `deriveKey` because the functionality is trivial to replicate using `deriveBits` and `importRawKey`. TODO:...

documentation

While native hooks in the Dart and Flutter SDK are still experimental, we should explore using them for building. This would allow this package to no longer be a Flutter...

enhancement

The webcrypto API is only available in "secure contexts". We should detect when this isn't the case, make sure we throw `UnsupportedError` with a description error message, and ideally a...