From eba66531bc4e870ecd1c954f6e7ef2f0a12d0191 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 29 Oct 2021 23:12:38 +0000 Subject: [PATCH] chore(release): set `package.json` to 1.4.1 [skip ci] ## [1.4.1](https://github.com/devalexanderdaza/puppeteer-extends/compare/v1.4.0...v1.4.1) (2021-10-29) ### Bug Fixes * **types:** puppeteer types moved to devdependencies ([6a6e429](https://github.com/devalexanderdaza/puppeteer-extends/commit/6a6e429e08b0190c6fa25df30e6e81a1efedb4e8)) --- CHANGELOG.md | 10 ++++++++-- dist/index.d.ts | 4 ++-- dist/main/logger.d.ts | 2 +- dist/main/moment.d.ts | 4 ++-- dist/main/moment.js | 2 +- dist/main/puppeteer.js | 3 +-- dist/main/puppeteer.js.map | 2 +- docs/modules.html | 2 +- docs/modules/PuppeteerExtends.html | 6 +++--- package-lock.json | 2 +- package.json | 2 +- 11 files changed, 22 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a23ae4..1598bb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,15 @@ -# [1.4.0](https://github.com/devalexanderdaza/puppeteer-extends/compare/v1.3.4...v1.4.0) (2021-10-29) +## [1.4.1](https://github.com/devalexanderdaza/puppeteer-extends/compare/v1.4.0...v1.4.1) (2021-10-29) + + +### Bug Fixes + +* **types:** puppeteer types moved to devdependencies ([6a6e429](https://github.com/devalexanderdaza/puppeteer-extends/commit/6a6e429e08b0190c6fa25df30e6e81a1efedb4e8)) +# [1.4.0](https://github.com/devalexanderdaza/puppeteer-extends/compare/v1.3.4...v1.4.0) (2021-10-29) ### Features -* **puppeter-arguments:** implemented puppeter arguments and path logs ([f33210b](https://github.com/devalexanderdaza/puppeteer-extends/commit/f33210bf67f1a4dedc9f49604ddd6418e5068c8c)) +- **puppeter-arguments:** implemented puppeter arguments and path logs ([f33210b](https://github.com/devalexanderdaza/puppeteer-extends/commit/f33210bf67f1a4dedc9f49604ddd6418e5068c8c)) ## [1.3.4](https://github.com/devalexanderdaza/puppeteer-extends/compare/v1.3.3...v1.3.4) (2021-10-29) diff --git a/dist/index.d.ts b/dist/index.d.ts index ccc7e9c..595ae01 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -1,5 +1,5 @@ -import * as PuppeteerExtends from './main/puppeteer'; -import { Logger } from './main/logger'; +import * as PuppeteerExtends from "./main/puppeteer"; +import { Logger } from "./main/logger"; /** * Main instances of puppeteer-extends * diff --git a/dist/main/logger.d.ts b/dist/main/logger.d.ts index b1805eb..7d9ae79 100644 --- a/dist/main/logger.d.ts +++ b/dist/main/logger.d.ts @@ -1,7 +1,7 @@ /** * @since 1.0.0 */ -import { FolderLogger } from 'folder-logger'; +import { FolderLogger } from "folder-logger"; /** * Export library components * diff --git a/dist/main/moment.d.ts b/dist/main/moment.d.ts index d1a1b16..fcbba08 100644 --- a/dist/main/moment.d.ts +++ b/dist/main/moment.d.ts @@ -1,3 +1,3 @@ -import moment from 'moment'; -import 'moment/locale/en'; +import moment from "moment"; +import "moment/locale/en"; export { moment }; diff --git a/dist/main/moment.js b/dist/main/moment.js index dc022fe..c71419a 100644 --- a/dist/main/moment.js +++ b/dist/main/moment.js @@ -7,5 +7,5 @@ exports.moment = void 0; var moment_1 = __importDefault(require("moment")); exports.moment = moment_1.default; require("moment/locale/en"); -moment_1.default.locale('en'); +moment_1.default.locale("en"); //# sourceMappingURL=moment.js.map \ No newline at end of file diff --git a/dist/main/puppeteer.js b/dist/main/puppeteer.js index 8c5e204..12e10bc 100644 --- a/dist/main/puppeteer.js +++ b/dist/main/puppeteer.js @@ -130,8 +130,7 @@ var init = function (_a) { if (isDebug) logger_1.Logger.debug("\uD83D\uDEA7 Headless Chrome has been started."); // @ts-ignore - puppeteer_extra_1.default.setMaxListeners = function () { - }; + puppeteer_extra_1.default.setMaxListeners = function () { }; puppeteer_extra_1.default.use((0, puppeteer_extra_plugin_stealth_1.default)()); return [2 /*return*/, browser]; case 3: diff --git a/dist/main/puppeteer.js.map b/dist/main/puppeteer.js.map index 44fa8aa..87c15ec 100644 --- a/dist/main/puppeteer.js.map +++ b/dist/main/puppeteer.js.map @@ -1 +1 @@ -{"version":3,"file":"puppeteer.js","sourceRoot":"","sources":["../../src/main/puppeteer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oEAA6C;AAC7C,kGAA2D;AAC3D,8DAAwC;AACxC,mCAAkC;AAClC,8CAAwB;AAExB;;GAEG;AACH,IAAI,gBAA+C,CAAC;AAEpD;;;GAGG;AACH,IAAM,IAAI,GAAa;IACnB,cAAc;IACd,wBAAwB;IACxB,0BAA0B;IAC1B,4BAA4B;IAC5B,iBAAiB;IACjB,oBAAoB;IACpB,6BAA6B;IAC7B,uBAAuB;IACvB,oCAAoC;IACpC,qBAAqB;IACrB,iCAAiC;IACjC,wBAAwB;IACxB,sBAAsB;IACtB,gBAAgB;IAChB,qBAAqB;IACrB,mBAAmB;IACnB,0BAA0B;IAC1B,cAAc;IACd,gBAAgB;IAChB,oCAAoC;IACpC,6BAA6B;IAC7B,qBAAqB;IACrB,uCAAuC;CAC1C,CAAC;AAYF;;;GAGG;AACI,IAAM,UAAU,GAAG,UACtB,OAAiB;;;;qBAEb,CAAC,gBAAgB,EAAjB,wBAAiB;gBACE,qBAAM,IAAI,CAAC,OAAO,CAAC,EAAA;;gBAAtC,gBAAgB,GAAG,SAAmB,CAAC;;oBAE3C,sBAAO,gBAAgB,EAAC;;;KAC3B,CAAC;AAPW,QAAA,UAAU,cAOrB;AAEF;;;GAGG;AACH,IAAM,IAAI,GAAG,UAAO,EAKnB;QAJG,kBAAiB,EAAjB,UAAU,mBAAG,IAAI,KAAA,EACjB,eAAe,EAAf,OAAO,mBAAG,KAAK,KAAA,EACf,uBAAsB,EAAtB,eAAe,mBAAG,IAAI,KAAA,EACtB,mBAA8D,EAA9D,WAAW,mBAAG,cAAI,CAAC,IAAI,CAAC,SAAS,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OAAA,sBAAY,CAAC,GAAG,CAAC,GAAG,EAAE,UAAC,KAAK,EAAE,QAAQ,EAAE,IAAI;YACxC,IAAI,KAAK,EAAE;gBACP,MAAM,CAAC,KAAK,CAAC,CAAC;aACjB;iBAAM;gBACH,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;aACrC;QACL,CAAC,CAAC;IANF,CAME,CACL,CAAC;AACN,CAAC,CAAC;AAXW,QAAA,kBAAkB,sBAW7B"} \ No newline at end of file +{"version":3,"file":"puppeteer.js","sourceRoot":"","sources":["../../src/main/puppeteer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oEAA6C;AAC7C,kGAA2D;AAC3D,8DAAwC;AACxC,mCAAkC;AAClC,8CAAwB;AAExB;;GAEG;AACH,IAAI,gBAA+C,CAAC;AAEpD;;;GAGG;AACH,IAAM,IAAI,GAAa;IACrB,cAAc;IACd,wBAAwB;IACxB,0BAA0B;IAC1B,4BAA4B;IAC5B,iBAAiB;IACjB,oBAAoB;IACpB,6BAA6B;IAC7B,uBAAuB;IACvB,oCAAoC;IACpC,qBAAqB;IACrB,iCAAiC;IACjC,wBAAwB;IACxB,sBAAsB;IACtB,gBAAgB;IAChB,qBAAqB;IACrB,mBAAmB;IACnB,0BAA0B;IAC1B,cAAc;IACd,gBAAgB;IAChB,oCAAoC;IACpC,6BAA6B;IAC7B,qBAAqB;IACrB,uCAAuC;CACxC,CAAC;AAYF;;;GAGG;AACI,IAAM,UAAU,GAAG,UACxB,OAAiB;;;;qBAEb,CAAC,gBAAgB,EAAjB,wBAAiB;gBACA,qBAAM,IAAI,CAAC,OAAO,CAAC,EAAA;;gBAAtC,gBAAgB,GAAG,SAAmB,CAAC;;oBAEzC,sBAAO,gBAAgB,EAAC;;;KACzB,CAAC;AAPW,QAAA,UAAU,cAOrB;AAEF;;;GAGG;AACH,IAAM,IAAI,GAAG,UAAO,EAKnB;QAJC,k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AAE,CAAC,IAAI,EAAE,CAAC;AACzB,CAAC,CAAC;AAFW,QAAA,YAAY,gBAEvB;AAEF;;;GAGG;AACI,IAAM,kBAAkB,GAAG,UAAC,GAAG;IACpC,OAAO,IAAI,OAAO,CAAC,UAAC,OAAO,EAAE,MAAM;QACjC,aAAa;QACb,OAAA,sBAAY,CAAC,GAAG,CAAC,GAAG,EAAE,UAAC,KAAK,EAAE,QAAQ,EAAE,IAAI;YAC1C,IAAI,KAAK,EAAE;gBACT,MAAM,CAAC,KAAK,CAAC,CAAC;aACf;iBAAM;gBACL,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;aACnC;QACH,CAAC,CAAC;IANF,CAME,CACH,CAAC;AACJ,CAAC,CAAC;AAXW,QAAA,kBAAkB,sBAW7B"} \ No newline at end of file diff --git a/docs/modules.html b/docs/modules.html index 9540e4a..16196f1 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1,4 +1,4 @@ -puppeteer-extends
Options
All
  • Public
  • Public/Protected
  • All
