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

contain-by-screen

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contain-by-screen - npm Package Versions

2

2.1.0

Diff

Changelog

Source

2.1.0 (2023-09-29)

  • Fixed issue where large elements could fail to be positioned onscreen #17.
  • Added new "unaligned" value for hAlign and vAlign options.
macil
published 2.0.0 •

Changelog

Source

2.0.0 (2022-08-29)

Breaking Changes

  • The containByScreen function is now a named export of the module rather than the default export. Code importing the function must be updated from import containByScreen from "contain-by-screen"; to import { containByScreen } from "contain-by-screen";, or from const containByScreen = require("contain-by-screen"); to const { containByScreen } = require("contain-by-screen");.

Other Changes

  • Added getContainByScreenResults function that works like the default containByScreen function but returns its suggested modification instead of doing it.
agentme
published 1.3.0 •

Changelog

Source

1.3.0 (2018-09-24)

  • Added TypeScript type definitions.
agentme
published 1.2.1 •

Changelog

Source

1.2.1 (2018-06-11)

  • Fixed mistake in Flow type definitions.
agentme
published 1.2.0 •

Changelog

Source

1.2.0 (2017-08-08)

  • Support arrays for vAlign and hAlign options.
agentme
published 1.1.1 •

Changelog

Source

1.1.1 (2017-07-28)

  • Updated envify dependency version.
agentme
published 1.1.0 •

Changelog

Source

1.1.0 (2016-09-13)

  • Added cover position value.
agentme
published 1.0.4 •

Changelog

Source

1.0.4 (2016-03-10)

  • Depend on specific submodules of Lodash to save space in browser bundles.
  • Use envify with Browserify so usage check can be disabled in production.
agentme
published 1.0.3 •

agentme
published 1.0.2 •

Changelog

Source

1.0.2 (2016-01-19)

  • Fixed bugs with buffers option.
2
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