From 5dbc9b5044c387853e026eee0d98644dca24ea39 Mon Sep 17 00:00:00 2001 From: thomashii Date: Sat, 26 Jun 2021 19:41:35 +0800 Subject: [PATCH] Updated security --- packages/security/CHANGELOG.md | 5 +++++ packages/security/README.md | 2 +- packages/security/example/{rate_limit.dart => main.dart} | 0 packages/security/lib/angel3_security.dart | 2 +- packages/security/pubspec.yaml | 2 +- 5 files changed, 8 insertions(+), 3 deletions(-) rename packages/security/example/{rate_limit.dart => main.dart} (100%) diff --git a/packages/security/CHANGELOG.md b/packages/security/CHANGELOG.md index 7a416335..5f470b85 100644 --- a/packages/security/CHANGELOG.md +++ b/packages/security/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 3.0.1 + +* Run `dartfmt -w .` to correct the formating +* Updated example + ## 3.0.0 * Migrated to support Dart SDK 2.12.x NNBD diff --git a/packages/security/README.md b/packages/security/README.md index c9857d2b..3b469087 100644 --- a/packages/security/README.md +++ b/packages/security/README.md @@ -1,6 +1,6 @@ # Angel3 Security -[![version](https://img.shields.io/badge/pub-v3.0.0-brightgreen)](https://pub.dartlang.org/packages/angel3_security) +[![version](https://img.shields.io/badge/pub-v3.0.1-brightgreen)](https://pub.dartlang.org/packages/angel3_security) [![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety) [![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion) diff --git a/packages/security/example/rate_limit.dart b/packages/security/example/main.dart similarity index 100% rename from packages/security/example/rate_limit.dart rename to packages/security/example/main.dart diff --git a/packages/security/lib/angel3_security.dart b/packages/security/lib/angel3_security.dart index 98a01dd1..c8db21de 100644 --- a/packages/security/lib/angel3_security.dart +++ b/packages/security/lib/angel3_security.dart @@ -2,4 +2,4 @@ export 'src/cookie_signer.dart'; export 'src/in_memory_rate_limiter.dart'; export 'src/rate_limiter.dart'; export 'src/rate_limiting_window.dart'; -export 'src/service_rate_limiter.dart'; \ No newline at end of file +export 'src/service_rate_limiter.dart'; diff --git a/packages/security/pubspec.yaml b/packages/security/pubspec.yaml index b2437ee0..91afdaea 100644 --- a/packages/security/pubspec.yaml +++ b/packages/security/pubspec.yaml @@ -1,5 +1,5 @@ name: angel3_security -version: 3.0.0 +version: 3.0.1 description: Angel infrastructure for improving security, rate limiting, and more homepage: https://github.com/dukefirehawk/angel/tree/angel3/packages/security environment: