New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@psdk/esc

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@psdk/esc - npm Package Compare versions

Comparing version 0.2.67 to 0.3.0

12

build/args/backlinedot.js

@@ -1,10 +0,7 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EBackLineDot = void 0;
const basic_1 = require("./basic");
const frame_father_1 = require("@psdk/frame-father");
import { BasicESCArg } from "./basic";
import { BinaryCommand } from "@psdk/frame-father";
/**
* BackLineDot
*/
class EBackLineDot extends basic_1.BasicESCArg {
export class EBackLineDot extends BasicESCArg {
constructor(options) {

@@ -16,3 +13,3 @@ var _a;

clause() {
return frame_father_1.BinaryCommand.with(this.header())
return BinaryCommand.with(this.header())
.appendNumber(this.dot).clause();

@@ -24,2 +21,1 @@ }

}
exports.EBackLineDot = EBackLineDot;

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BasicESCArg = void 0;
const frame_father_1 = require("@psdk/frame-father");
class BasicESCArg extends frame_father_1.EasyArg {
import { EasyArg } from "@psdk/frame-father";
export class BasicESCArg extends EasyArg {
append(arg) {

@@ -18,2 +15,1 @@ super.append(arg);

}
exports.BasicESCArg = BasicESCArg;

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EBatteryVolume = void 0;
const frame_father_1 = require("@psdk/frame-father");
class EBatteryVolume extends frame_father_1.OnlyBinaryHeaderArg {
import { OnlyBinaryHeaderArg } from "@psdk/frame-father";
export class EBatteryVolume extends OnlyBinaryHeaderArg {
header() {

@@ -10,2 +7,1 @@ return new Uint8Array([0x10, 0xFF, 0x50, 0xF1]);

}
exports.EBatteryVolume = EBatteryVolume;

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EBTType = void 0;
const frame_father_1 = require("@psdk/frame-father");
class EBTType extends frame_father_1.OnlyBinaryHeaderArg {
import { OnlyBinaryHeaderArg } from "@psdk/frame-father";
export class EBTType extends OnlyBinaryHeaderArg {
header() {

@@ -10,2 +7,1 @@ return new Uint8Array([0x1F, 0xB2, 0x10]);

}
exports.EBTType = EBTType;

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EEnable = void 0;
const frame_father_1 = require("@psdk/frame-father");
class EEnable extends frame_father_1.OnlyBinaryHeaderArg {
import { OnlyBinaryHeaderArg } from "@psdk/frame-father";
export class EEnable extends OnlyBinaryHeaderArg {
header() {

@@ -10,2 +7,1 @@ return new Uint8Array([0x10, 0xFF, 0xFE, 0x01]);

}
exports.EEnable = EEnable;

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EGetShutdownTime = void 0;
const frame_father_1 = require("@psdk/frame-father");
class EGetShutdownTime extends frame_father_1.OnlyBinaryHeaderArg {
import { OnlyBinaryHeaderArg } from "@psdk/frame-father";
export class EGetShutdownTime extends OnlyBinaryHeaderArg {
header() {

@@ -10,2 +7,1 @@ return new Uint8Array([0x10, 0xFF, 0x13]);

}
exports.EGetShutdownTime = EGetShutdownTime;

@@ -1,12 +0,9 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EImage = void 0;
const basic_1 = require("./basic");
const frame_father_1 = require("@psdk/frame-father");
const types_1 = require("../types");
const frame_imageb_1 = require("@psdk/frame-imageb");
import { BasicESCArg } from "./basic";
import { BinaryCommand } from "@psdk/frame-father";
import { EImageMode } from "../types";
import { Pbita } from "@psdk/frame-imageb";
/**
* Image
*/
class EImage extends basic_1.BasicESCArg {
export class EImage extends BasicESCArg {
constructor(options) {

@@ -18,8 +15,7 @@ var _a, _b, _c, _d;

this.threshold = (_c = options.threshold) !== null && _c !== void 0 ? _c : 190;
this.mode = (_d = options.mode) !== null && _d !== void 0 ? _d : types_1.EImageMode.NORMAL;
this.mode = (_d = options.mode) !== null && _d !== void 0 ? _d : EImageMode.NORMAL;
this.image = options.image;
}
clause() {
const processer = new frame_imageb_1.Pbita({
command: 'esc',
const processer = new Pbita({
threshold: this.threshold,

@@ -39,3 +35,3 @@ compress: this.compress,

if (this.compress) {
return frame_father_1.BinaryCommand.with(this.header())
return BinaryCommand.with(this.header())
.appendNumber(eWidth / 256)

@@ -52,3 +48,3 @@ .appendNumber(eWidth % 256)

}
return frame_father_1.BinaryCommand.with(this.header())
return BinaryCommand.with(this.header())
.appendNumber(this.mode)

@@ -66,2 +62,1 @@ .appendNumber(eWidth % 256)

}
exports.EImage = EImage;

@@ -24,4 +24,2 @@ export * from './backlinedot';

export * from './wakeup';
export * from './info';
export * from './bttype';
//# sourceMappingURL=index.d.ts.map

@@ -1,41 +0,23 @@

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./backlinedot"), exports);
__exportStar(require("./basic"), exports);
__exportStar(require("./batteryvolume"), exports);
__exportStar(require("./enable"), exports);
__exportStar(require("./getshutdowntime"), exports);
__exportStar(require("./image"), exports);
__exportStar(require("./learnlabelgap"), exports);
__exportStar(require("./line"), exports);
__exportStar(require("./linedot"), exports);
__exportStar(require("./location"), exports);
__exportStar(require("./mac"), exports);
__exportStar(require("./model"), exports);
__exportStar(require("./name"), exports);
__exportStar(require("./papertype"), exports);
__exportStar(require("./position"), exports);
__exportStar(require("./printerversion"), exports);
__exportStar(require("./setshutdowntime"), exports);
__exportStar(require("./sn"), exports);
__exportStar(require("./state"), exports);
__exportStar(require("./stopjob"), exports);
__exportStar(require("./thickness"), exports);
__exportStar(require("./version"), exports);
__exportStar(require("./wakeup"), exports);
__exportStar(require("./info"), exports);
__exportStar(require("./bttype"), exports);
export * from './backlinedot';
export * from './basic';
export * from './batteryvolume';
export * from './enable';
export * from './getshutdowntime';
export * from './image';
export * from './learnlabelgap';
export * from './line';
export * from './linedot';
export * from './location';
export * from './mac';
export * from './model';
export * from './name';
export * from './papertype';
export * from './position';
export * from './printerversion';
export * from './setshutdowntime';
export * from './sn';
export * from './state';
export * from './stopjob';
export * from './thickness';
export * from './version';
export * from './wakeup';

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ELearnLabelGap = void 0;
const frame_father_1 = require("@psdk/frame-father");
class ELearnLabelGap extends frame_father_1.OnlyBinaryHeaderArg {
import { OnlyBinaryHeaderArg } from "@psdk/frame-father";
export class ELearnLabelGap extends OnlyBinaryHeaderArg {
header() {

@@ -10,2 +7,1 @@ return new Uint8Array([0x10, 0xFF, 0x03]);

}
exports.ELearnLabelGap = ELearnLabelGap;

@@ -1,10 +0,7 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ELine = void 0;
const basic_1 = require("./basic");
const frame_father_1 = require("@psdk/frame-father");
import { BasicESCArg } from "./basic";
import { BinaryCommand } from "@psdk/frame-father";
/**
* Line
*/
class ELine extends basic_1.BasicESCArg {
export class ELine extends BasicESCArg {
constructor(options) {

@@ -17,3 +14,3 @@ var _a, _b;

clause() {
return frame_father_1.BinaryCommand.with(this.header())
return BinaryCommand.with(this.header())
.appendNumber(this.x)

@@ -27,2 +24,1 @@ .appendNumber(this.y)

}
exports.ELine = ELine;

@@ -1,10 +0,7 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ELineDot = void 0;
const basic_1 = require("./basic");
const frame_father_1 = require("@psdk/frame-father");
import { BasicESCArg } from "./basic";
import { BinaryCommand } from "@psdk/frame-father";
/**
* LineDot
*/
class ELineDot extends basic_1.BasicESCArg {
export class ELineDot extends BasicESCArg {
constructor(options) {

@@ -16,3 +13,3 @@ var _a;

clause() {
return frame_father_1.BinaryCommand.with(this.header())
return BinaryCommand.with(this.header())
.appendNumber(this.dot).clause();

@@ -24,2 +21,1 @@ }

}
exports.ELineDot = ELineDot;

@@ -1,10 +0,7 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ELocation = void 0;
const basic_1 = require("./basic");
const frame_father_1 = require("@psdk/frame-father");
import { BasicESCArg } from "./basic";
import { BinaryCommand } from "@psdk/frame-father";
/**
* Location
*/
class ELocation extends basic_1.BasicESCArg {
export class ELocation extends BasicESCArg {
constructor(options) {

@@ -16,3 +13,3 @@ var _a;

clause() {
return frame_father_1.BinaryCommand.with(this.header())
return BinaryCommand.with(this.header())
.appendNumber(this.location).clause();

@@ -24,2 +21,1 @@ }

}
exports.ELocation = ELocation;

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EMac = void 0;
const frame_father_1 = require("@psdk/frame-father");
class EMac extends frame_father_1.OnlyBinaryHeaderArg {
import { OnlyBinaryHeaderArg } from "@psdk/frame-father";
export class EMac extends OnlyBinaryHeaderArg {
header() {

@@ -10,2 +7,1 @@ return new Uint8Array([0x10, 0xFF, 0x30, 0x12]);

}
exports.EMac = EMac;

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EModel = void 0;
const frame_father_1 = require("@psdk/frame-father");
class EModel extends frame_father_1.OnlyBinaryHeaderArg {
import { OnlyBinaryHeaderArg } from "@psdk/frame-father";
export class EModel extends OnlyBinaryHeaderArg {
header() {

@@ -10,2 +7,1 @@ return new Uint8Array([0x10, 0xFF, 0x20, 0xF0]);

}
exports.EModel = EModel;

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EName = void 0;
const frame_father_1 = require("@psdk/frame-father");
class EName extends frame_father_1.OnlyBinaryHeaderArg {
import { OnlyBinaryHeaderArg } from "@psdk/frame-father";
export class EName extends OnlyBinaryHeaderArg {
header() {

@@ -10,2 +7,1 @@ return new Uint8Array([0x10, 0xFF, 0x30, 0x11]);

}
exports.EName = EName;

@@ -1,15 +0,12 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EPaperType = void 0;
const basic_1 = require("./basic");
const frame_father_1 = require("@psdk/frame-father");
const types_1 = require("../types");
class EPaperType extends basic_1.BasicESCArg {
import { BasicESCArg } from "./basic";
import { BinaryCommand } from "@psdk/frame-father";
import { PaperType } from "../types";
export class EPaperType extends BasicESCArg {
constructor(options) {
var _a;
super();
this.paperType = (_a = options.paperType) !== null && _a !== void 0 ? _a : types_1.PaperType.FOLDED_BLACK_LABEL_PAPER;
this.paperType = (_a = options.paperType) !== null && _a !== void 0 ? _a : PaperType.FOLDED_BLACK_LABEL_PAPER;
}
clause() {
return frame_father_1.BinaryCommand.with(this.header())
return BinaryCommand.with(this.header())
.appendNumber(this.paperType).clause();

@@ -21,2 +18,1 @@ }

}
exports.EPaperType = EPaperType;

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EPosition = void 0;
const frame_father_1 = require("@psdk/frame-father");
class EPosition extends frame_father_1.OnlyBinaryHeaderArg {
import { OnlyBinaryHeaderArg } from "@psdk/frame-father";
export class EPosition extends OnlyBinaryHeaderArg {
header() {

@@ -10,2 +7,1 @@ return new Uint8Array([0x1d, 0x0c]);

}
exports.EPosition = EPosition;

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EPrinterVersion = void 0;
const frame_father_1 = require("@psdk/frame-father");
class EPrinterVersion extends frame_father_1.OnlyBinaryHeaderArg {
import { OnlyBinaryHeaderArg } from "@psdk/frame-father";
export class EPrinterVersion extends OnlyBinaryHeaderArg {
header() {

@@ -10,2 +7,1 @@ return new Uint8Array([0x10, 0xFF, 0x20, 0xF1]);

}
exports.EPrinterVersion = EPrinterVersion;

@@ -1,7 +0,4 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ESetShutdownTime = void 0;
const basic_1 = require("./basic");
const frame_father_1 = require("@psdk/frame-father");
class ESetShutdownTime extends basic_1.BasicESCArg {
import { BasicESCArg } from "./basic";
import { BinaryCommand } from "@psdk/frame-father";
export class ESetShutdownTime extends BasicESCArg {
constructor(options) {

@@ -13,3 +10,3 @@ var _a;

clause() {
return frame_father_1.BinaryCommand.with(this.header())
return BinaryCommand.with(this.header())
.appendNumber(this.time / 256)

@@ -23,2 +20,1 @@ .appendNumber(this.time % 256)

}
exports.ESetShutdownTime = ESetShutdownTime;

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ESN = void 0;
const frame_father_1 = require("@psdk/frame-father");
class ESN extends frame_father_1.OnlyBinaryHeaderArg {
import { OnlyBinaryHeaderArg } from "@psdk/frame-father";
export class ESN extends OnlyBinaryHeaderArg {
header() {

@@ -10,2 +7,1 @@ return new Uint8Array([0x10, 0xFF, 0x20, 0xF2]);

}
exports.ESN = ESN;

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EState = void 0;
const frame_father_1 = require("@psdk/frame-father");
class EState extends frame_father_1.OnlyBinaryHeaderArg {
import { OnlyBinaryHeaderArg } from "@psdk/frame-father";
export class EState extends OnlyBinaryHeaderArg {
header() {

@@ -10,2 +7,1 @@ return new Uint8Array([0x10, 0xFF, 0x40]);

}
exports.EState = EState;

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EStopJob = void 0;
const frame_father_1 = require("@psdk/frame-father");
class EStopJob extends frame_father_1.OnlyBinaryHeaderArg {
import { OnlyBinaryHeaderArg } from "@psdk/frame-father";
export class EStopJob extends OnlyBinaryHeaderArg {
header() {

@@ -10,2 +7,1 @@ return new Uint8Array([0x10, 0xFF, 0xFE, 0x45]);

}
exports.EStopJob = EStopJob;

@@ -1,7 +0,4 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EThickness = void 0;
const basic_1 = require("./basic");
const frame_father_1 = require("@psdk/frame-father");
class EThickness extends basic_1.BasicESCArg {
import { BasicESCArg } from "./basic";
import { BinaryCommand } from "@psdk/frame-father";
export class EThickness extends BasicESCArg {
constructor(options) {

@@ -13,3 +10,3 @@ var _a;

clause() {
return frame_father_1.BinaryCommand.with(this.header())
return BinaryCommand.with(this.header())
.appendNumber(this.thickness).clause();

@@ -21,2 +18,1 @@ }

}
exports.EThickness = EThickness;

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EVersion = void 0;
const frame_father_1 = require("@psdk/frame-father");
class EVersion extends frame_father_1.OnlyBinaryHeaderArg {
import { OnlyBinaryHeaderArg } from "@psdk/frame-father";
export class EVersion extends OnlyBinaryHeaderArg {
header() {

@@ -10,2 +7,1 @@ return new Uint8Array([0x10, 0xFF, 0x30, 0x10]);

}
exports.EVersion = EVersion;

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EWakeup = void 0;
const frame_father_1 = require("@psdk/frame-father");
class EWakeup extends frame_father_1.OnlyBinaryHeaderArg {
import { OnlyBinaryHeaderArg } from "@psdk/frame-father";
export class EWakeup extends OnlyBinaryHeaderArg {
header() {

@@ -13,2 +10,1 @@ return new Uint8Array([

}
exports.EWakeup = EWakeup;

@@ -62,6 +62,2 @@ import { Commander, ConnectedDevice, Lifecycle, PSDK } from '@psdk/frame-father';

/**
* 查询打印机所有信息
*/
info(): T;
/**
*查询打印机型号

@@ -68,0 +64,0 @@ */

@@ -1,12 +0,10 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BasicESC = void 0;
const frame_father_1 = require("@psdk/frame-father");
const args_1 = require("../args");
const types_1 = require("../types");
class BasicESC extends frame_father_1.PSDK {
import { Commander, PSDK } from '@psdk/frame-father';
import { EBackLineDot, EBatteryVolume, EEnable, EGetShutdownTime, ELearnLabelGap, ELineDot, ELocation, EMac, EModel, EName, EPaperType, EPosition, EPrinterVersion, ESetShutdownTime, ESN, EState, EStopJob, EThickness, EVersion, EWakeup, } from '../args';
import { PaperType } from "../types";
import { EBTType } from "../args/bttype";
export class BasicESC extends PSDK {
constructor(lifecycle) {
super();
this._lifecycle = lifecycle;
this._commander = frame_father_1.Commander.make();
this._commander = Commander.make();
}

@@ -24,3 +22,3 @@ connectedDevice() {

lineDot(arg) {
return super.push(new args_1.ELineDot({ dot: arg }));
return super.push(new ELineDot({ dot: arg }));
}

@@ -33,3 +31,3 @@ /**

backLineDot(arg) {
return super.push(new args_1.EBackLineDot({ dot: arg }));
return super.push(new EBackLineDot({ dot: arg }));
}

@@ -40,3 +38,3 @@ /**

batteryVolume() {
return super.push(new args_1.EBatteryVolume());
return super.push(new EBatteryVolume());
}

@@ -47,3 +45,3 @@ /**

enable() {
return super.push(new args_1.EEnable());
return super.push(new EEnable());
}

@@ -54,3 +52,3 @@ /**

getShutdownTime() {
return super.push(new args_1.EGetShutdownTime());
return super.push(new EGetShutdownTime());
}

@@ -67,3 +65,3 @@ /**

learnLabelGap() {
return super.push(new args_1.ELearnLabelGap());
return super.push(new ELearnLabelGap());
}

@@ -81,3 +79,3 @@ /**

location(arg) {
return super.push(new args_1.ELocation({ location: arg }));
return super.push(new ELocation({ location: arg }));
}

@@ -88,15 +86,9 @@ /**

mac() {
return super.push(new args_1.EMac());
return super.push(new EMac());
}
/**
* 查询打印机所有信息
*/
info() {
return super.push(new args_1.EInfo());
}
/**
*查询打印机型号
*/
model() {
return super.push(new args_1.EModel());
return super.push(new EModel());
}

@@ -107,3 +99,3 @@ /**

name() {
return super.push(new args_1.EName());
return super.push(new EName());
}

@@ -114,3 +106,3 @@ /**

paperType(arg) {
return super.push(arg !== null && arg !== void 0 ? arg : new args_1.EPaperType({ paperType: types_1.PaperType.FOLDED_BLACK_LABEL_PAPER }));
return super.push(arg !== null && arg !== void 0 ? arg : new EPaperType({ paperType: PaperType.FOLDED_BLACK_LABEL_PAPER }));
}

@@ -121,3 +113,3 @@ /**

position() {
return super.push(new args_1.EPosition());
return super.push(new EPosition());
}

@@ -128,3 +120,3 @@ /**

printerVersion() {
return super.push(new args_1.EPrinterVersion());
return super.push(new EPrinterVersion());
}

@@ -135,3 +127,3 @@ /**

setShutdownTime(arg) {
return super.push(new args_1.ESetShutdownTime({ time: arg }));
return super.push(new ESetShutdownTime({ time: arg }));
}

@@ -142,3 +134,3 @@ /**

sn() {
return super.push(new args_1.ESN());
return super.push(new ESN());
}

@@ -149,3 +141,3 @@ /**

state() {
return super.push(new args_1.EState());
return super.push(new EState());
}

@@ -156,3 +148,3 @@ /**

stopJob() {
return super.push(new args_1.EStopJob());
return super.push(new EStopJob());
}

@@ -164,3 +156,3 @@ /**

thickness(arg) {
return super.push(new args_1.EThickness({ thickness: arg }));
return super.push(new EThickness({ thickness: arg }));
}

@@ -171,3 +163,3 @@ /**

version() {
return super.push(new args_1.EVersion());
return super.push(new EVersion());
}

@@ -178,3 +170,3 @@ /**

wakeup() {
return super.push(new args_1.EWakeup());
return super.push(new EWakeup());
}

@@ -185,5 +177,4 @@ /**

setBTType() {
return super.push(new args_1.EBTType());
return super.push(new EBTType());
}
}
exports.BasicESC = BasicESC;

@@ -1,9 +0,6 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ESC = void 0;
const generic_1 = require("./generic");
import { GenericESC } from "./generic";
/**
* ESC entrypoint
*/
class ESC {
export class ESC {
/**

@@ -14,5 +11,4 @@ * Generic esc command

static generic(lifecycle) {
return new generic_1.GenericESC(lifecycle);
return new GenericESC(lifecycle);
}
}
exports.ESC = ESC;

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GenericESC = void 0;
const basic_1 = require("./basic");
class GenericESC extends basic_1.BasicESC {
import { BasicESC } from "./basic";
export class GenericESC extends BasicESC {
constructor(lifecycle) {

@@ -10,2 +7,1 @@ super(lifecycle);

}
exports.GenericESC = GenericESC;

@@ -1,18 +0,2 @@

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./generic"), exports);
__exportStar(require("./esc"), exports);
export * from './generic';
export * from './esc';

@@ -1,18 +0,2 @@

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./impls"), exports);
__exportStar(require("./args"), exports);
export * from './impls';
export * from './args';

@@ -1,5 +0,2 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EImageMode = void 0;
var EImageMode;
export var EImageMode;
(function (EImageMode) {

@@ -10,2 +7,2 @@ EImageMode[EImageMode["NORMAL"] = 0] = "NORMAL";

EImageMode[EImageMode["DOUBLE_WIDTH_HEIGHT"] = 3] = "DOUBLE_WIDTH_HEIGHT";
})(EImageMode = exports.EImageMode || (exports.EImageMode = {}));
})(EImageMode || (EImageMode = {}));

@@ -1,18 +0,2 @@

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./image"), exports);
__exportStar(require("./papertype"), exports);
export * from './image';
export * from './papertype';

@@ -1,5 +0,2 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PaperType = void 0;
var PaperType;
export var PaperType;
(function (PaperType) {

@@ -18,2 +15,2 @@ /**

PaperType[PaperType["NO_DRY_ADHESIVE_PAPER"] = 2] = "NO_DRY_ADHESIVE_PAPER";
})(PaperType = exports.PaperType || (exports.PaperType = {}));
})(PaperType || (PaperType = {}));
{
"name": "@psdk/esc",
"version": "0.2.67",
"version": "0.3.0",
"description": "psdk",

@@ -9,3 +9,3 @@ "main": "build/index.js",

"build": "tsc",
"package": "tsc && ncc build --source-map build/index.js -m -C -o dist && npx webpack",
"package": "tsc && ncc build --source-map build/index.js -m -C -o dist",
"test": "jest",

@@ -19,34 +19,15 @@ "docs": "npx typedoc --out dist/docs index.ts"

"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.17.12",
"@babel/plugin-proposal-decorators": "^7.17.12",
"@babel/plugin-proposal-export-namespace-from": "^7.17.12",
"@babel/plugin-proposal-function-sent": "^7.17.12",
"@babel/plugin-proposal-numeric-separator": "^7.16.7",
"@babel/plugin-proposal-object-rest-spread": "^7.18.0",
"@babel/plugin-proposal-throw-expressions": "^7.16.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-transform-modules-commonjs": "^7.18.0",
"@babel/plugin-transform-object-assign": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.18.0",
"@babel/preset-env": "^7.18.0",
"@babel/preset-typescript": "^7.17.12",
"@babel/register": "^7.17.7",
"@babel/runtime-corejs3": "^7.18.0",
"@types/jest": "^27.5.1",
"@types/node": "^17.0.35",
"@vercel/ncc": "^0.33.4",
"babel-loader": "^8.2.5",
"buffer": "^6.0.3",
"jest": "^28.1.0",
"string_decoder": "^1.3.0",
"ts-jest": "^28.0.2",
"typedoc": "^0.22.15",
"typescript": "^4.6.4",
"webpack": "^5.72.1",
"webpack-cli": "^4.9.2"
"@babel/core": "^7.24.5",
"@babel/preset-env": "^7.24.5",
"@babel/preset-typescript": "^7.24.1",
"@types/jest": "^29.5.12",
"@vercel/ncc": "^0.38.1",
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"typedoc": "^0.25.13",
"typescript": "^5.4.5"
},
"dependencies": {
"@psdk/frame-father": "0.2.67",
"@psdk/frame-imageb": "0.2.67"
"@psdk/frame-father": "0.3.0",
"@psdk/frame-imageb": "0.3.0"
},

@@ -57,3 +38,3 @@ "files": [

],
"gitHead": "1b469612990a3efbf1a3fe4296ed13e8c8865988"
"gitHead": "9796259a6a24ae7e334340f6c28d5ae9b3e45401"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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