smooth-loader 1.2.5 → 1.2.6

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,5 +1,4 @@
1
1
  name: Publish package to NPM
2
- enable-email-notifications: true
3
2
 
4
3
  # Good article: https://medium.com/@codewithwaheed/publish-your-first-package-using-npm-and-github-actions-e453ca9f9fd2
5
4
 
@@ -9,22 +8,21 @@ on:
9
8
 
10
9
  jobs:
11
10
  publish:
12
- runs-on: podman
13
- container: docker.io/library/node:20
11
+ runs-on: ubuntu-latest
14
12
  name: Publish to NPM registry
15
13
 
16
14
  steps:
17
15
  - name: Checkout
18
- uses: actions/checkout@v4
16
+ uses: actions/checkout@v6
19
17
 
20
18
  - name: Setup Node.js
21
- uses: https://github.com/actions/setup-node@v7
19
+ uses: actions/setup-node@v7
22
20
  with:
23
21
  node-version: "20"
24
22
  registry-url: "https://registry.npmjs.org/"
25
23
 
26
24
  - name: Install Deps
27
- run: npm install
25
+ run: npm ci
28
26
 
29
27
  - name: Publish Library
30
28
  run: npm publish
package/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # Release Notes
2
2
 
3
+ ## v1.2.6 (2026-11-18)
4
+
5
+ - Moved to GitHub
6
+
3
7
  ## v1.2.5 (2026-08-27)
8
+
4
9
  - Change CI runner
5
10
 
6
11
  ## v1.2.4 (2026-08-13)
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
- ![Smooth loader logo](https://smooth-loader.codeberg.page/images/logo.png)
1
+ ![Smooth loader logo](https://smooth-loader.serhiicho.com/images/logo.png)
2
2
 
3
3
  Smooth loader allows you smoothly lazy load images and background images. Lazy Loading defers the loading of an image that is not needed on the page immediately. An image, not visible to the user when the page loads, is loaded later when the user scrolls and the image actually becomes visible. If the user never scrolls, an image that is not visible to the user never gets loaded.
4
4
 
5
5
  This package is a MUST-HAVE for every website containing multiple images on the page. It's surely the best lazy loading package on NPM that you can configure to your own needs.
6
6
 
7
- ## Follow the [official documentation](https://smooth-loader.codeberg.page) for all the details
7
+ ## Follow the [official documentation](https://smooth-loader.serhiicho.com) for all the details
8
8
 
9
9
  ## Contribute
10
10
 
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "smooth-loader",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
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",
7
7
  "author": "Serhii Cho",
8
8
  "license": "MIT",
9
- "homepage": "https://smooth-loader.codeberg.page",
9
+ "homepage": "https://smooth-loader.serhiicho.com",
10
10
  "devDependencies": {
11
11
  "typescript": "^5.9.3"
12
12
  },