layerpro 2.0.1 → 2.0.3
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/COPYRIGHT.md +9 -0
- package/README.md +35 -3
- package/SECURITY.md +3 -0
- package/index.cjs +34 -501
- package/index.css +1 -0
- package/index.js +28 -501
- package/package.json +49 -33
- package/types/layerpro.d.ts +10 -3
- package/index.global.js +0 -545
package/COPYRIGHT.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Copyright
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026, Dario Passariello. All rights reserved.
|
|
4
|
+
Licensed under MIT License, see
|
|
5
|
+
<https://dario.passariello.ca>
|
|
6
|
+
|
|
7
|
+
This software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.
|
|
8
|
+
|
|
9
|
+
This software is licensed under the MIT License.
|
package/README.md
CHANGED
|
@@ -1,7 +1,29 @@
|
|
|
1
|
-
# LayerPro
|
|
1
|
+
# [LayerPro](https://npmjs.com/package/layerpro)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+

|
|
2
5
|
|
|
3
6
|
Drop-in replacement for browser modals with superpowers.
|
|
4
7
|
|
|
8
|
+
[](https://npmjs.org/package/layerpro)
|
|
9
|
+
[](https://packagephobia.now.sh/result?p=layerpro)
|
|
10
|
+
[](https://npmjs.org/package/layerpro)
|
|
11
|
+
|
|
12
|
+

|
|
13
|
+
[](https://snyk.io/test/npm/layerpro)
|
|
14
|
+
[](https://socket.dev/npm/package/layerpro)
|
|
15
|
+
|
|
16
|
+

|
|
17
|
+

|
|
18
|
+

|
|
19
|
+

|
|
20
|
+

|
|
21
|
+

|
|
22
|
+
|
|
23
|
+

|
|
24
|
+

|
|
25
|
+

|
|
26
|
+
|
|
5
27
|
---
|
|
6
28
|
|
|
7
29
|
## What is LayerPro?
|
|
@@ -58,11 +80,11 @@ That's it. Now you have `alert()`, `confirm()`, `prompt()`, and `message()` glob
|
|
|
58
80
|
alert("Hello World!");
|
|
59
81
|
|
|
60
82
|
confirm("Are you sure?", () => {
|
|
61
|
-
console.
|
|
83
|
+
console.debug("User clicked YES");
|
|
62
84
|
});
|
|
63
85
|
|
|
64
86
|
prompt("What's your name?", (name) => {
|
|
65
|
-
console.
|
|
87
|
+
console.debug("User entered:", name);
|
|
66
88
|
});
|
|
67
89
|
|
|
68
90
|
message("Operation complete!");
|
|
@@ -179,6 +201,16 @@ Chrome 80+ • Firefox 75+ • Safari 13+ • Edge 80+
|
|
|
179
201
|
|
|
180
202
|
---
|
|
181
203
|
|
|
204
|
+
We take security seriously. Every release is audited:
|
|
205
|
+
|
|
206
|
+
- [Socket.dev Audit](https://socket.dev/npm/package/dphelper)
|
|
207
|
+
- [Snyk Security Report](https://security.snyk.io/package/npm/dphelper)
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
Dario Passariello - <dariopassariello@gmail.com>
|
|
212
|
+
All rights reserved - Copyright (c) 2019 - 2026
|
|
213
|
+
|
|
182
214
|
## License
|
|
183
215
|
|
|
184
216
|
MIT
|
package/SECURITY.md
ADDED