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

@financial-times/o-viewport

Package Overview
Dependencies
Maintainers
18
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/o-viewport - npm Package Compare versions

Comparing version 5.0.0-beta.0 to 5.0.0

6

MIGRATION.md
## Migration Guide
### Migrating from v4 to v5
Support for Bower and version 2 of the Origami Build Service have been removed.
Follow [the migration guide on the Origami website](https://origami.ft.com/docs/tutorials/bower-to-npm/).
### Migrating from v3 to v4

@@ -4,0 +10,0 @@

8

package.json
{
"name": "@financial-times/o-viewport",
"version": "5.0.0-beta.0",
"version": "5.0.0",
"description": "Utility for attaching debounced listeners to resize, scroll, orientation and visibility events on window",

@@ -19,3 +19,3 @@ "keywords": [

"start": "npx serve ./demos/local",
"build": "npm_config_yes=true npx \"origami-build-tools@prerelease\" install && npm_config_yes=true npx \"origami-build-tools@prerelease\" demo"
"build": "npm_config_yes=true npx \"origami-build-tools@^11\" install && npm_config_yes=true npx \"origami-build-tools@^11\" demo"
},

@@ -27,3 +27,3 @@ "devDependencies": {

"remark-lint": "^7.0.1",
"remark-preset-lint-origami-component": "prerelease",
"remark-preset-lint-origami-component": "^2.0.0",
"stylelint": "^13.12.0",

@@ -33,3 +33,3 @@ "stylelint-config-origami-component": "^1.0.4"

"peerDependencies": {
"@financial-times/o-utils": "prerelease"
"@financial-times/o-utils": "^2.0.0"
},

@@ -36,0 +36,0 @@ "engines": {

@@ -141,4 +141,5 @@ # o-viewport [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](#licence)

:---: | :---: | :---: | :---:
✨ active | 4 | N/A | [migrate to v4](MIGRATION.md#migrating-from-v3-to-v4) |
⚠ maintained | 3 | 3.3 | [migrate to v3](MIGRATION.md#migrating-from-v2-to-v3) |
✨ active | 5 | N/A | [migrate to v5](MIGRATION.md#migrating-from-v4-to-v5) |
⚠ maintained | 4 | 4.0.5 | [migrate to v4](MIGRATION.md#migrating-from-v3-to-v4) |
╳ deprecated | 3 | 3.3 | [migrate to v3](MIGRATION.md#migrating-from-v2-to-v3) |
╳ deprecated | 2 | 2.3 | [migrate to v2](MIGRATION.md#migrating-from-v1-to-v2) |

@@ -145,0 +146,0 @@ ╳ deprecated | 1 | 1.5 | N/A |

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