Socket
Socket
Sign inDemoInstall

allotment

Package Overview
Dependencies
12
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.19.3 to 1.19.4

21

dist/module.js

@@ -1095,3 +1095,3 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : 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; }; return _extends.apply(this, arguments); }

var i = this.viewItems.map(e => e.size);
(_this$onDidDragStart = this.onDidDragStart) == null ? void 0 : _this$onDidDragStart.call(this, i);
(_this$onDidDragStart = this.onDidDragStart) == null || _this$onDidDragStart.call(this, i);
}), _e6.on("change", e => this.onSashChange(_t2(e))), _e6.on("end", () => {

@@ -1101,3 +1101,3 @@ var _this$onDidDragEnd;

var t = this.viewItems.map(e => e.size);
(_this$onDidDragEnd = this.onDidDragEnd) == null ? void 0 : _this$onDidDragEnd.call(this, t);
(_this$onDidDragEnd = this.onDidDragEnd) == null || _this$onDidDragEnd.call(this, t);
}), _e6.on("reset", () => {

@@ -1490,3 +1490,3 @@ var t = this.sashItems.findIndex(t => t.sash === _e6),

var _O$current2;
(_O$current2 = O.current) == null ? void 0 : _O$current2.distributeViewSizes();
(_O$current2 = O.current) == null || _O$current2.distributeViewSizes();
for (var _e23 = 0; _e23 < C.current.length; _e23++) R(_e23);

@@ -1497,3 +1497,3 @@ }

var _O$current3;
(_O$current3 = O.current) == null ? void 0 : _O$current3.resizeViews(e);
(_O$current3 = O.current) == null || _O$current3.resizeViews(e);
}

@@ -1532,6 +1532,6 @@ })), H(() => {

var _I$current;
(_I$current = I.current) == null ? void 0 : _I$current.classList.add("split-view-sash-dragging");
(_I$current = I.current) == null || _I$current.classList.add("split-view-sash-dragging");
}), O.current.on("sashDragEnd", () => {
var _I$current2;
(_I$current2 = I.current) == null ? void 0 : _I$current2.classList.remove("split-view-sash-dragging");
(_I$current2 = I.current) == null || _I$current2.classList.remove("split-view-sash-dragging");
}), O.current.on("sashchange", e => {

@@ -1550,3 +1550,3 @@ if (z && O.current) {

if (R(e + 1)) return;
(_O$current4 = O.current) == null ? void 0 : _O$current4.distributeViewSizes();
(_O$current4 = O.current) == null || _O$current4.distributeViewSizes();
}

@@ -1592,11 +1592,10 @@ });

var _O$current6;
(_O$current6 = O.current) == null ? void 0 : _O$current6.moveView(N.current.get(_n9), e, _i15);
(_O$current6 = O.current) == null || _O$current6.moveView(N.current.get(_n9), e, _i15);
var _r5 = _t20[e];
_t20.splice(e, 1), _t20.splice(_i15, 0, _r5);
return "break";
return 1; // break
}
};
for (var [_i15, _n9] of _e25.entries()) {
var _ret = _loop2(_n9);
if (_ret === "break") break;
if (_loop2(_n9)) break;
}

@@ -1603,0 +1602,0 @@ }

