Socket
Socket
Sign inDemoInstall

@nightlylabs/qr-code

Package Overview
Dependencies
1
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.17 to 1.0.18

20

lib/nightly-xml-generator/parts.d.ts
import { ImageSizeResult } from "../tools/calculateImageSize";
import { BasicFigureDrawArgs, QRCode } from "../types";
interface DrawArgsWithColor extends BasicFigureDrawArgs {
color: string;
}
export declare const rotationString: ({ x, y, size, rotation, }: BasicFigureDrawArgs) => string;
export declare const tearCornerDot: ({ x, y, size, rotation, }: BasicFigureDrawArgs) => string;
export declare const tearCornerSquare: ({ x, y, size, rotation, }: BasicFigureDrawArgs) => string;
export declare const distRoundedDot: ({ x, y, size, rotation, }: BasicFigureDrawArgs) => string;
export declare const tearCornerDot: ({ x, y, size, rotation, color, }: DrawArgsWithColor) => string;
export declare const tearCornerSquare: ({ x, y, size, rotation, color, }: DrawArgsWithColor) => string;
export declare const distRoundedDot: ({ x, y, size, rotation, color, }: DrawArgsWithColor) => string;
export declare const centerImage: ({ qrWidth, qrHeight, width, height, count, dotSize, image, imageMargin, }: {

@@ -25,9 +28,4 @@ qrWidth: number;

}) => string;
export declare const drawDots: (qr: QRCode, width: number, height: number, margin: number, color: string, hideBackgroundDots: boolean, count: number, drawImageSize: ImageSizeResult) => {
defs: string[];
paths: string[];
};
export declare const drawCorners: (width: number, height: number, margin: number, squareColor: string, dotColor: string, count: number) => {
defs: string[];
paths: string[];
};
export declare const drawDots: (qr: QRCode, width: number, height: number, margin: number, color: string, hideBackgroundDots: boolean, count: number, drawImageSize: ImageSizeResult) => string[];
export declare const drawCorners: (width: number, height: number, margin: number, squareColor: string, dotColor: string, count: number) => string[];
export {};
{
"name": "@nightlylabs/qr-code",
"version": "1.0.17",
"version": "1.0.18",
"description": "Nightly QR codes generator",

@@ -5,0 +5,0 @@ "main": "lib/nightly-qr-code.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc