Comparing version 2.0.4 to 2.0.5
@@ -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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30577
246
18
563