Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

Commit

Permalink
Updated dependencies & removed n1pluginupdater :(
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKing committed Oct 31, 2016
1 parent 0a6efaa commit 0e76133
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
Binary file modified dist/n1-unsubscribe.zip
Binary file not shown.
16 changes: 8 additions & 8 deletions lib/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ const settings = require('./settings');
settings.configure();

// Configure plugin updater
const config = require(`${__dirname}/../package.json`);
const n1pluginupdater = require('n1pluginupdater');
const config = require(`${__dirname}/../package.json`); // eslint-disable-line
// const n1pluginupdater = require('n1pluginupdater');

module.exports = {
// Activate is called when the package is loaded. If your package previously
// saved state using `serialize` it is provided.
//
activate: () => {
n1pluginupdater.checkForUpdate({
repositoryName: "n1-unsubscribe",
repositoryOwner: "colinking",
currentVersion: config.version,
});
// n1pluginupdater.checkForUpdate({
// repositoryName: "n1-unsubscribe",
// repositoryOwner: "colinking",
// currentVersion: config.version,
// });
// ComponentRegistry.register(ThreadUnsubscribeBulkAction,
// { role: 'ThreadListBulkAction' });
// // role: 'thread:BulkAction'
Expand All @@ -36,7 +36,7 @@ module.exports = {
// subscribing to events, release them here.
//
deactivate: () => {
n1pluginupdater.deactivate();
// n1pluginupdater.deactivate();
// ComponentRegistry.register(ThreadUnsubscribeBulkAction);
ComponentRegistry.unregister(ThreadUnsubscribeQuickActionButton);
ComponentRegistry.unregister(ThreadUnsubscribeToolbarButton);
Expand Down
4 changes: 2 additions & 2 deletions lib/thread-unsubscribe-store.es6
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ const _ = require('underscore');
const cheerio = require('cheerio');
const BrowserWindow = require('electron').remote.BrowserWindow; // eslint-disable-line
const MailParser = require('mailparser').MailParser;
const ThreadConditionType = require(`${__dirname}/enum/threadConditionType`);
const ThreadConditionType = require(`${__dirname}/enum/threadConditionType`); // eslint-disable-line
const open = require('open');
const blacklist = require(`${__dirname}/blacklist.json`);
const blacklist = require(`${__dirname}/blacklist.json`); // eslint-disable-line

class ThreadUnsubscribeStore extends NylasStore {
constructor(thread) {
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/unsubscribe-buttons.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const {React} = require('nylas-exports'); // eslint-disable-line
const {RetinaImg, KeyCommandsRegion} = require('nylas-component-kit'); // eslint-disable-line
const ThreadUnsubscribeStoreManager = require('../thread-unsubscribe-store-manager');
const ThreadConditionType = require(`${__dirname}/../enum/threadConditionType`);
const ThreadConditionType = require(`${__dirname}/../enum/threadConditionType`); // eslint-disable-line

const UNSUBSCRIBE_ASSETS_URL = 'nylas://n1-unsubscribe/assets/';

Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "n1-unsubscribe",
"main": "./lib/main",
"version": "1.6.0",
"version": "1.6.2",
"repository": {
"type": "git",
"url": "https://github.com/colinking/n1-unsubscribe"
Expand All @@ -16,16 +16,16 @@
"cheerio": "^0.22.0",
"fs-extra": "^0.30.0",
"mailparser": "^0.6.1",
"n1pluginupdater": "^1.0.0",
"n1pluginupdater": "^1.0.404",
"open": "0.0.5",
"strip-json-comments": "^2.0.1",
"underscore": "^1.8.3"
},
"devDependencies": {
"babel-eslint": "^6.0.4",
"babel-eslint": "^7.1.0",
"eslint": "^3.2.2",
"eslint-config-airbnb": "^11.1.0",
"eslint-plugin-import": "^1.6.1",
"eslint-config-airbnb": "^12.0.0",
"eslint-plugin-import": "1.16.0",
"eslint-plugin-jsx-a11y": "^2.1.0",
"eslint-plugin-react": "^6.0.0",
"pre-commit": "^1.1.3"
Expand Down

0 comments on commit 0e76133

Please sign in to comment.