{
"name": "allotment",
"version": "1.19.3",
"version": "1.19.4",
"description": "React split-pane component",
"exports": {
".": "./dist/modern.mjs",
".": {
"require": "./dist/legacy.js",
"import": "./dist/modern.mjs",
"types": "./dist/types/src/index.d.ts"
},
"./dist/": "./dist/"

@@ -37,53 +41,53 @@ },

"devDependencies": {
"@babel/core": "7.22.10",
"@babel/core": "7.23.6",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-private-methods": "7.18.6",
"@babel/plugin-proposal-private-property-in-object": "7.21.11",
"@babel/plugin-transform-runtime": "7.22.10",
"@babel/preset-env": "7.22.10",
"@babel/preset-react": "7.22.5",
"@babel/preset-typescript": "7.22.5",
"@rollup/plugin-babel": "6.0.3",
"@rollup/plugin-commonjs": "25.0.3",
"@rollup/plugin-node-resolve": "15.1.0",
"@rollup/plugin-terser": "0.4.3",
"@storybook/addon-actions": "7.0.27",
"@storybook/addon-essentials": "7.0.27",
"@storybook/addon-links": "7.0.27",
"@storybook/react": "7.0.27",
"@storybook/react-webpack5": "7.0.27",
"@testing-library/dom": "9.3.1",
"@types/jest": "29.5.3",
"@types/lodash.clamp": "4.0.7",
"@types/lodash.debounce": "4.0.7",
"@types/lodash.isequal": "4.5.6",
"@types/react": "18.2.19",
"@types/react-dom": "18.2.7",
"@typescript-eslint/parser": "5.62.0",
"@vscode/codicons": "0.0.33",
"babel-jest": "29.6.1",
"@babel/plugin-transform-runtime": "7.23.6",
"@babel/preset-env": "7.23.6",
"@babel/preset-react": "7.23.3",
"@babel/preset-typescript": "7.23.3",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "25.0.7",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-terser": "0.4.4",
"@storybook/addon-actions": "7.6.6",
"@storybook/addon-essentials": "7.6.6",
"@storybook/addon-links": "7.6.6",
"@storybook/react": "7.6.6",
"@storybook/react-webpack5": "7.6.6",
"@testing-library/dom": "9.3.3",
"@types/jest": "29.5.11",
"@types/lodash.clamp": "4.0.9",
"@types/lodash.debounce": "4.0.9",
"@types/lodash.isequal": "4.5.8",
"@types/react": "18.2.45",
"@types/react-dom": "18.2.18",
"@typescript-eslint/parser": "6.16.0",
"@vscode/codicons": "0.0.35",
"babel-jest": "29.7.0",
"babel-loader": "9.1.3",
"css-loader": "6.8.1",
"eslint": "8.46.0",
"eslint-config-prettier": "8.8.0",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-simple-import-sort": "10.0.0",
"eslint-plugin-storybook": "0.6.15",
"husky": "8.0.3",
"jest": "29.6.1",
"jest-environment-jsdom": "29.6.1",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"lint-staged": "14.0.1",
"postcss": "8.4.28",
"prettier": "3.0.1",
"postcss": "8.4.32",
"prettier": "3.1.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"rollup": "3.27.2",
"rollup": "3.29.4",
"rollup-plugin-postcss": "4.0.2",
"standard-version": "9.5.0",
"storybook": "7.0.27",
"storybook-dark-mode": "3.0.1",
"storybook": "7.6.6",
"storybook-dark-mode": "3.0.3",
"style-loader": "3.3.3",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"typescript": "5.1.6",
"webpack": "5.88.2",
"ts-node": "10.9.2",
"typescript": "5.3.3",
"webpack": "5.89.0",
"xterm": "5.1.0",

@@ -97,51 +101,9 @@ "xterm-addon-fit": "0.7.0"

"scripts": {
"build": "rollup -c && yarn build-types",
"build": "rollup -c && npm run build-types",
"build-storybook": "storybook build",
"build-types": "tsc",
"prepare": "husky install",
"release": "standard-version",
"storybook": "storybook dev -p 6006",
"test": "jest"
},
"standard-version": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"scope": "deps",
"hidden": true
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"hidden": true
},
{
"type": "docs",
"hidden": true
},
{
"type": "style",
"hidden": true
},
{
"type": "refactor",
"hidden": true
},
{
"type": "perf",
"hidden": true
},
{
"type": "test",
"hidden": true
}
]
}
}

@@ -39,3 +39,3 @@ [![CI status](https://github.com/johnwalley/allotment/actions/workflows/build.yml/badge.svg)](https://github.com/johnwalley/allotment/actions/workflows/build.yml)

```sh
yarn add react react-dom
npm install react react-dom
```

@@ -46,3 +46,3 @@

```sh
yarn add allotment
npm install allotment
```

@@ -49,0 +49,0 @@

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc