New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rect

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rect - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

2

package.json
{
"name": "rect",
"version": "1.1.0",
"version": "1.2.0",
"description": "A library for rectangles.",

@@ -5,0 +5,0 @@ "main": "index.js",

# rect
A library for rectangles.
## Usage
Rect takes four arguments `x`, `y`, `width`, and `height`.
It also has two methods:
- `perimeter`: returns the perimeter of the rectangle
- `area`: returns the area of the rectangle
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