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

kinto-client

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kinto-client - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

dist/kinto-client.js

7

lib/index.js

@@ -12,2 +12,4 @@ "use strict";

var _events = require("events");
var _utils = require("./utils.js");

@@ -75,6 +77,3 @@

*/
if (!events) {
throw new Error("No events handler provided");
}
this.events = events;
this.events = events || new _events.EventEmitter();

@@ -81,0 +80,0 @@ /**

{
"name": "kinto-client",
"version": "0.1.0",
"version": "0.1.1",
"description": "JavaScript HTTP client for the Kinto API.",

@@ -9,5 +9,5 @@ "main": "lib/index.js",

"dist": "mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim",
"dist-dev": "browserify -s KintoApi -d -e src/index.js -o dist/kinto-client-$npm_package_version.js -t [ babelify --sourceMapRelative . ]",
"dist-noshim": "browserify -s KintoApi -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client-$npm_package_version.noshim.js -t [ babelify --sourceMapRelative . ]",
"dist-prod": "browserify -s KintoApi -g uglifyify -e src/index.js -o dist/kinto-client-$npm_package_version.min.js -t [ babelify --sourceMapRelative . ]",
"dist-dev": "browserify -s KintoApi -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]",
"dist-noshim": "browserify -s KintoApi -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]",
"dist-prod": "browserify -s KintoApi -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]",
"report-coverage": "npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info",

@@ -14,0 +14,0 @@ "tdd": "babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'",

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