New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

then-chrome

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

then-chrome - npm Package Compare versions

Comparing version 1.0.0 to 1.0.4

.npmrc

29

package.json
{
"name": "then-chrome",
"version": "1.0.0",
"version": "1.0.4",
"description": "Promise wrapper for chrome api",

@@ -10,8 +10,13 @@ "main": "out/index.js",

"scripts": {
"clean": "rm -rf ./out/ && rm -rf ./coverage/",
"test": "mocha --recursive --compilers js:babel/register --require ./test/setup.js",
"code": "eslint ./src ./test && jscs ./src ./test",
"build": "npm run code && npm run test && npm run babel",
"babel": "npm run clean && babel ./src --out-dir ./out",
"clean": "rm -rf ./out/",
"prepublish": "npm run build"
"publish-test": "mocha --recursive --compilers js:babel/register --require ./test/setup.js --reporter mocha-tldr-reporter",
"lint": "eslint ./src ./test && jscs ./src ./test",
"build": "npm run transpile",
"transpile": "npm run clean && babel ./src --out-dir ./out",
"prepublish": "npm run lint && npm run publish-test && npm run build",
"coverage": "isparta cover _mocha -- --require babel/register --require ./test/setup.js --recursive -R mocha-lcov-reporter",
"precoveralls": "npm run coverage",
"coveralls": "coveralls < coverage/lcov.info",
"bundle": "webpack"
},

@@ -33,15 +38,19 @@ "repository": {

"babel": "^5.8.29",
"babel-eslint": "^4.1.3",
"babel-core": "^5.8.34",
"babel-loader": "^5.4.0",
"bluebird": "^3.0.5",
"chai": "^3.4.0",
"chai-as-promised": "^5.1.0",
"coveralls": "^2.11.6",
"eslint": "^1.7.3",
"eslint-config-airbnb": "^0.1.0",
"eslint-plugin-react": "^3.6.3",
"isparta": "^4.0.0",
"jscs": "^2.2.1",
"lodash": "^3.10.1",
"mocha": "^2.3.3",
"mocha-lcov-reporter": "^1.0.0",
"mocha-tldr-reporter": "^1.0.0",
"sinon": "^1.17.2",
"sinon-chrome": "^1.0.2"
"sinon-chrome": "^1.1.0",
"webpack": "^1.12.10"
}
}
## then-chrome
[![Build Status](https://travis-ci.org/acvetkov/then-chrome.svg?branch=master)](https://travis-ci.org/acvetkov/then-chrome)
[![Coverage Status](https://coveralls.io/repos/acvetkov/then-chrome/badge.svg?branch=coverage&service=github)](https://coveralls.io/github/acvetkov/then-chrome?branch=coverage)
[![npm version](https://badge.fury.io/js/then-chrome.svg)](https://www.npmjs.com/package/then-chrome)
[![Code Climate](https://codeclimate.com/github/acvetkov/then-chrome/badges/gpa.svg)](https://codeclimate.com/github/acvetkov/then-chrome)

@@ -28,3 +28,3 @@ Promise-based [chrome api](https://developer.chrome.com/extensions/api_index#stable_apis).

Sycn methods are wrapped too
Sync methods are wrapped too

@@ -31,0 +31,0 @@ ```js

@@ -6,10 +6,11 @@ /**

var chai = require('chai');
import chai from 'chai';
import chrome from 'sinon-chrome';
import sinon from 'sinon';
import chaiAsPromised from 'chai-as-promised';
global.chrome = require('sinon-chrome');
global.chrome = chrome;
global.assert = chai.assert;
global.sinon = require('sinon');
global.sinon = sinon;
global.sinon.assert.expose(global.assert, {prefix: ''});
var chaiAsPromised = require('chai-as-promised');
chai.use(chaiAsPromised);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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