@peter.naydenov/notice 2.2.0 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Changelog.md CHANGED
@@ -2,8 +2,18 @@
2
2
 
3
3
 
4
4
 
5
+
6
+ ### 2.2.2 ( 2023-11-09)
7
+ - [x] Badges and head image were added to README.md;
8
+
9
+
10
+
11
+ ### 2.2.1 ( 2023-10-23)
12
+ - [x] Fix: Calling 'Reset' breaks callback execution;
13
+
5
14
  ### 2.2.0 ( 2023-09-20)
6
15
  - [x] Listen with wildcard was added;
16
+ - [ ] Bug: Calling 'Reset' breaks callback execution;
7
17
 
8
18
 
9
19
 
package/README.md CHANGED
@@ -1,5 +1,17 @@
1
+ <img src="notice-desk.png" width="100%" alt="Notice" align="center" />
2
+
3
+ ----
4
+
5
+
6
+
1
7
  # Notice (@peter.naydenov/notice)
2
8
 
9
+ ![version](https://img.shields.io/github/package-json/v/peterNaydenov/notice)
10
+ ![license](https://img.shields.io/github/license/peterNaydenov/notice)
11
+ ![issues](https://img.shields.io/github/issues/peterNaydenov/notice)
12
+ ![npm package minimized gzipped size (scoped version select exports)](https://img.shields.io/bundlejs/size/%40peter.naydenov/notice)
13
+
14
+
3
15
  Notice is an simple event emitter. Define a behaviour related to event and then trigger the event.
4
16
 
5
17
  ## Installation
@@ -212,8 +224,8 @@ eBus.emit ( 'dummy' )
212
224
 
213
225
  ## External Links
214
226
 
215
- - [History of changes](https://github.com/PeterNaydenov/notice/Changelog.md)
216
- - [MIT License](https://github.com/PeterNaydenov/notice/LICENSE)
227
+ - [History of changes](https://github.com/PeterNaydenov/notice/blob/master/Changelog.md)
228
+ - [MIT License](https://github.com/PeterNaydenov/notice/blob/master/LICENSE)
217
229
 
218
230
 
219
231
 
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peter.naydenov/notice",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "Event emmiter - NOTICE",
5
5
  "main": "src/main.js",
6
6
  "type": "module",
@@ -23,7 +23,7 @@
23
23
  "license": "MIT",
24
24
  "devDependencies": {
25
25
  "c8": "^8.0.1",
26
- "chai": "4.3.8",
26
+ "chai": "4.3.10",
27
27
  "mocha": "10.2.0"
28
28
  },
29
29
  "c8": {
package/src/main.js CHANGED
@@ -29,7 +29,7 @@ function notice () {
29
29
  if ( scroll[e] ) delete scroll[e]
30
30
  } // off func.
31
31
  function reset () {
32
- scroll = {}
32
+ scroll = {'*':[]}
33
33
  scrollOnce = {}
34
34
  ignore = []
35
35
  } // reset func.