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

espower-loader

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

espower-loader - npm Package Versions

13

0.8.0

Diff

Changelog

Source

0.8.0 (2014-08-12)

Features
  • espower-loader: update espower-source to 0.8.0 (54c2143b)
Breaking Changes

If you already customize instrumentation pattern using powerAssertVariableName and targetMethods, you need to migarte. To migrate, change your code from the following:

require('espower-loader')({
    cwd: process.cwd(),
    pattern: 'test/**/*.js',
    espowerOptions: {
        powerAssertVariableName: 'yourAssert',
        targetMethods: {
            oneArg: [
                'okay'
            ],
            twoArgs: [
                'equal',
                'customEqual'
            ]
        }
    }
});

To:

require('espower-loader')({
    cwd: process.cwd(),
    pattern: 'test/**/*.js',
    espowerOptions: {
        patterns: [
            'yourAssert(value, [message])',
            'yourAssert.okay(value, [message])',
            'yourAssert.equal(actual, expected, [message])',
            'yourAssert.customEqual(actual, expected, [message])'
        ]
    }
});
twada
published 0.7.1 •

twada
published 0.7.0 •

twada
published 0.6.0 •

twada
published 0.5.0 •

twada
published 0.4.0 •

twada
published 0.3.2 •

twada
published 0.3.1 •

twada
published 0.3.0 •

twada
published 0.1.1 •

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