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

testdouble

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testdouble - npm Package Compare versions

Comparing version 3.2.3 to 3.2.4

7

CHANGELOG.md
# Change Log
## [v3.2.4](https://github.com/testdouble/testdouble.js/tree/v3.2.4) (2017-08-06)
[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.3...v3.2.4)
**Closed issues:**
- td.constructor\(\) ReferenceError: td is not defined [\#279](https://github.com/testdouble/testdouble.js/issues/279)
## [v3.2.3](https://github.com/testdouble/testdouble.js/tree/v3.2.3) (2017-08-01)

@@ -4,0 +11,0 @@ [Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.2...v3.2.3)

2

lib/constructor.js

@@ -26,3 +26,3 @@ 'use strict';

var fakeConstructorFromNames = function fakeConstructorFromNames(funcNames) {
return _lodashWrap2.default.tap(td.function('(unnamed constructor)'), function (fakeConstructor) {
return _lodashWrap2.default.tap((0, _function2.default)('(unnamed constructor)'), function (fakeConstructor) {
fakeConstructor.prototype.toString = function () {

@@ -29,0 +29,0 @@ return '[test double instance of constructor]';

@@ -6,2 +6,2 @@ 'use strict';

});
exports.default = '3.2.3';
exports.default = '3.2.4';
{
"name": "testdouble",
"version": "3.2.3",
"version": "3.2.4",
"description": "A minimal test double library for TDD with JavaScript",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/testdouble/testdouble.js",

@@ -11,3 +11,3 @@ import _ from './util/lodash-wrap'

var fakeConstructorFromNames = (funcNames) => {
return _.tap(td.function('(unnamed constructor)'), (fakeConstructor) => {
return _.tap(tdFunction('(unnamed constructor)'), (fakeConstructor) => {
fakeConstructor.prototype.toString = () =>

@@ -14,0 +14,0 @@ '[test double instance of constructor]'

@@ -1,1 +0,1 @@

export default '3.2.3'
export default '3.2.4'

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

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

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