Skip to content

Commit 5c4f65b

Browse files
committed
chore: update version to 4.0.1 and remove outdated README content
1 parent c407cde commit 5c4f65b

4 files changed

Lines changed: 17 additions & 27 deletions

File tree

README.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
> [!IMPORTANT]
2-
> The Docs below refer to the version 4 of ScrollToSmooth which is not yet released.\For version.3 docs refer to https://github.com/bfiessinger/scrollToSmooth/tree/v3.0.2
3-
41
# ScrollToSmooth
52

63
Lightweight **Vanilla JavaScript smooth scrolling library** with zero dependencies.
@@ -138,22 +135,6 @@ ScrollToSmooth adds functionality when you need:
138135

139136
---
140137

141-
## Browser Support
142-
143-
Modern browsers supported.
144-
145-
Minimum versions:
146-
147-
- Chrome 15+
148-
- Firefox 7+
149-
- Edge 12+
150-
- Safari 6+
151-
- IE 10+
152-
153-
Older browsers require a `requestAnimationFrame` polyfill.
154-
155-
---
156-
157138
## Contributing
158139

159140
Contributions are welcome.

changelog.MD

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
### 4.0.1
4+
5+
#### Chores
6+
- Removed outdated "unreleased" notice from README.
7+
- Removed browser support table from README as version-specific figures are no longer accurate.
8+
- Added `.npmignore` to exclude demo assets, source files, and dev tooling from the published package (reduced tarball from ~5.6 MB to ~41 kB).
9+
10+
---
11+
312
### 4.0.0
413

514
#### Features

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@
22
"name": "scrolltosmooth",
33
"type": "module",
44
"sideEffects": false,
5-
"version": "4.0.0",
5+
"version": "4.0.1",
66
"description": "Lightweight Vanilla JS Smooth Scroll animation library.",
77
"main": "dist/scrolltosmooth.cjs.js",
88
"module": "dist/scrolltosmooth.esm.js",
99
"browser": "dist/scrolltosmooth.pkgd.min.js",
1010
"types": "@types/index.d.ts",
1111
"exports": {
1212
".": {
13-
"types": "./@types/index.d.ts",
14-
"import": "./dist/scrolltosmooth.esm.js",
13+
"types": "./@types/index.d.ts",
14+
"import": "./dist/scrolltosmooth.esm.js",
1515
"require": "./dist/scrolltosmooth.cjs.js",
1616
"default": "./dist/scrolltosmooth.cjs.js"
1717
},
1818
"./package.json": "./package.json",
1919
"./easings/*": {
20-
"types": "./@types/easings/*.d.ts",
20+
"types": "./@types/easings/*.d.ts",
2121
"import": "./dist/easings/*.js"
2222
},
2323
"./plugins/horizontal": {
24-
"types": "./@types/plugins/horizontal.d.ts",
25-
"import": "./dist/plugins/horizontal.js",
24+
"types": "./@types/plugins/horizontal.d.ts",
25+
"import": "./dist/plugins/horizontal.js",
2626
"require": "./dist/plugins/horizontal.cjs.js"
2727
}
2828
},

0 commit comments

Comments
 (0)