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

colonel-kurtz

Package Overview
Dependencies
Maintainers
3
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

colonel-kurtz - npm Package Compare versions

Comparing version 2.16.0 to 2.16.1

4

addons/common/field.js

@@ -1,5 +0,5 @@

var _objectWithoutProperties = function (obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; };
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
/**

@@ -6,0 +6,0 @@ * Field

@@ -1,5 +0,5 @@

var _objectWithoutProperties = function (obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; };
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
var React = require('react');

@@ -6,0 +6,0 @@ var cx = require('classnames');

@@ -1,2 +0,2 @@

var _objectWithoutProperties = function (obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; };
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }

@@ -3,0 +3,0 @@ var React = require('react');

@@ -1,2 +0,2 @@

var _objectWithoutProperties = function (obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; };
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }

@@ -3,0 +3,0 @@ var Btn = require('../../src/components/Button');

{
"name": "colonel-kurtz",
"version": "2.16.0",
"version": "2.16.1",
"description": "A block editor",

@@ -35,10 +35,10 @@ "main": "src/Colonel.js",

"peerDependencies": {
"react": ">= 0.12.1"
"react": ">= 0.12.1 < 0.14"
},
"dependencies": {
"classnames": "^1.x.x",
"microcosm": "^7.1.0",
"react-focus-trap": "^0.7.0",
"react-ink": "^4.0.0-rc5"
"classnames": "~2",
"microcosm": "~7.1",
"react-focus-trap": "~0.8",
"react-ink": "4.0.0-rc5"
}
}

@@ -1,4 +0,4 @@

var _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } };
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
var _inherits = function (subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) subClass.__proto__ = superClass; };
function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) subClass.__proto__ = superClass; }

@@ -5,0 +5,0 @@ /**

@@ -1,2 +0,2 @@

var _objectWithoutProperties = function (obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; };
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }

@@ -3,0 +3,0 @@ var React = require('react');

@@ -37,5 +37,5 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

getMenu: function getMenu() {
if (!this.props.active) {
return null;
}return React.createElement(FocusTrap, {
if (!this.props.active) return null;
return React.createElement(FocusTrap, {
active: true,

@@ -60,2 +60,2 @@ key: 'menu',

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL01lbnUuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsSUFBSSxRQUFRLEdBQUksT0FBTyxDQUFDLFlBQVksQ0FBQyxDQUFBO0FBQ3JDLElBQUksU0FBUyxHQUFHLE9BQU8sQ0FBQyxrQkFBa0IsQ0FBQyxDQUFBO0FBQzNDLElBQUksTUFBTSxHQUFNLE9BQU8sQ0FBQyxjQUFjLENBQUMsQ0FBQTtBQUN2QyxJQUFJLElBQUksR0FBUSxPQUFPLENBQUMsWUFBWSxDQUFDLENBQUE7QUFDckMsSUFBSSxLQUFLLEdBQU8sT0FBTyxDQUFDLE9BQU8sQ0FBQyxDQUFBO0FBQ2hDLElBQUksU0FBUyxHQUFHLE9BQU8sQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFBOztBQUV6QyxNQUFNLENBQ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gfSxcblxuICBnZXRNZW51KCkge1xuICAgIGlmICghdGhpcy5wcm9wcy5hY3RpdmUpIHJldHVybiBudWxsO1xuXG4gICAgcmV0dXJuIFJlYWN0LmNyZWF0ZUVsZW1lbnQoRm9jdXNUcmFwLCB7XG4gICAgICBhY3RpdmUgICAgOiB0cnVlLFxuICAgICAga2V5ICAgICAgIDogJ21lbnUnLFxuICAgICAgY2xhc3NOYW1lIDogJ2NvbC1tZW51JyxcbiAgICAgIGVsZW1lbnQgICA6ICduYXYnLFxuICAgICAgb25FeGl0ICAgIDogdGhpcy5wcm9wcy5vbkV4aXQsXG4gICAgICByb2xlICAgICAgOiAnbmF2aWdhdGlvbidcbiAgICB9LCB0aGlzLmdldE1lbnVJdGVtcygpKVxuICB9LFxuXG4gIHJlbmRlcigpIHtcbiAgICByZXR1cm4gKFxuICAgICAgPEFuaW1hdG9yIGNsYXNzTmFtZT1cImNvbC1tZW51LXdyYXBwZXJcIiB0cmFuc2l0aW9uTmFtZT1cImNvbC1tZW51XCI+XG4gICAgICAgIDxIYW5kbGUga2V5PVwiaGFuZGxlXCIgcmVmPVwiaGFuZGxlXCIgb25DbGljaz17IHRoaXMucHJvcHMub25PcGVuIH0vPlxuICAgICAgICB7IHRoaXMuZ2V0TWVudSgpIH1cbiAgICAgIDwvQW5pbWF0b3I+XG4gICAgKVxuICB9XG5cbn0pXG4iXX0=

@@ -1,2 +0,2 @@

var _objectWithoutProperties = function (obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; };
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }

@@ -3,0 +3,0 @@ var Btn = require('./Button');

@@ -1,5 +0,5 @@

var _objectWithoutProperties = function (obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; };
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
var Button = require('./Button');

@@ -6,0 +6,0 @@ var React = require('react');

@@ -32,5 +32,5 @@ var ActionButton = require('./ActionButton');

getToggle: function getToggle() {
if (this.state.open) {
return null;
}return React.createElement(ActionButton, { ref: 'toggle',
if (this.state.open) return null;
return React.createElement(ActionButton, { ref: 'toggle',
label: 'Open the block menu and create a block',

@@ -41,5 +41,5 @@ onClick: this._onToggle });

getNav: function getNav(blockTypes) {
if (!this.state.open) {
return null;
}return React.createElement(SwitchNav, { ref: 'nav',
if (!this.state.open) return null;
return React.createElement(SwitchNav, { ref: 'nav',
blockTypes: blockTypes,

@@ -93,2 +93,2 @@ onAdd: this._onAdd,

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1N3aXRjaC5qc3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsSUFBSSxZQUFZLEdBQUksT0FBTyxDQUFDLGdCQUFnQixDQUFDLENBQUE7QUFDN0MsSUFBSSxPQUFPLEdBQVMsT0FBTyxDQUFDLG1CQUFtQixDQUFDLENBQUE7QUFDaEQsSUFBSSxLQUFLLEdBQVcsT0FBTyxDQUFDLE9BQU8sQ0FBQyxDQUFBO0FBQ3BDLElBQUksU0FBUyxHQUFPLE9BQU8sQ0FBQyxhQUFhLENBQUMsQ0FBQTtBQUMxQyxJQUFJLFVBQVUsR0FBTSxPQUFPLENBQUMsWUFBWSxDQUFDLENBQU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gb25LZXlVcD17IHRoaXMuX29uS2V5VXAgfT5cbiAgICAgICAgeyB0aGlzLnByb3BzLmJsb2NrVHlwZXMubWFwKHRoaXMuZ2V0QnV0dG9uKX1cbiAgICAgIDwvbmF2PlxuICAgIClcbiAgfSxcblxuICBfb25LZXlVcChlKSB7XG4gICAgaWYgKGUua2V5ID09PSAnRXNjYXBlJykge1xuICAgICAgdGhpcy5wcm9wcy5vbkV4aXQoKVxuICAgIH1cbiAgfVxuXG59KVxuIl19

@@ -1,2 +0,2 @@

var _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } };
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }

@@ -3,0 +3,0 @@ var uid = require('../utils/uid');

@@ -1,2 +0,2 @@

var _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } };
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }

@@ -34,2 +34,2 @@ var React = require('react');

module.exports = BlockType;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9tb2RlbHMvQmxvY2tUeXBlLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsSUFBSSxLQUFLLEdBQUcsT0FBTyxDQUFDLE9BQU8sQ0FBQyxDQUFBOztJQUV0QixTQUFTO0FBRUYsV0FGUCxTQUFTLE9BRTJDO1FBQTFDLFNBQVMsUUFBVCxTQUFTO1FBQUUsU0FBUyxRQUFULFNBQVM7UUFBRSxLQUFLLFFBQUwsS0FBSztRQUFFLEtBQUssUUFBTCxLQUFLO1FBQUUsRUFBRSxRQUFGLEVBQUU7OzBCQUZoRCxTQUFTOztBQUdYLFFBQUksT0FBTyxTQUFTLEtBQUssUUFBUSxFQUFFO0FBQ2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FuY2UpXG5cbiAgICByZXR1cm4gaW5zZXJ0QXQod2l0aG91dCwgYmxvY2ssIHN0YXRlLmluZGV4T2YoYmVmb3JlKSlcbiAgfVxuXG59XG4iXX0=

Sorry, the diff of this file is too big to display

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