Menu

puppeteer-extends

Index

Namespaces

Variables

Variables

Logger

Logger: FolderLogger = ...
+puppeteer-extends
Options
All
  • Public
  • Public/Protected
  • All
Menu

puppeteer-extends

Index

Namespaces

Variables

Variables

Logger

Logger: FolderLogger = ...

Main instances of puppeteer-extends

import { PuppeteerExtends, Logger } from 'puppeteer-extends';
 
diff --git a/docs/modules/PuppeteerExtends.html b/docs/modules/PuppeteerExtends.html index 404e36e..ef2604f 100644 --- a/docs/modules/PuppeteerExtends.html +++ b/docs/modules/PuppeteerExtends.html @@ -4,15 +4,15 @@
const { PuppeteerExtends, Logger } = require("puppeteer-extends");
 
-

Index

Functions

Const closeBrowser

  • closeBrowser(browser: Browser): void

Index

Functions

Const closeBrowser

  • closeBrowser(browser: Browser): void
  • Close browser and all pages

    since

    1.4.0

    Parameters

    • browser: Browser
      -

    Returns void

Const closePage

  • closePage(page: Page): void

Returns void

Const closePage

  • closePage(page: Page): void

Const goto

  • goto(page: Page, targetUrl: string, options?: { isDebug: boolean; timeout: number; waitUntil: string[] }): Promise<boolean>

Returns void

Const goto

  • goto(page: Page, targetUrl: string, options?: { isDebug: boolean; timeout: number; waitUntil: string[] }): Promise<boolean>
  • Go to that page using puppeteer.

    since

    1.0.0

    Parameters

    • page: Page
    • targetUrl: string
    • options: { isDebug: boolean; timeout: number; waitUntil: string[] } = ...
      • isDebug: boolean
      • timeout: number
      • waitUntil: string[]

    Returns Promise<boolean>

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/package-lock.json b/package-lock.json index d35f365..86bf191 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "puppeteer-extends", - "version": "1.4.0", + "version": "1.4.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 700a22e..f33336c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "puppeteer-extends", - "version": "1.4.0", + "version": "1.4.1", "description": "Easy manage and instance a puppeteer using a singleton pattern. Minimal configuration implemented for install and use.", "homepage": "https://github.com/devalexanderdaza/puppeteer-extends", "bugs": {