sensitive 1.0.1 copy "sensitive: ^1.0.1" to clipboard
sensitive: ^1.0.1 copied to clipboard

Analyzer plugin that keeps secrets out of logs. A value annotated with @Sensitive must not be interpolated, stringified, logged, or put into an exception message.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add sensitive

With Flutter:

 $ flutter pub add sensitive

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  sensitive: ^1.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:sensitive/sensitive.dart';
0
likes
160
points
124
downloads

Documentation

API reference

Publisher

verified publisherarxdeus.dev

Weekly Downloads

Analyzer plugin that keeps secrets out of logs. A value annotated with @Sensitive must not be interpolated, stringified, logged, or put into an exception message.

Repository (GitHub)
View/report issues
Contributing

Topics

#analyzer-plugin #lints #static-analysis #security

Funding

Consider supporting this project:

ko-fi.com

License

MIT (license)

Dependencies

analysis_server_plugin, analyzer, analyzer_plugin, analyzer_plugin_toolkit

More

Packages that depend on sensitive