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

alt

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alt - npm Package Compare versions

Comparing version 0.10.1 to 0.10.2

.editorconfig

28

dist/alt.js

@@ -253,17 +253,21 @@ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.Alt=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){

ActionsClass.call({
generateActions: function () {
var actionNames = _slice.call(arguments);
function ActionsGenerator() {
ActionsClass.call(this);
}
ActionsGenerator.prototype = ActionsClass.prototype;
ActionsGenerator.prototype.generateActions = function () {
var actionNames = _slice.call(arguments);
actionNames.forEach(function (actionName) {
// This is a function so we can later bind this to ActionCreator
actions[actionName] = function (x) {
var a = _slice.call(arguments, 1);
actionNames.forEach(function (actionName) {
// This is a function so we can later bind this to ActionCreator
actions[actionName] = function (x) {
var a = _slice.call(arguments, 1);
this.dispatch(a.length ? [x].concat(a) : x);
};
});
}
});
this.dispatch(a.length ? [x].concat(a) : x);
};
});
};
new ActionsGenerator();
return Object.keys(actions).reduce(function (obj, action) {

@@ -270,0 +274,0 @@ var constant = formatAsConstant(action);

{
"name": "alt",
"version": "0.10.1",
"version": "0.10.2",
"description": "A flux implementation",

@@ -15,3 +15,3 @@ "main": "dist/alt.js",

"istanbul": "^0.3.5",
"sixpack": "^2.0.0"
"sixpack": "2.0.0"
},

@@ -23,6 +23,6 @@ "repository": {

"scripts": {
"build": "./node_modules/sixpack/bin/sixpack ./src/alt.js Alt > dist/alt.js",
"build": "sixpack ./src/alt.js Alt > dist/alt.js",
"prepublish": "npm run build",
"coverage": "node ./node_modules/6to5/bin/6to5 src/alt.js > src/coverage-alt.js; node ./node_modules/6to5/bin/6to5 test.js > coverage-test.js; ./node_modules/istanbul/lib/cli.js cover coverage-test.js",
"test": "node ./node_modules/6to5/bin/6to5 src/alt.js > src/coverage-alt.js; ./node_modules/6to5/bin/6to5-node test.js;"
"coverage": "6to5 src/alt.js > src/coverage-alt.js; 6to5 test.js > coverage-test.js; istanbul cover coverage-test.js",
"test": "6to5 src/alt.js > src/coverage-alt.js; 6to5-node test.js;"
},

@@ -29,0 +29,0 @@ "keywords": [

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