Socket
Socket
Sign inDemoInstall

arkhamjs

Package Overview
Dependencies
41
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2 to 2.0.4

dist/actions/ArkhamActions/ArkhamActions.d.ts

7

dist/constants/ArkhamConstants.d.ts

@@ -1,1 +0,6 @@

export declare const ArkhamConstants: object;
export declare class ArkhamConstants {
static readonly GO_BACK: string;
static readonly GO_REPLACE: string;
static readonly UPDATE_TITLE: string;
static readonly UPDATE_VIEW: string;
}

17

dist/constants/ArkhamConstants.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ArkhamConstants = {
DEBUG_DISABLED: 0,
DEBUG_DISPATCH: 2,
DEBUG_LOGS: 1,
UPDATE_TITLE: 'ARKHAM_UPDATE_TITLE',
UPDATE_VIEW: 'ARKHAM_UPDATE_VIEW'
};
var ArkhamConstants = (function () {
function ArkhamConstants() {
}
ArkhamConstants.GO_BACK = 'ARKHAM_GO_BACK';
ArkhamConstants.GO_REPLACE = 'ARKHAM_GO_REPLACE';
ArkhamConstants.UPDATE_TITLE = 'ARKHAM_UPDATE_TITLE';
ArkhamConstants.UPDATE_VIEW = 'ARKHAM_UPDATE_VIEW';
return ArkhamConstants;
}());
exports.ArkhamConstants = ArkhamConstants;
//# sourceMappingURL=ArkhamConstants.js.map

@@ -1,6 +0,7 @@

export { Flux, FluxAction, FluxOptions, FluxDebugLevel } from './Flux';
export { Store } from './Store';
export { ArkhamActions, ArkhamConstants } from './actions/ArkhamActions';
export { Arkham } from './components/Arkham';
export { View } from './components/View';
export { ViewContainer } from './components/ViewContainer';
export { Flux, FluxAction, FluxOptions, FluxDebugLevel } from './Flux/Flux';
export { Store } from './Store/Store';
export { ArkhamActions } from './actions/ArkhamActions/ArkhamActions';
export { ArkhamConstants } from './constants/ArkhamConstants';
export { Arkham } from './components/Arkham/Arkham';
export { MatchProps, View, ViewProps } from './components/View/View';
export { ViewContainer } from './components/ViewContainer/ViewContainer';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Flux_1 = require("./Flux");
var Flux_1 = require("./Flux/Flux");
exports.Flux = Flux_1.Flux;
exports.FluxDebugLevel = Flux_1.FluxDebugLevel;
var Store_1 = require("./Store");
var Store_1 = require("./Store/Store");
exports.Store = Store_1.Store;
var ArkhamActions_1 = require("./actions/ArkhamActions");
var ArkhamActions_1 = require("./actions/ArkhamActions/ArkhamActions");
exports.ArkhamActions = ArkhamActions_1.ArkhamActions;
exports.ArkhamConstants = ArkhamActions_1.ArkhamConstants;
var Arkham_1 = require("./components/Arkham");
var ArkhamConstants_1 = require("./constants/ArkhamConstants");
exports.ArkhamConstants = ArkhamConstants_1.ArkhamConstants;
var Arkham_1 = require("./components/Arkham/Arkham");
exports.Arkham = Arkham_1.Arkham;
var View_1 = require("./components/View");
var View_1 = require("./components/View/View");
exports.View = View_1.View;
var ViewContainer_1 = require("./components/ViewContainer");
var ViewContainer_1 = require("./components/ViewContainer/ViewContainer");
exports.ViewContainer = ViewContainer_1.ViewContainer;
//# sourceMappingURL=index.js.map

@@ -5,23 +5,2 @@ /**

*/
exports.__esModule = true;
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
exports.Flux = _interopRequireDefault(require('./dist/Flux'))['Flux'];
exports.FluxAction = _interopRequireDefault(require('./dist/Flux'))['FluxAction'];
exports.FluxDebugLevel = _interopRequireDefault(require('./dist/Flux'))['FluxDebugLevel'];
exports.FluxOptions = _interopRequireDefault(require('./dist/Flux'))['FluxOptions'];
exports.Store = _interopRequireDefault(require('./dist/Store'))['Store'];
// Actions
exports.ArkhamActions = _interopRequireDefault(require('./dist/actions/ArkhamActions'))['ArkhamActions'];
// Constants
exports.ArkhamConstants = _interopRequireDefault(require('./dist/actions/ArkhamActions'))['ArkhamConstants'];
// Components
exports.Arkham = _interopRequireDefault(require('./dist/components/Arkham'))['Arkham'];
exports.View = _interopRequireDefault(require('./dist/components/View'))['View'];
exports.ViewContainer = _interopRequireDefault(require('./dist/components/ViewContainer'))['ViewContainer'];
module.exports = require('./dist/index');
{
"name": "arkhamjs",
"version": "2.0.2",
"version": "2.0.4",
"description": "A Typescript Flux library for ReactJS",

@@ -68,7 +68,2 @@ "license": "MIT",

"jest": {
"testURL": "http://localhost",
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "test/.*\\.test\\.(ts|tsx|js)$",
"moduleFileExtensions": [

@@ -78,4 +73,16 @@ "ts",

"js"
]
],
"testURL": "http://localhost",
"transform": {
"^.+\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/dist/"
],
"testMatch": [
"<rootDir>/src/**/*test.ts?(x)"
],
"verbose": false
}
}

@@ -77,3 +77,3 @@ ![ArkhamJS](https://nitrogenlabs.com/logos/gh-arkhamjs.png "ArkhamJS")

onAction(type: string, data: object, state: object): object {
onAction(type: string, data, state): object {
switch(type) {

@@ -248,11 +248,11 @@ case AppConstants.TEST:

#### `registerStore(Class|Array)`
Registers stores with Flux. You may use an array of classes to register multiple.
#### `registerStores(array)`
Registers stores with Flux. Use an array of classes to register multiple.
* [`Class`] \(*array*): The store class(s) to add to Flux.
##### Returns
A new object from the class. If using an array, the return result will be the array of class objects.
An array of store class objects.
#### `deregisterStore(name)`
Deregisters stores from Flux. You may use an array of names to deregister multiple.
Deregisters stores from Flux. Use an array of names to deregister multiple stores.
* [`name`] \(*array*): Name of store(s) to remove from Flux.

@@ -259,0 +259,0 @@

@@ -6,3 +6,3 @@ {

"jsx": "react",
"lib": ["es6", "dom"],
"lib": ["es6", "dom", "es2015.promise"],
"module": "commonjs",

@@ -26,3 +26,3 @@ "moduleResolution": "node",

"exclude": [
"**/*.spec.ts",
"**/*.test.*",
"./dist",

@@ -29,0 +29,0 @@ "./docs",

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc