flicker-alerts 1.0.30 → 1.0.31
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +0 -11
- package/package.json +2 -2
package/index.js
CHANGED
@@ -1,15 +1,4 @@
|
|
1
1
|
|
2
|
-
if (typeof document !== 'undefined') {
|
3
|
-
const existingLink = document.getElementById('dynamic-stylesheet');
|
4
|
-
if (!existingLink) {
|
5
|
-
const link = document.createElement('link');
|
6
|
-
link.id = 'dynamic-stylesheet';
|
7
|
-
link.rel = 'stylesheet';
|
8
|
-
link.type = 'text/css';
|
9
|
-
link.href = './style.css'; // Caminho para o seu arquivo CSS
|
10
|
-
document.head.appendChild(link);
|
11
|
-
}
|
12
|
-
}
|
13
2
|
|
14
3
|
|
15
4
|
const FlickerAlerts = {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "flicker-alerts",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.31",
|
4
4
|
"description": "Biblioteca para alertas animados",
|
5
5
|
"main": "index.js",
|
6
6
|
"types": "index.d.ts",
|
@@ -16,6 +16,6 @@
|
|
16
16
|
"author": "https://www.linkedin.com/in/bruno-carneiro-9a51aa190/",
|
17
17
|
"license": "MIT",
|
18
18
|
"dependencies": {
|
19
|
-
"flicker-alerts": "^1.0.
|
19
|
+
"flicker-alerts": "^1.0.31"
|
20
20
|
}
|
21
21
|
}
|