blns 1.0.1

  • Readme
  • Changelog
  • Example
  • Installing
  • 10

Dart CIPub Dart license Made with Spacemacs

The Big List of Naughty Strings is an evolving list of strings which have a high probability of causing issues when used as user-input data.

This library currently just exposes an array of all the naught strings, some examples being:

Powerلُلُصّبُلُلصّبُررً ॣ ॣh ॣ ॣ冗
🏳0🌈️
జ్ఞ‌ా
گچپژ
Ω≈ç√∫˜µ≤≥÷
åß∂ƒ©˙∆˚¬…æ
œ∑´®†¥¨ˆøπ“‘
¡™£¢∞§¶•ªº–≠
¸˛Ç◊ı˜Â¯˘¿
ÅÍÎÏ˝ÓÔÒÚÆ☃
Œ„´‰ˇÁ¨ˆØ∏”

Usage #

A simple usage example:

import 'package:blns/blns.dart';

void main() {
  List<String> blnsList = blns;

  // ...
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

1.0.0 #

  • Initial version, created by Stagehand

example/blns_example.dart

import 'package:blns/blns.dart';

void main() {
  List<String> blnsList = blns;

  // ...
}

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  blns: ^1.0.1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:blns/blns.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
0
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
52
Overall:
Weighted score of the above. [more]
10
Learn more about scoring.

We analyzed this package on Jul 3, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.13

Analysis issues and suggestions

Make sure dartfmt successfully runs on your package's source files.

Running dartfmt -n . failed with the following output:

Exception: dartfmt on lib/ failed with exit code 65
Could not format because the source could not be parsed:

line 24, column 5 of lib/src/blns_base.dart: Expected an identifier.
   ╷
24 │   "$1.00", 
   │     ^
   ╵
line 31, column 6 of lib/src/blns_base.dart: Expected an identifier.
   ╷

Health issues and suggestions

Fix lib/src/blns_base.dart. (-100 points)

Analysis of lib/src/blns_base.dart failed with 36 errors, including:

line 24 col 5: Const variables must be initialized with a constant value.

line 24 col 5: The values in a const list literal must be constants.

line 24 col 5: Expected an identifier.

line 31 col 6: Const variables must be initialized with a constant value.

line 31 col 6: The values in a const list literal must be constants.

Maintenance issues and suggestions

No valid SDK. (-20 points)

The analysis could not detect a valid SDK that can use this package.

Homepage URL doesn't exist. (-20 points)

At the time of the analysis the homepage field https://github.com/DartSociety/blns.dart was unreachable.

The package description is too short. (-8 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.7.0 <3.0.0
Dev dependencies
pedantic ^1.8.0
test ^1.6.0