Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

scroll-behavior-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scroll-behavior-polyfill - npm Package Compare versions

Comparing version 2.0.12 to 2.0.13

24

CHANGELOG.md

@@ -0,1 +1,7 @@

## [2.0.13](https://github.com/wessberg/scroll-behavior-polyfill/compare/v2.0.12...v2.0.13) (2019-10-16)
### Features
- **compatibility:** Support IE 11. [#4](https://github.com/wessberg/scroll-behavior-polyfill/issues/4) ([71089d7](https://github.com/wessberg/scroll-behavior-polyfill/commit/71089d72a3bded13d9cd47d749028666490fa62d))
## [2.0.12](https://github.com/wessberg/scroll-behavior-polyfill/compare/v2.0.11...v2.0.12) (2019-09-09)

@@ -5,3 +11,3 @@

- anchor detection if the link also contains a path fails. Closes [#9](https://github.com/wessberg/scroll-behavior-polyfill/issues/9) ([4b14f30](https://github.com/wessberg/scroll-behavior-polyfill/commit/4b14f30))
- anchor detection if the link also contains a path fails. Closes [#9](https://github.com/wessberg/scroll-behavior-polyfill/issues/9) ([4b14f30](https://github.com/wessberg/scroll-behavior-polyfill/commit/4b14f309d6b243850f71aeed82e0698f7cd786ad))

@@ -12,3 +18,3 @@ ## [2.0.11](https://github.com/wessberg/scroll-behavior-polyfill/compare/v2.0.10...v2.0.11) (2019-08-12)

- **declarations:** marks declarations as a module to help with async imports. Closes [#8](https://github.com/wessberg/scroll-behavior-polyfill/issues/8) ([ac1e99e](https://github.com/wessberg/scroll-behavior-polyfill/commit/ac1e99e))
- **declarations:** marks declarations as a module to help with async imports. Closes [#8](https://github.com/wessberg/scroll-behavior-polyfill/issues/8) ([ac1e99e](https://github.com/wessberg/scroll-behavior-polyfill/commit/ac1e99eee72db6525fe0b7f7bf6df2723ca08a81))

@@ -19,3 +25,3 @@ ## [2.0.10](https://github.com/wessberg/scroll-behavior-polyfill/compare/v2.0.9...v2.0.10) (2019-07-18)

- **bug:** makes it possible to use the polyfill without native WeakMap support ([012b486](https://github.com/wessberg/scroll-behavior-polyfill/commit/012b486))
- **bug:** makes it possible to use the polyfill without native WeakMap support ([012b486](https://github.com/wessberg/scroll-behavior-polyfill/commit/012b486b4f79559a5b2bfb7fc2e861144d927040))

@@ -26,3 +32,3 @@ ## [2.0.9](https://github.com/wessberg/scroll-behavior-polyfill/compare/v2.0.8...v2.0.9) (2019-07-18)

- **bug:** fixes an issue when using this polyfill along with css-scroll-snap. Closes [#5](https://github.com/wessberg/scroll-behavior-polyfill/issues/5) ([c50582b](https://github.com/wessberg/scroll-behavior-polyfill/commit/c50582b)), closes [#7](https://github.com/wessberg/scroll-behavior-polyfill/issues/7)
- **bug:** fixes an issue when using this polyfill along with css-scroll-snap. Closes [#5](https://github.com/wessberg/scroll-behavior-polyfill/issues/5) ([c50582b](https://github.com/wessberg/scroll-behavior-polyfill/commit/c50582b3a4d64e8621e05ce247dc8199c2a5c5dd)), closes [#7](https://github.com/wessberg/scroll-behavior-polyfill/issues/7)

@@ -33,3 +39,3 @@ ## [2.0.8](https://github.com/wessberg/scroll-behavior-polyfill/compare/v2.0.7...v2.0.8) (2019-06-21)

- **typings:** fixes issue that would lead to Typescript errors due to global namespace annotations ([75fd236](https://github.com/wessberg/scroll-behavior-polyfill/commit/75fd236))
- **typings:** fixes issue that would lead to Typescript errors due to global namespace annotations ([75fd236](https://github.com/wessberg/scroll-behavior-polyfill/commit/75fd236b4e80b2eba9f56ef4029f2e7f108f06bb))

@@ -40,3 +46,3 @@ ## [2.0.7](https://github.com/wessberg/scroll-behavior-polyfill/compare/v2.0.6...v2.0.7) (2019-02-23)

- **bug:** fixes an issue where anchor scrolling could lead to the wrong coordinates under some circumstances ([2f399f4](https://github.com/wessberg/scroll-behavior-polyfill/commit/2f399f4))
- **bug:** fixes an issue where anchor scrolling could lead to the wrong coordinates under some circumstances ([2f399f4](https://github.com/wessberg/scroll-behavior-polyfill/commit/2f399f4243f5cea82cc7d291f74fd689ab771f81))

@@ -51,3 +57,3 @@ ## [2.0.6](https://github.com/wessberg/scroll-behavior-polyfill/compare/v2.0.5...v2.0.6) (2019-02-09)

- **package.json:** updates 'engine' field to reflect support for older Node.js versions. Fixes [#3](https://github.com/wessberg/scroll-behavior-polyfill/issues/3) ([8b49156](https://github.com/wessberg/scroll-behavior-polyfill/commit/8b49156))
- **package.json:** updates 'engine' field to reflect support for older Node.js versions. Fixes [#3](https://github.com/wessberg/scroll-behavior-polyfill/issues/3) ([8b49156](https://github.com/wessberg/scroll-behavior-polyfill/commit/8b4915634292f94c6a7a2bab5cf867283c3ae215))

@@ -60,3 +66,3 @@ ## [2.0.3](https://github.com/wessberg/scroll-behavior-polyfill/compare/2.0.3...v2.0.3) (2019-01-11)

- **improvements:** Bug fixes, support for scrolling via the scrollTop and scrollLeft setters, and more ([4989d15](https://github.com/wessberg/scroll-behavior-polyfill/commit/4989d15))
- **improvements:** Bug fixes, support for scrolling via the scrollTop and scrollLeft setters, and more ([4989d15](https://github.com/wessberg/scroll-behavior-polyfill/commit/4989d15ef53196e8619a161211214e412bbd09bc))

@@ -69,3 +75,3 @@ ## [2.0.1](https://github.com/wessberg/scroll-behavior-polyfill/compare/2.0.1...v2.0.1) (2019-01-09)

- **release:** new major version and rewritten from scratch. ([5647eb3](https://github.com/wessberg/scroll-behavior-polyfill/commit/5647eb3))
- **release:** new major version and rewritten from scratch. ([5647eb3](https://github.com/wessberg/scroll-behavior-polyfill/commit/5647eb3fc041d613f2ce8290c8a7733ca081ca8b))

@@ -72,0 +78,0 @@ ### BREAKING CHANGES

@@ -681,3 +681,10 @@ (function () {

}
return locationLike.protocol + "//" + locationLike.hostname + (locationLike.port != null && locationLike.port.length > 0 ? ":" + locationLike.port : "");
var port = locationLike.port != null && locationLike.port.length > 0 ? ":" + locationLike.port : "";
if (locationLike.protocol === "http:" && port === ":80") {
port = "";
}
else if (locationLike.protocol === "https:" && port === ":443") {
port = "";
}
return locationLike.protocol + "//" + locationLike.hostname + port;
}

@@ -989,2 +996,6 @@

};
// On IE11, HTMLElement has its own declaration of scrollIntoView and does not inherit this from the prototype chain, so we'll need to patch that one too.
if (HTMLElement.prototype.scrollIntoView != null && HTMLElement.prototype.scrollIntoView !== Element.prototype.scrollIntoView) {
HTMLElement.prototype.scrollIntoView = Element.prototype.scrollIntoView;
}
}

@@ -991,0 +1002,0 @@

{
"name": "scroll-behavior-polyfill",
"version": "2.0.12",
"version": "2.0.13",
"description": "A polyfill for the 'scroll-behavior' CSS-property",

@@ -54,15 +54,16 @@ "repository": {

"devDependencies": {
"@wessberg/rollup-plugin-ts": "1.1.64",
"surge": "0.21.3",
"@wessberg/rollup-plugin-ts": "1.1.72",
"@wessberg/scaffold": "1.0.19",
"@wessberg/ts-config": "^0.0.41",
"rollup": "^1.21.2",
"rollup": "^1.24.0",
"rollup-plugin-node-resolve": "^5.2.0",
"tslib": "^1.10.0",
"tslint": "^5.19.0",
"typescript": "^3.6.2",
"standard-changelog": "^2.0.13",
"tslint": "^5.20.0",
"typescript": "^3.6.4",
"standard-changelog": "^2.0.15",
"prettier": "^1.18.2",
"pretty-quick": "^1.11.1",
"husky": "^3.0.5",
"np": "^5.0.3"
"pretty-quick": "^2.0.0",
"husky": "^3.0.9",
"np": "^5.1.1"
},

@@ -69,0 +70,0 @@ "dependencies": {},

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc