Socket
Socket
Sign inDemoInstall

power-assert-renderer-base

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    power-assert-renderer-base

base renderer for power-assert context


Version published
Weekly downloads
110K
decreased by-12.4%
Maintainers
1
Install size
3.88 kB
Created
Weekly downloads
 

Changelog

Source

1.1.1 (2016-11-10)

Chore
  • power-assert-context-reducer-ast: upgrade acorn to ^4.0.0

Readme

Source

power-assert

Build Status NPM version License

Provides base class of various power-assert-renderers.

API

Override these methods as necessary.

BaseRenderer.prototype.onStart = function (powerAssertContext) {}

Called once when traversal starts. Argument is the powerAssertContext object under traversal.

BaseRenderer.prototype.onData = function (esNode) {}

Called for each Node of AST in powerAssertContext. Argument is a EsNode object.

BaseRenderer.prototype.onEnd = function () {}

Called once when traversal ends.

INSTALL

$ npm install --save-dev power-assert-renderer-base

AUTHOR

LICENSE

Licensed under the MIT license.

Keywords

FAQs

Last updated on 10 Nov 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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