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

canvas-pattern

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

canvas-pattern - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

CHANGELOG.md

@@ -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)

13

package.json
{
"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 @@

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