Socket
Socket
Sign inDemoInstall

electron-updater

Package Overview
Dependencies
Maintainers
2
Versions
290
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-updater - npm Package Compare versions

Comparing version 0.2.3 to 0.3.0

node_modules/balanced-match/.npmignore

5

index.js
var commands = require('./lib/commands.js'),
electron = require('electron'),
util = require('util'),
fs = require('fs'),
spawn = require('child_process').spawn,
ipc = require('ipc'),
ipc = electron.ipcMain,
minimist = require('minimist'),

@@ -58,3 +59,3 @@ launch = require('./lib/launch.js'),

})
win.loadUrl('file://' + __dirname + '/update.html')
win.loadURL('file://' + __dirname + '/update.html')

@@ -61,0 +62,0 @@ ipc.on('initialize', function (event, arg) {

2

lib/errors.js

@@ -32,3 +32,3 @@ var file = require('./file');

});
win.loadUrl('file://' + __dirname + '/../error.html');
win.loadURL('file://' + __dirname + '/../error.html');
win.webContents.on('did-finish-load', function() {

@@ -35,0 +35,0 @@ win.webContents.send('error-info', util.inspect(err).replace('\n', '<br>'));

@@ -11,3 +11,3 @@ var util = require('util');

this.logger = logger;
this.token = timers.setInterval(function () {
this.checkFunction = function() {
check(appDir, logger, function (err, result) {

@@ -20,4 +20,7 @@ if (err) that.emit('error', err);

});
},
notifyInterval);
}
// Configure timer to check for app update...
this.token = timers.setInterval(this.checkFunction, notifyInterval);
// ..but check it immediately once
this.checkFunction();
}

@@ -24,0 +27,0 @@

{
"name": "appdirectory",
"version": "0.1.0",
"description": "A cross-platform utility to find the best directory to put data and config files.",
"main": "lib/appdirectory.js",
"repository": {
"type": "git",
"url": "http://github.com/MrJohz/appdirectory.git"
"_args": [
[
"appdirectory@^0.1.0",
"e:\\code\\electron-updater"
]
],
"_from": "appdirectory@>=0.1.0 <0.2.0",
"_id": "appdirectory@0.1.0",
"_inCache": true,
"_installable": true,
"_location": "/appdirectory",
"_npmUser": {
"email": "jonathan.frere@gmail.com",
"name": "mrjohz"
},
"scripts": {
"test": "make test"
"_npmVersion": "1.4.3",
"_phantomChildren": {},
"_requested": {
"name": "appdirectory",
"raw": "appdirectory@^0.1.0",
"rawSpec": "^0.1.0",
"scope": null,
"spec": ">=0.1.0 <0.2.0",
"type": "range"
},
"keywords": [
"cross-platform",
"utility",
"appdata",
"config",
"directory"
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/appdirectory/-/appdirectory-0.1.0.tgz",
"_shasum": "eb6c816320e7b2ab16f5ed997f28d8205df56375",
"_shrinkwrap": null,
"_spec": "appdirectory@^0.1.0",
"_where": "e:\\code\\electron-updater",
"author": {
"name": "Johz"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/MrJohz/appdirectory/issues"
},
"dependencies": {},
"description": "A cross-platform utility to find the best directory to put data and config files.",
"devDependencies": {
"coveralls": "~2.8.0",
"mocha": "~1.17.1",
"should": "~3.1.3",
"coveralls": "~2.8.0"
"should": "~3.1.3"
},
"bugs": {
"url": "https://github.com/MrJohz/appdirectory/issues"
},
"homepage": "https://github.com/MrJohz/appdirectory",
"_id": "appdirectory@0.1.0",
"directories": {},
"dist": {

@@ -38,8 +53,12 @@ "shasum": "eb6c816320e7b2ab16f5ed997f28d8205df56375",

},
"_from": "appdirectory@>=0.1.0 <0.2.0",
"_npmVersion": "1.4.3",
"_npmUser": {
"name": "mrjohz",
"email": "jonathan.frere@gmail.com"
},
"homepage": "https://github.com/MrJohz/appdirectory",
"keywords": [
"appdata",
"config",
"cross-platform",
"directory",
"utility"
],
"license": "MIT",
"main": "lib/appdirectory.js",
"maintainers": [

@@ -51,5 +70,13 @@ {

],
"directories": {},
"_shasum": "eb6c816320e7b2ab16f5ed997f28d8205df56375",
"_resolved": "https://registry.npmjs.org/appdirectory/-/appdirectory-0.1.0.tgz"
"name": "appdirectory",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/MrJohz/appdirectory.git"
},
"scripts": {
"test": "make test"
},
"version": "0.1.0"
}
{
"name": "async",
"description": "Higher-order functions and common patterns for asynchronous code",
"main": "lib/async.js",
"_args": [
[
"async@^0.9.0",
"e:\\code\\electron-updater"
]
],
"_from": "async@>=0.9.0 <0.10.0",
"_id": "async@0.9.2",
"_inCache": true,
"_installable": true,
"_location": "/async",
"_nodeVersion": "2.0.1",
"_npmUser": {
"email": "beau@beaugunderson.com",
"name": "beaugunderson"
},
"_npmVersion": "2.9.0",
"_phantomChildren": {},
"_requested": {
"name": "async",
"raw": "async@^0.9.0",
"rawSpec": "^0.9.0",
"scope": null,
"spec": ">=0.9.0 <0.10.0",
"type": "range"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz",
"_shasum": "aea74d5e61c1f899613bf64bda66d4c78f2fd17d",
"_shrinkwrap": null,
"_spec": "async@^0.9.0",
"_where": "e:\\code\\electron-updater",
"author": {
"name": "Caolan McMahon"
},
"version": "0.9.2",
"keywords": [
"async",
"callback",
"utility",
"module"
],
"repository": {
"type": "git",
"url": "git+https://github.com/caolan/async.git"
},
"bugs": {
"url": "https://github.com/caolan/async/issues"
},
"license": "MIT",
"dependencies": {},
"description": "Higher-order functions and common patterns for asynchronous code",
"devDependencies": {
"lodash": ">=2.4.1",
"nodelint": ">0.0.0",
"nodeunit": ">0.0.0",
"uglify-js": "1.2.x",
"nodelint": ">0.0.0",
"lodash": ">=2.4.1"
"uglify-js": "1.2.x"
},
"directories": {},
"dist": {
"shasum": "aea74d5e61c1f899613bf64bda66d4c78f2fd17d",
"tarball": "http://registry.npmjs.org/async/-/async-0.9.2.tgz"
},
"gitHead": "de3a16091d5125384eff4a54deb3998b13c3814c",
"homepage": "https://github.com/caolan/async#readme",
"jam": {
"main": "lib/async.js",
"categories": [
"Utilities"
],
"include": [
"lib/async.js",
"LICENSE",
"README.md",
"LICENSE"
"lib/async.js"
],
"categories": [
"Utilities"
]
"main": "lib/async.js"
},
"keywords": [
"async",
"callback",
"module",
"utility"
],
"license": "MIT",
"main": "lib/async.js",
"maintainers": [
{
"name": "caolan",
"email": "caolan.mcmahon@gmail.com"
},
{
"name": "beaugunderson",
"email": "beau@beaugunderson.com"
}
],
"name": "async",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git+https://github.com/caolan/async.git"
},
"scripts": {

@@ -46,40 +99,13 @@ "test": "nodeunit test/test-async.js"

},
"version": "0.9.2",
"volo": {
"main": "lib/async.js",
"ignore": [
"**/.*",
"bower_components",
"node_modules",
"bower_components",
"test",
"tests"
]
},
"gitHead": "de3a16091d5125384eff4a54deb3998b13c3814c",
"homepage": "https://github.com/caolan/async#readme",
"_id": "async@0.9.2",
"_shasum": "aea74d5e61c1f899613bf64bda66d4c78f2fd17d",
"_from": "async@>=0.9.0 <0.10.0",
"_npmVersion": "2.9.0",
"_nodeVersion": "2.0.1",
"_npmUser": {
"name": "beaugunderson",
"email": "beau@beaugunderson.com"
},
"maintainers": [
{
"name": "caolan",
"email": "caolan.mcmahon@gmail.com"
},
{
"name": "beaugunderson",
"email": "beau@beaugunderson.com"
}
],
"dist": {
"shasum": "aea74d5e61c1f899613bf64bda66d4c78f2fd17d",
"tarball": "http://registry.npmjs.org/async/-/async-0.9.2.tgz"
},
"directories": {},
"_resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz",
"readme": "ERROR: No README data found!"
],
"main": "lib/async.js"
}
}
{
"_args": [
[
"glob@^5.0.14",
"e:\\code\\electron-updater"
]
],
"_from": "glob@>=5.0.14 <6.0.0",
"_id": "glob@5.0.15",
"_inCache": true,
"_installable": true,
"_location": "/glob",
"_nodeVersion": "4.0.0",
"_npmUser": {
"email": "isaacs@npmjs.com",
"name": "isaacs"
},
"_npmVersion": "3.3.2",
"_phantomChildren": {},
"_requested": {
"name": "glob",
"raw": "glob@^5.0.14",
"rawSpec": "^5.0.14",
"scope": null,
"spec": ">=5.0.14 <6.0.0",
"type": "range"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz",
"_shasum": "1bc936b9e02f4a603fcc222ecf7633d30b8b93b1",
"_shrinkwrap": null,
"_spec": "glob@^5.0.14",
"_where": "e:\\code\\electron-updater",
"author": {
"email": "i@izs.me",
"name": "Isaac Z. Schlueter",
"email": "i@izs.me",
"url": "http://blog.izs.me/"
},
"name": "glob",
"description": "a little globber",
"version": "5.0.15",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/node-glob.git"
"bugs": {
"url": "https://github.com/isaacs/node-glob/issues"
},
"main": "glob.js",
"files": [
"glob.js",
"sync.js",
"common.js"
],
"engines": {
"node": "*"
},
"dependencies": {

@@ -30,2 +51,3 @@ "inflight": "^1.0.4",

},
"description": "a little globber",
"devDependencies": {

@@ -37,26 +59,3 @@ "mkdirp": "0",

},
"scripts": {
"prepublish": "npm run benchclean",
"profclean": "rm -f v8.log profile.txt",
"test": "tap test/*.js --cov",
"test-regen": "npm run profclean && TEST_REGEN=1 node test/00-setup.js",
"bench": "bash benchmark.sh",
"prof": "bash prof.sh && cat profile.txt",
"benchclean": "node benchclean.js"
},
"license": "ISC",
"gitHead": "3a7e71d453dd80e75b196fd262dd23ed54beeceb",
"bugs": {
"url": "https://github.com/isaacs/node-glob/issues"
},
"homepage": "https://github.com/isaacs/node-glob#readme",
"_id": "glob@5.0.15",
"_shasum": "1bc936b9e02f4a603fcc222ecf7633d30b8b93b1",
"_from": "glob@>=5.0.14 <6.0.0",
"_npmVersion": "3.3.2",
"_nodeVersion": "4.0.0",
"_npmUser": {
"name": "isaacs",
"email": "isaacs@npmjs.com"
},
"directories": {},
"dist": {

@@ -66,2 +65,14 @@ "shasum": "1bc936b9e02f4a603fcc222ecf7633d30b8b93b1",

},
"engines": {
"node": "*"
},
"files": [
"common.js",
"glob.js",
"sync.js"
],
"gitHead": "3a7e71d453dd80e75b196fd262dd23ed54beeceb",
"homepage": "https://github.com/isaacs/node-glob#readme",
"license": "ISC",
"main": "glob.js",
"maintainers": [

@@ -73,5 +84,19 @@ {

],
"directories": {},
"_resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz",
"readme": "ERROR: No README data found!"
"name": "glob",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/node-glob.git"
},
"scripts": {
"bench": "bash benchmark.sh",
"benchclean": "node benchclean.js",
"prepublish": "npm run benchclean",
"prof": "bash prof.sh && cat profile.txt",
"profclean": "rm -f v8.log profile.txt",
"test": "tap test/*.js --cov",
"test-regen": "npm run profclean && TEST_REGEN=1 node test/00-setup.js"
},
"version": "5.0.15"
}
{
"name": "got",
"version": "4.2.0",
"description": "Simplified HTTP/HTTPS requests",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/sindresorhus/got"
},
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
{
"name": "floatdrop",
"email": "floatdrop@gmail.com"
},
{
"name": "kevva",
"email": "kevinmartensson@gmail.com"
}
"_args": [
[
"got@^4.2.0",
"e:\\code\\electron-updater"
]
],
"engines": {
"node": ">=0.10.0"
"_from": "got@>=4.2.0 <5.0.0",
"_id": "got@4.2.0",
"_inCache": true,
"_installable": true,
"_location": "/got",
"_nodeVersion": "4.0.0",
"_npmUser": {
"email": "floatdrop@gmail.com",
"name": "floatdrop"
},
"scripts": {
"test": "xo && tap test/test-*.js"
"_npmVersion": "2.14.2",
"_phantomChildren": {},
"_requested": {
"name": "got",
"raw": "got@^4.2.0",
"rawSpec": "^4.2.0",
"scope": null,
"spec": ">=4.2.0 <5.0.0",
"type": "range"
},
"files": [
"index.js"
"_requiredBy": [
"/"
],
"keywords": [
"http",
"https",
"get",
"got",
"url",
"uri",
"request",
"util",
"utility",
"simple",
"curl",
"wget",
"fetch"
],
"_resolved": "https://registry.npmjs.org/got/-/got-4.2.0.tgz",
"_shasum": "af59f461834bfafd722cba01acf4c14a9dd5da06",
"_shrinkwrap": null,
"_spec": "got@^4.2.0",
"_where": "e:\\code\\electron-updater",
"bugs": {
"url": "https://github.com/sindresorhus/got/issues"
},
"dependencies": {

@@ -64,2 +55,3 @@ "create-error-class": "^2.0.0",

},
"description": "Simplified HTTP/HTTPS requests",
"devDependencies": {

@@ -73,16 +65,3 @@ "into-stream": "^2.0.0",

},
"gitHead": "0bf55bbe547c4de4744277dbebdbe7522d87332c",
"bugs": {
"url": "https://github.com/sindresorhus/got/issues"
},
"homepage": "https://github.com/sindresorhus/got",
"_id": "got@4.2.0",
"_shasum": "af59f461834bfafd722cba01acf4c14a9dd5da06",
"_from": "got@>=4.2.0 <5.0.0",
"_npmVersion": "2.14.2",
"_nodeVersion": "4.0.0",
"_npmUser": {
"name": "floatdrop",
"email": "floatdrop@gmail.com"
},
"directories": {},
"dist": {

@@ -92,4 +71,51 @@ "shasum": "af59f461834bfafd722cba01acf4c14a9dd5da06",

},
"directories": {},
"_resolved": "https://registry.npmjs.org/got/-/got-4.2.0.tgz"
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"gitHead": "0bf55bbe547c4de4744277dbebdbe7522d87332c",
"homepage": "https://github.com/sindresorhus/got",
"keywords": [
"curl",
"fetch",
"get",
"got",
"http",
"https",
"request",
"simple",
"uri",
"url",
"util",
"utility",
"wget"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
{
"name": "floatdrop",
"email": "floatdrop@gmail.com"
},
{
"name": "kevva",
"email": "kevinmartensson@gmail.com"
}
],
"name": "got",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/got.git"
},
"scripts": {
"test": "xo && tap test/test-*.js"
},
"version": "4.2.0"
}
{
"name": "minimist",
"version": "1.2.0",
"description": "parse argument options",
"main": "index.js",
"devDependencies": {
"covert": "^1.0.0",
"tap": "~0.4.0",
"tape": "^3.5.0"
},
"scripts": {
"test": "tap test/*.js",
"coverage": "covert test/*.js"
},
"testling": {
"files": "test/*.js",
"browsers": [
"ie/6..latest",
"ff/5",
"firefox/latest",
"chrome/10",
"chrome/latest",
"safari/5.1",
"safari/latest",
"opera/12"
"_args": [
[
"minimist@^1.1.1",
"e:\\code\\electron-updater"
]
],
"_from": "minimist@>=1.1.1 <2.0.0",
"_id": "minimist@1.2.0",
"_inCache": true,
"_installable": true,
"_location": "/minimist",
"_nodeVersion": "2.4.0",
"_npmUser": {
"email": "substack@gmail.com",
"name": "substack"
},
"repository": {
"type": "git",
"url": "git://github.com/substack/minimist.git"
"_npmVersion": "3.2.2",
"_phantomChildren": {},
"_requested": {
"name": "minimist",
"raw": "minimist@^1.1.1",
"rawSpec": "^1.1.1",
"scope": null,
"spec": ">=1.1.1 <2.0.0",
"type": "range"
},
"homepage": "https://github.com/substack/minimist",
"keywords": [
"argv",
"getopt",
"parser",
"optimist"
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
"_shasum": "a35008b20f41383eec1fb914f4cd5df79a264284",
"_shrinkwrap": null,
"_spec": "minimist@^1.1.1",
"_where": "e:\\code\\electron-updater",
"author": {
"email": "mail@substack.net",
"name": "James Halliday",
"email": "mail@substack.net",
"url": "http://substack.net"
},
"license": "MIT",
"gitHead": "dc624482fcfec5bc669c68cdb861f00573ed4e64",
"bugs": {
"url": "https://github.com/substack/minimist/issues"
},
"_id": "minimist@1.2.0",
"_shasum": "a35008b20f41383eec1fb914f4cd5df79a264284",
"_from": "minimist@>=1.1.1 <2.0.0",
"_npmVersion": "3.2.2",
"_nodeVersion": "2.4.0",
"_npmUser": {
"name": "substack",
"email": "substack@gmail.com"
"dependencies": {},
"description": "parse argument options",
"devDependencies": {
"covert": "^1.0.0",
"tap": "~0.4.0",
"tape": "^3.5.0"
},
"directories": {},
"dist": {

@@ -62,2 +56,12 @@ "shasum": "a35008b20f41383eec1fb914f4cd5df79a264284",

},
"gitHead": "dc624482fcfec5bc669c68cdb861f00573ed4e64",
"homepage": "https://github.com/substack/minimist",
"keywords": [
"argv",
"getopt",
"optimist",
"parser"
],
"license": "MIT",
"main": "index.js",
"maintainers": [

@@ -69,5 +73,27 @@ {

],
"directories": {},
"_resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
"readme": "ERROR: No README data found!"
"name": "minimist",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git://github.com/substack/minimist.git"
},
"scripts": {
"coverage": "covert test/*.js",
"test": "tap test/*.js"
},
"testling": {
"browsers": [
"chrome/10",
"chrome/latest",
"ff/5",
"firefox/latest",
"ie/6..latest",
"opera/12",
"safari/5.1",
"safari/latest"
],
"files": "test/*.js"
},
"version": "1.2.0"
}
{
"name": "semver",
"version": "4.3.6",
"description": "The semantic version parser used by npm.",
"main": "semver.js",
"browser": "semver.browser.js",
"min": "semver.min.js",
"scripts": {
"test": "tap test/*.js",
"prepublish": "make"
"_args": [
[
"semver@^4.3.3",
"e:\\code\\electron-updater"
]
],
"_from": "semver@>=4.3.3 <5.0.0",
"_id": "semver@4.3.6",
"_inCache": true,
"_installable": true,
"_location": "/semver",
"_nodeVersion": "2.0.1",
"_npmUser": {
"email": "isaacs@npmjs.com",
"name": "isaacs"
},
"devDependencies": {
"tap": "^1.2.0",
"uglify-js": "~2.3.6"
"_npmVersion": "2.10.1",
"_phantomChildren": {},
"_requested": {
"name": "semver",
"raw": "semver@^4.3.3",
"rawSpec": "^4.3.3",
"scope": null,
"spec": ">=4.3.3 <5.0.0",
"type": "range"
},
"license": "ISC",
"repository": {
"type": "git",
"url": "git://github.com/npm/node-semver.git"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/semver/-/semver-4.3.6.tgz",
"_shasum": "300bc6e0e86374f7ba61068b5b1ecd57fc6532da",
"_shrinkwrap": null,
"_spec": "semver@^4.3.3",
"_where": "e:\\code\\electron-updater",
"bin": {
"semver": "./bin/semver"
},
"gitHead": "63c48296ca5da3ba6a88c743bb8c92effc789811",
"browser": "semver.browser.js",
"bugs": {
"url": "https://github.com/npm/node-semver/issues"
},
"homepage": "https://github.com/npm/node-semver#readme",
"_id": "semver@4.3.6",
"_shasum": "300bc6e0e86374f7ba61068b5b1ecd57fc6532da",
"_from": "semver@>=4.3.3 <5.0.0",
"_npmVersion": "2.10.1",
"_nodeVersion": "2.0.1",
"_npmUser": {
"name": "isaacs",
"email": "isaacs@npmjs.com"
"dependencies": {},
"description": "The semantic version parser used by npm.",
"devDependencies": {
"tap": "^1.2.0",
"uglify-js": "~2.3.6"
},
"directories": {},
"dist": {

@@ -42,2 +54,6 @@ "shasum": "300bc6e0e86374f7ba61068b5b1ecd57fc6532da",

},
"gitHead": "63c48296ca5da3ba6a88c743bb8c92effc789811",
"homepage": "https://github.com/npm/node-semver#readme",
"license": "ISC",
"main": "semver.js",
"maintainers": [

@@ -53,5 +69,15 @@ {

],
"directories": {},
"_resolved": "https://registry.npmjs.org/semver/-/semver-4.3.6.tgz",
"readme": "ERROR: No README data found!"
"min": "semver.min.js",
"name": "semver",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git://github.com/npm/node-semver.git"
},
"scripts": {
"prepublish": "make",
"test": "tap test/*.js"
},
"version": "4.3.6"
}
{
"name": "spin",
"version": "0.0.1",
"description": "spin.js spinner component",
"main": "spin.js",
"directories": {
"example": "example"
"_args": [
[
"spin@0.0.1",
"e:\\code\\electron-updater"
]
],
"_from": "spin@0.0.1",
"_id": "spin@0.0.1",
"_inCache": true,
"_installable": true,
"_location": "/spin",
"_phantomChildren": {},
"_requested": {
"name": "spin",
"raw": "spin@0.0.1",
"rawSpec": "0.0.1",
"scope": null,
"spec": "0.0.1",
"type": "version"
},
"repository": {
"type": "git",
"url": "git://github.com/visionmedia/spin.js.git"
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/spin/-/spin-0.0.1.tgz",
"_shasum": "246b756469c63b1f62f912f925b7eb2490e38cc6",
"_shrinkwrap": null,
"_spec": "spin@0.0.1",
"_where": "e:\\code\\electron-updater",
"bugs": {
"url": "https://github.com/visionmedia/spin.js/issues"
},
"keywords": [
"spin",
"spinner",
"component"
],
"component": {

@@ -23,4 +38,8 @@ "scripts": {

},
"readme": "# spin.js\r\n\r\nAn animated CSS3 loading spinner with VML fallback for IE.\r\n\r\n * No images, no external CSS\r\n * No dependencies\r\n * Highly configurable\r\n * Resolution independent\r\n * Uses VML as fallback in old IEs\r\n * Uses @keyframe animations, falling back to setTimeout()\r\n * Works in all major browsers, including IE6\r\n * Small footprint (~1.9K gzipped)\r\n * MIT License\r\n\r\n## Usage\r\n\r\n```javascript\r\nnew Spinner({color:'#fff', lines: 12}).spin(target);\r\n```\r\n\r\nFor an interactive demo and a list of all supported options please refer to the [project's homepage](http://fgnass.github.com/spin.js).\r\n",
"_id": "spin@0.0.1",
"dependencies": {},
"description": "spin.js spinner component",
"devDependencies": {},
"directories": {
"example": "example"
},
"dist": {

@@ -30,2 +49,9 @@ "shasum": "246b756469c63b1f62f912f925b7eb2490e38cc6",

},
"homepage": "https://github.com/visionmedia/spin.js#readme",
"keywords": [
"component",
"spin",
"spinner"
],
"main": "spin.js",
"maintainers": [

@@ -37,5 +63,10 @@ {

],
"_shasum": "246b756469c63b1f62f912f925b7eb2490e38cc6",
"_resolved": "https://registry.npmjs.org/spin/-/spin-0.0.1.tgz",
"_from": "spin@0.0.1"
"name": "spin",
"optionalDependencies": {},
"readme": "# spin.js\r\n\r\nAn animated CSS3 loading spinner with VML fallback for IE.\r\n\r\n * No images, no external CSS\r\n * No dependencies\r\n * Highly configurable\r\n * Resolution independent\r\n * Uses VML as fallback in old IEs\r\n * Uses @keyframe animations, falling back to setTimeout()\r\n * Works in all major browsers, including IE6\r\n * Small footprint (~1.9K gzipped)\r\n * MIT License\r\n\r\n## Usage\r\n\r\n```javascript\r\nnew Spinner({color:'#fff', lines: 12}).spin(target);\r\n```\r\n\r\nFor an interactive demo and a list of all supported options please refer to the [project's homepage](http://fgnass.github.com/spin.js).\r\n",
"repository": {
"type": "git",
"url": "git://github.com/visionmedia/spin.js.git"
},
"version": "0.0.1"
}

@@ -98,9 +98,49 @@ var ZEROS = '0000000000000000000'

/* Copied from the node-tar repo and modified to meet
* tar-stream coding standard.
*
* Source: https://github.com/npm/node-tar/blob/51b6627a1f357d2eb433e7378e5f05e83b7aa6cd/lib/header.js#L349
*/
function parse256 (buf) {
// first byte MUST be either 80 or FF
// 80 for positive, FF for 2's comp
var positive
if (buf[0] === 0x80) positive = true
else if (buf[0] === 0xFF) positive = false
else return null
// build up a base-256 tuple from the least sig to the highest
var zero = false
var tuple = []
for (var i = buf.length - 1; i > 0; i--) {
var byte = buf[i]
if (positive) tuple.push(byte)
else if (zero && byte === 0) tuple.push(0)
else if (zero) {
zero = false
tuple.push(0x100 - byte)
} else tuple.push(0xFF - byte)
}
var sum = 0
var l = tuple.length
for (i = 0; i < l; i++) {
sum += tuple[i] * Math.pow(256, i)
}
return positive ? sum : -1 * sum
}
var decodeOct = function (val, offset) {
// Older versions of tar can prefix with spaces
while (offset < val.length && val[offset] === 32) offset++
var end = clamp(indexOf(val, 32, offset, val.length), val.length, val.length)
while (offset < end && val[offset] === 0) offset++
if (end === offset) return 0
return parseInt(val.slice(offset, end).toString(), 8)
// If prefixed with 0x80 then parse as a base-256 integer
if (val[offset] & 0x80) {
return parse256(val.slice(offset, offset + 8))
} else {
// Older versions of tar can prefix with spaces
while (offset < val.length && val[offset] === 32) offset++
var end = clamp(indexOf(val, 32, offset, val.length), val.length, val.length)
while (offset < end && val[offset] === 0) offset++
if (end === offset) return 0
return parseInt(val.slice(offset, end).toString(), 8)
}
}

@@ -107,0 +147,0 @@

{
"name": "tar-stream",
"version": "1.3.1",
"description": "tar-stream is a streaming tar parser and generator and nothing else. It is streams2 and operates purely using streams which means you can easily extract/parse tarballs without ever hitting the file system.",
"_args": [
[
"tar-stream@^1.1.4",
"e:\\code\\electron-updater"
]
],
"_from": "tar-stream@>=1.1.4 <2.0.0",
"_id": "tar-stream@1.3.2",
"_inCache": true,
"_installable": true,
"_location": "/tar-stream",
"_nodeVersion": "4.2.3",
"_npmOperationalInternal": {
"host": "packages-5-east.internal.npmjs.com",
"tmp": "tmp/tar-stream-1.3.2.tgz_1455706289617_0.9983606818132102"
},
"_npmUser": {
"email": "mathiasbuus@gmail.com",
"name": "mafintosh"
},
"_npmVersion": "2.14.7",
"_phantomChildren": {},
"_requested": {
"name": "tar-stream",
"raw": "tar-stream@^1.1.4",
"rawSpec": "^1.1.4",
"scope": null,
"spec": ">=1.1.4 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.3.2.tgz",
"_shasum": "724d1ab4801c9b3149cdea765fe8c90ea71f6606",
"_shrinkwrap": null,
"_spec": "tar-stream@^1.1.4",
"_where": "e:\\code\\electron-updater",
"author": {
"name": "Mathias Buus",
"email": "mathiasbuus@gmail.com"
"email": "mathiasbuus@gmail.com",
"name": "Mathias Buus"
},
"engines": {
"node": ">= 0.8.0"
"bugs": {
"url": "https://github.com/mafintosh/tar-stream/issues"
},

@@ -18,2 +53,3 @@ "dependencies": {

},
"description": "tar-stream is a streaming tar parser and generator and nothing else. It is streams2 and operates purely using streams which means you can easily extract/parse tarballs without ever hitting the file system.",
"devDependencies": {

@@ -24,52 +60,36 @@ "concat-stream": "^1.4.6",

},
"scripts": {
"test": "standard && tape test/*.js"
"directories": {
"test": "test"
},
"dist": {
"shasum": "724d1ab4801c9b3149cdea765fe8c90ea71f6606",
"tarball": "http://registry.npmjs.org/tar-stream/-/tar-stream-1.3.2.tgz"
},
"engines": {
"node": ">= 0.8.0"
},
"files": [
"*.js",
"LICENSE"
],
"gitHead": "2332d878a61de8a0d6b739502eb3d11deb955b01",
"homepage": "https://github.com/mafintosh/tar-stream",
"keywords": [
"tar",
"tarball",
"extract",
"generate",
"generator",
"modify",
"pack",
"parse",
"parser",
"generate",
"generator",
"stream",
"stream2",
"streaming",
"streams",
"streams2",
"streaming",
"pack",
"extract",
"modify"
"tar",
"tarball"
],
"bugs": {
"url": "https://github.com/mafintosh/tar-stream/issues"
},
"homepage": "https://github.com/mafintosh/tar-stream",
"license": "MIT",
"main": "index.js",
"files": [
"*.js",
"LICENSE"
],
"directories": {
"test": "test"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/mafintosh/tar-stream.git"
},
"gitHead": "8e3b1749a322937238236ad05a3ec1122f32ed22",
"_id": "tar-stream@1.3.1",
"_shasum": "490ec2ad1ec5823fce63f18bb904c7469cd70897",
"_from": "tar-stream@>=1.1.4 <2.0.0",
"_npmVersion": "2.14.4",
"_nodeVersion": "4.1.1",
"_npmUser": {
"name": "mafintosh",
"email": "mathiasbuus@gmail.com"
},
"dist": {
"shasum": "490ec2ad1ec5823fce63f18bb904c7469cd70897",
"tarball": "http://registry.npmjs.org/tar-stream/-/tar-stream-1.3.1.tgz"
},
"maintainers": [

@@ -85,3 +105,13 @@ {

],
"_resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.3.1.tgz"
"name": "tar-stream",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git+https://github.com/mafintosh/tar-stream.git"
},
"scripts": {
"test": "standard && tape test/*.js"
},
"version": "1.3.2"
}
{
"name": "readable-stream",
"version": "1.0.33",
"description": "Streams2, a user-land copy of the stream library from Node.js v0.10.x",
"main": "readable.js",
"_args": [
[
"readable-stream@~1.0.31",
"e:\\code\\electron-updater\\node_modules\\unzip"
]
],
"_from": "readable-stream@>=1.0.31 <1.1.0",
"_id": "readable-stream@1.0.33",
"_inCache": true,
"_installable": true,
"_location": "/unzip/readable-stream",
"_npmUser": {
"email": "rod@vagg.org",
"name": "rvagg"
},
"_npmVersion": "1.4.28",
"_phantomChildren": {},
"_requested": {
"name": "readable-stream",
"raw": "readable-stream@~1.0.31",
"rawSpec": "~1.0.31",
"scope": null,
"spec": ">=1.0.31 <1.1.0",
"type": "range"
},
"_requiredBy": [
"/unzip"
],
"_resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.33.tgz",
"_shasum": "3a360dd66c1b1d7fd4705389860eda1d0f61126c",
"_shrinkwrap": null,
"_spec": "readable-stream@~1.0.31",
"_where": "e:\\code\\electron-updater\\node_modules\\unzip",
"author": {
"email": "i@izs.me",
"name": "Isaac Z. Schlueter",
"url": "http://blog.izs.me/"
},
"browser": {
"util": false
},
"bugs": {
"url": "https://github.com/isaacs/readable-stream/issues"
},
"dependencies": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.1",
"isarray": "0.0.1",
"string_decoder": "~0.10.x",
"inherits": "~2.0.1"
"string_decoder": "~0.10.x"
},
"description": "Streams2, a user-land copy of the stream library from Node.js v0.10.x",
"devDependencies": {
"tap": "~0.2.6"
},
"scripts": {
"test": "tap test/simple/*.js"
"directories": {},
"dist": {
"shasum": "3a360dd66c1b1d7fd4705389860eda1d0f61126c",
"tarball": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.33.tgz"
},
"repository": {
"type": "git",
"url": "git://github.com/isaacs/readable-stream.git"
},
"gitHead": "0bf97a117c5646556548966409ebc57a6dda2638",
"homepage": "https://github.com/isaacs/readable-stream",
"keywords": [
"pipe",
"readable",
"stream",
"pipe"
"stream"
],
"browser": {
"util": false
},
"author": {
"name": "Isaac Z. Schlueter",
"email": "i@izs.me",
"url": "http://blog.izs.me/"
},
"license": "MIT",
"gitHead": "0bf97a117c5646556548966409ebc57a6dda2638",
"bugs": {
"url": "https://github.com/isaacs/readable-stream/issues"
},
"homepage": "https://github.com/isaacs/readable-stream",
"_id": "readable-stream@1.0.33",
"_shasum": "3a360dd66c1b1d7fd4705389860eda1d0f61126c",
"_from": "readable-stream@>=1.0.31 <1.1.0",
"_npmVersion": "1.4.28",
"_npmUser": {
"name": "rvagg",
"email": "rod@vagg.org"
},
"main": "readable.js",
"maintainers": [

@@ -63,9 +84,13 @@ {

],
"dist": {
"shasum": "3a360dd66c1b1d7fd4705389860eda1d0f61126c",
"tarball": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.33.tgz"
"name": "readable-stream",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/readable-stream.git"
},
"directories": {},
"_resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.33.tgz",
"readme": "ERROR: No README data found!"
"scripts": {
"test": "tap test/simple/*.js"
},
"version": "1.0.33"
}
{
"name": "unzip",
"version": "0.1.11",
"description": "Unzip cross-platform streaming API compatible with fstream and fs.ReadStream",
"author": {
"name": "Evan Oxfeld",
"email": "eoxfeld@gmail.com"
"_args": [
[
"unzip@^0.1.11",
"e:\\code\\electron-updater"
]
],
"_from": "unzip@>=0.1.11 <0.2.0",
"_id": "unzip@0.1.11",
"_inCache": true,
"_installable": true,
"_location": "/unzip",
"_npmUser": {
"email": "eoxfeld@gmail.com",
"name": "evanoxfeld"
},
"maintainers": [
{
"name": "evanoxfeld",
"email": "eoxfeld@gmail.com"
},
{
"name": "joeferner",
"email": "joe@fernsroth.com"
}
"_npmVersion": "1.4.21",
"_phantomChildren": {
"core-util-is": "1.0.2",
"inherits": "2.0.1",
"isarray": "0.0.1",
"string_decoder": "0.10.31"
},
"_requested": {
"name": "unzip",
"raw": "unzip@^0.1.11",
"rawSpec": "^0.1.11",
"scope": null,
"spec": ">=0.1.11 <0.2.0",
"type": "range"
},
"_requiredBy": [
"/"
],
"repository": {
"type": "git",
"url": "https://github.com/EvanOxfeld/node-unzip.git"
"_resolved": "https://registry.npmjs.org/unzip/-/unzip-0.1.11.tgz",
"_shasum": "89749c63b058d7d90d619f86b98aa1535d3b97f0",
"_shrinkwrap": null,
"_spec": "unzip@^0.1.11",
"_where": "e:\\code\\electron-updater",
"author": {
"email": "eoxfeld@gmail.com",
"name": "Evan Oxfeld"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/EvanOxfeld/node-unzip/issues"
},
"dependencies": {
"binary": ">= 0.3.0 < 1",
"fstream": ">= 0.1.30 < 1",
"match-stream": ">= 0.0.2 < 1",
"pullstream": ">= 0.4.1 < 1",
"binary": ">= 0.3.0 < 1",
"readable-stream": "~1.0.31",
"setimmediate": ">= 1.0.1 < 2",
"match-stream": ">= 0.0.2 < 1"
"setimmediate": ">= 1.0.1 < 2"
},
"description": "Unzip cross-platform streaming API compatible with fstream and fs.ReadStream",
"devDependencies": {
"dirdiff": ">= 0.0.1 < 1",
"stream-buffers": ">= 0.2.5 < 1",
"tap": ">= 0.3.0 < 1",
"temp": ">= 0.4.0 < 1",
"dirdiff": ">= 0.0.1 < 1",
"stream-buffers": ">= 0.2.5 < 1"
"temp": ">= 0.4.0 < 1"
},

@@ -42,33 +66,40 @@ "directories": {

},
"dist": {
"shasum": "89749c63b058d7d90d619f86b98aa1535d3b97f0",
"tarball": "http://registry.npmjs.org/unzip/-/unzip-0.1.11.tgz"
},
"gitHead": "5a62ecbcef6523708bb8b37decaf6e41728ac7fc",
"homepage": "https://github.com/EvanOxfeld/node-unzip",
"keywords": [
"zip",
"unzip",
"zlib",
"uncompress",
"archive",
"extract",
"stream",
"extract"
"uncompress",
"unzip",
"zip",
"zlib"
],
"license": "MIT",
"main": "unzip.js",
"maintainers": [
{
"name": "evanoxfeld",
"email": "eoxfeld@gmail.com"
},
{
"name": "joeferner",
"email": "joe@fernsroth.com"
}
],
"name": "unzip",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git+https://github.com/EvanOxfeld/node-unzip.git"
},
"scripts": {
"test": "tap ./test/*.js"
},
"gitHead": "5a62ecbcef6523708bb8b37decaf6e41728ac7fc",
"bugs": {
"url": "https://github.com/EvanOxfeld/node-unzip/issues"
},
"homepage": "https://github.com/EvanOxfeld/node-unzip",
"_id": "unzip@0.1.11",
"_shasum": "89749c63b058d7d90d619f86b98aa1535d3b97f0",
"_from": "unzip@>=0.1.11 <0.2.0",
"_npmVersion": "1.4.21",
"_npmUser": {
"name": "evanoxfeld",
"email": "eoxfeld@gmail.com"
},
"dist": {
"shasum": "89749c63b058d7d90d619f86b98aa1535d3b97f0",
"tarball": "http://registry.npmjs.org/unzip/-/unzip-0.1.11.tgz"
},
"_resolved": "https://registry.npmjs.org/unzip/-/unzip-0.1.11.tgz"
"version": "0.1.11"
}
{
"name": "electron-updater",
"version": "0.2.3",
"version": "0.3.0",
"description": "Cross platform auto-updater for electron applications",

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

@@ -30,3 +30,3 @@ # electron-updater

mainWindow = new BrowserWindow({width: 800, height: 600})
mainWindow.loadUrl('file://' + __dirname + '/index.html')
mainWindow.loadURL('file://' + __dirname + '/index.html')
mainWindow.openDevTools({detach:true})

@@ -50,3 +50,4 @@ mainWindow.on('closed', function() {

var plugins = require('electron-plugins'),
ipc = require('ipc')
electron = require('electron'),
ipc = electron.ipcRenderer

@@ -53,0 +54,0 @@ document.addEventListener('DOMContentLoaded', function () {

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