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

smartcrop

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smartcrop - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

4

index.d.ts

@@ -25,5 +25,5 @@ export interface Crop {

}
const smartcrop: {
declare const smartcrop: {
crop(image: CanvasImageSource, options: CropOptions): Promise<CropResult>;
};
export default smartcrop;
export default smartcrop;
{
"name": "smartcrop",
"version": "2.0.4",
"version": "2.0.5",
"description": "Content aware image cropping.",

@@ -13,2 +13,3 @@ "homepage": "https://github.com/jwagner/smartcrop.js",

"devDependencies": {
"@types/webgl2": "^0.0.6",
"benchmark": "^2.1.4",

@@ -39,5 +40,5 @@ "chai": "^4.2.0",

"start": "grunt",
"test": "karma start karma.conf.js",
"test": "karma start karma.conf.js && npx tsc -noEmit test/types.ts",
"lint": "eslint smartcrop.js test examples/slideshow.js examples/testbed.js examples/testsuite.js examples/smartcrop-debug.js"
}
}

@@ -217,2 +217,5 @@ # smartcrop.js

### 2.0.5
Fix `TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.`.
### 2.0.4

@@ -219,0 +222,0 @@ Typescript type definitions.

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