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

cept

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cept - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

18

package.json
{
"name": "cept",
"version": "1.0.4",
"version": "1.0.5",
"description": "Intercept method calls",

@@ -15,2 +15,6 @@ "license": "MIT",

"bugs": "https://github.com/wooorm/cept/issues",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/wooorm"
},
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",

@@ -26,9 +30,9 @@ "contributors": [

"browserify": "^16.0.0",
"nyc": "^14.0.0",
"prettier": "^1.12.1",
"remark-cli": "^6.0.0",
"remark-preset-wooorm": "^4.0.0",
"nyc": "^15.0.0",
"prettier": "^1.0.0",
"remark-cli": "^7.0.0",
"remark-preset-wooorm": "^6.0.0",
"tape": "^4.0.0",
"tinyify": "^2.5.0",
"xo": "^0.24.0"
"tinyify": "^2.0.0",
"xo": "^0.25.0"
},

@@ -35,0 +39,0 @@ "scripts": {

@@ -10,13 +10,13 @@ # cept

## Installation
## Install
[npm][]:
```bash
```sh
npm install cept
```
## Usage
## Use
```javascript
```js
var cept = require('cept')

@@ -41,4 +41,5 @@

Intercept all calls to `context[key]` (e.g., `console.log`).
From now on, when the original method would be invoked, `callback`
is used instead. Invoking `stop` reverts everything back to normal.
From now on, when the original method would be invoked, `callback` is used
instead.
Invoking `stop` reverts everything back to normal.

@@ -45,0 +46,0 @@ ###### Parameters

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