smooth-loader 1.2.3 → 1.2.5

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.
@@ -1,28 +1,32 @@
1
1
  name: Publish package to NPM
2
+ enable-email-notifications: true
2
3
 
3
4
  # Good article: https://medium.com/@codewithwaheed/publish-your-first-package-using-npm-and-github-actions-e453ca9f9fd2
4
5
 
5
6
  on:
6
- push:
7
- branches: [master]
7
+ push:
8
+ branches: [master]
8
9
 
9
10
  jobs:
10
- publish:
11
- runs-on: burn
12
- steps:
13
- - name: Checkout
14
- uses: actions/checkout@v4
11
+ publish:
12
+ runs-on: podman
13
+ container: docker.io/library/node:20
14
+ name: Publish to NPM registry
15
15
 
16
- - name: Setup Node.js
17
- uses: https://github.com/actions/setup-node@v2
18
- with:
19
- node-version: '20'
20
- registry-url: 'https://registry.npmjs.org/'
16
+ steps:
17
+ - name: Checkout
18
+ uses: actions/checkout@v4
21
19
 
22
- - name: Install Deps
23
- run: npm install
20
+ - name: Setup Node.js
21
+ uses: https://github.com/actions/setup-node@v7
22
+ with:
23
+ node-version: "20"
24
+ registry-url: "https://registry.npmjs.org/"
24
25
 
25
- - name: Publish Library
26
- run: npm publish
27
- env:
28
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
26
+ - name: Install Deps
27
+ run: npm install
28
+
29
+ - name: Publish Library
30
+ run: npm publish
31
+ env:
32
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/CHANGELOG.md CHANGED
@@ -1,54 +1,75 @@
1
1
  # Release Notes
2
2
 
3
+ ## v1.2.5 (2026-08-27)
4
+ - Change CI runner
5
+
6
+ ## v1.2.4 (2026-08-13)
7
+
8
+ - Improved forgejo action workflow file
9
+
3
10
  ## v1.2.3 (2026-08-11)
11
+
4
12
  - Moved from GitHub to Codeberg
5
13
 
6
14
  ## v1.2.2 (2025-11-30)
15
+
7
16
  - Upgraded TypeScript to the latest version.
8
17
  - Updated `README.md` file by adding more info.
9
18
 
10
19
  ## v1.2.1 (2025-06-29)
20
+
11
21
  - Removed not needed lines from Dockerfile and docker-compose.yml.
12
22
 
13
23
  ## v1.2.0 (2025-06-29)
24
+
14
25
  - Added container engines support like Podman and Docker to the project.
15
26
 
16
27
  ## v1.1.4 (2024-04-08)
28
+
17
29
  - Formatted the `CHANGELOG.md` file.
18
30
  - Refactored the code to make it more readable.
19
31
  - Improved error handling.
20
32
 
21
33
  ## v1.1.3 (2023-11-19)
34
+
22
35
  - Changed the `README.MD` file.
23
36
 
24
37
  ## v1.1.2 (2022-12-04)
38
+
25
39
  - Removed line from docs.
26
40
 
27
41
  ## v1.1.1 (2022-12-04)
42
+
28
43
  - Code refactoring.
29
44
  - Added ability to provide array of images instead of only `NodeListOf`.
30
45
  - Improved documentation in `README.md`.
31
46
 
32
47
  ## v1.1.0 (2022-12-01)
48
+
33
49
  - Moved from beta version.
34
50
 
35
51
  ## v1.1.0-beta.2 (2022-11-30)
52
+
36
53
  - Code refactoring.
37
54
  - Manual testing.
38
55
 
39
56
  ## v1.1.0-beta.1 (2022-11-29)
57
+
40
58
  - Removed blur from small placeholder images if they are set with `src` attribute.
41
59
  - Added more info to docs.
42
60
 
43
61
  ## v1.1.0-beta.0 (2022-11-29)
62
+
44
63
  - Added missing information to the `README.md` file.
45
64
  - Added ability to show small images as placeholder, so you don't look at empty screen but blurred mini version of the image.
46
65
 
47
66
  ## v1.0.7 (2022-06-22)
67
+
48
68
  - Fixed appearing transition with background images. Now it works.
49
69
  - Improved documentation `README.md` file.
50
70
  - Added **configurations** for smooth loading images.
51
71
 
52
72
  ## v1.0.6 (2022-01-02)
73
+
53
74
  - Changed default images selector to be more specific.
54
75
  - Added `CHANGELOG.md` file.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smooth-loader",
3
- "version": "1.2.3",
3
+ "version": "1.2.5",
4
4
  "description": "This package allows you to lazy load your images using IntersectionObserver technology. It supports loading background images as well as the regular images with img tag.",
5
5
  "main": "lib/js/index.js",
6
6
  "types": "lib/js",