Comparing version 1.0.0-beta to 2.0.0
{ | ||
"url": "https://github.com/odahcam/bootify", | ||
"name": "bs-notify", | ||
"version": "1.0.0-beta", | ||
"author": "machado@odahcam.com" | ||
"name": "bs-notify", | ||
"version": "2.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/npm/deprecate-holder.git" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/npm/deprecate-holder/issues" | ||
}, | ||
"homepage": "https://github.com/npm/deprecate-holder#readme" | ||
} |
@@ -1,73 +0,5 @@ | ||
# Bootify | ||
## A [*Boot*][0]strap 3 Not[*ify*][1]ing Plugin | ||
Floating page push notifications with **Bootstrap 3**. | ||
# Deprecated Package | ||
[0]: getbootstrap.com.br | ||
[1]: github.com/odahcam/bootify | ||
This package is no longer supported and has been deprecated. To avoid malicious use, npm is hanging on to the package name. | ||
### Default Settings | ||
```javascript | ||
bootify({ | ||
message: 'Helo!', | ||
type: 'info', | ||
position: 'bottom-center', | ||
icon: undefined, | ||
timeout: false, | ||
animationDuration: 300, | ||
dismissable: true | ||
}); | ||
``` | ||
### Options Settings | ||
To use your own settings, take the default example above and replace with your values. You can also remove the keys you will not change. | ||
Option | Default Value | Descrition | ||
:--- | :--- | :--- | ||
`message` | `'Helo!'` | Any, **any**, HTML String! | ||
`type` | `'info'` | A raw string that can be any of Bootstrap 3 alert type classes without the `alert-` preffix. [Available types](#types). | ||
`icon` | based on choosen `type` OR `undefined` | An icon following the standard Bootstrap 3 glyphicons name without the `glyphicon-` preffix. [Icons choosen by type](#icon-defaults). | ||
`position` | `'bottom-center'` | A raw string with two segments of align separated by hypehn follo0wing the pattern: `vertical-horizontal`. [Supported positions](#supported-positions). | ||
`timeout` | `false` | The time in seconds for hide the notification (`.alert` element). If `false` or `0`, the notification will not auto-hide. | ||
`dismissable` | `true` | Shows or hides the dismiss × button. It can be `true` or `false`. | ||
`animationDuration` | `300` | The notification hide animation duration in milliseconds (`ms`). | ||
#### Types | ||
The alert types available, for styling: | ||
- info | ||
- success | ||
- warning | ||
- danger | ||
[See more about Bootsrap `alert`s](https://getbootstrap.com/components/#alerts). | ||
#### Supported Positions | ||
Supported | Sinonymus | ||
:---: | :---: | ||
`top-center` | `top` | ||
`top-left` | `left-top` | ||
`top-right` | `right-top` | ||
`bottom-center` | `bottom` | ||
`bottom-left` | `left-bottom` | ||
`bottom-right` | `right-bottom` | ||
#### Icon Defaults | ||
By default, if it's not defined, it will turn into an icon choosen by the type: | ||
```javascript | ||
{ | ||
warning: 'exclamation-sign', | ||
success: 'ok-sign', | ||
danger: 'remove-sign', | ||
info: 'info-sign' | ||
} | ||
``` | ||
---- | ||
Good Luck. | ||
Please contact support@npmjs.com if you have questions about this package. |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1
0
672
2
0
6
3