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

@mysticatea/spy

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mysticatea/spy - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

4

dist/index.js

@@ -33,3 +33,2 @@ "use strict";

Object.defineProperties(spy, {
length: descriptors.length(f ? f.length : 0),
calls: descriptors.calls(calls),

@@ -50,5 +49,2 @@ returnedCalls: descriptors.returnedCalls,

var descriptors = {
length: function (value) {
return { value: value, configurable: true };
},
calls: function (value) {

@@ -55,0 +51,0 @@ return { value: value, configurable: true };

2

package.json
{
"name": "@mysticatea/spy",
"version": "0.1.0",
"version": "0.1.1",
"description": "Just a spy library.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -5,3 +5,3 @@ # @mysticatea/spy

[![Downloads/month](https://img.shields.io/npm/dm/@mysticatea/spy.svg)](http://www.npmtrends.com/@mysticatea/spy)
[![Build Status](https://travis-ci.com/mysticatea/spy.svg?branch=master)](https://travis-ci.org/mysticatea/spy)
[![Build Status](https://travis-ci.com/mysticatea/spy.svg?branch=master)](https://travis-ci.com/mysticatea/spy)
[![Coverage Status](https://codecov.io/gh/mysticatea/spy/branch/master/graph/badge.svg)](https://codecov.io/gh/mysticatea/spy)

@@ -89,2 +89,4 @@ [![Dependency Status](https://david-dm.org/mysticatea/spy.svg)](https://david-dm.org/mysticatea/spy)

> The `length ` property of the spy function can be different to `func.length`.
**Details:**

@@ -180,3 +182,3 @@

## 🍻 Contributing
## ❤️ Contributing

@@ -183,0 +185,0 @@ Welcome contributing!

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