canvas-pattern
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -5,2 +5,6 @@ # Changelog | ||
## [1.0.1](https://github.com/dmnsgn/canvas-pattern/compare/v1.0.0...v1.0.1) (2022-08-16) | ||
# 1.0.0 (2021-11-09) |
{ | ||
"name": "canvas-pattern", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Draw and cache a repeated pattern on a canvas context.", | ||
@@ -31,12 +31,11 @@ "keywords": [ | ||
"devDependencies": { | ||
"async-preloader": "^5.2.0", | ||
"canvas-context": "^3.1.0", | ||
"core-js": "^3.19.1", | ||
"es-module-shims": "^0.12.8", | ||
"tweakpane": "^3.0.5" | ||
"async-preloader": "^7.0.0", | ||
"canvas-context": "^3.2.0", | ||
"es-module-shims": "^1.5.16", | ||
"tweakpane": "^3.1.0" | ||
}, | ||
"engines": { | ||
"node": ">=15.0.0", | ||
"node": ">=16.0.0", | ||
"npm": ">=7.0.0" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # canvas-pattern | ||
[![stability-stable](https://img.shields.io/badge/stability-stable-green.svg)](https://www.npmjs.com/package/canvas-pattern) | ||
[![npm minzipped size](https://img.shields.io/bundlephobia/minzip/canvas-pattern)](https://www.npmjs.com/package/canvas-pattern) | ||
[![npm minzipped size](https://img.shields.io/bundlephobia/minzip/canvas-pattern)](https://bundlephobia.com/package/canvas-pattern) | ||
[![dependencies](https://img.shields.io/librariesio/release/npm/canvas-pattern)](https://github.com/dmnsgn/canvas-pattern/blob/main/package.json) | ||
@@ -34,3 +34,4 @@ [![types](https://img.shields.io/npm/types/canvas-pattern)](https://github.com/microsoft/TypeScript) | ||
const { context } = createCanvasContext("2d"); | ||
const { canvas, context } = createCanvasContext("2d"); | ||
document.body.appendChild(canvas); | ||
@@ -40,3 +41,3 @@ const pattern = new Image(); | ||
drawImagePattern(context, pattern); | ||
canvasPattern(context, pattern); | ||
``` | ||
@@ -87,3 +88,3 @@ | ||
**Kind**: global typedef | ||
**Kind**: global typedef | ||
<a name="CanvasPatternOptions"></a> | ||
@@ -95,3 +96,3 @@ | ||
**Kind**: global typedef | ||
**Kind**: global typedef | ||
**Properties** | ||
@@ -98,0 +99,0 @@ |
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
10426
4
109