Skip to content

Commit

Permalink
chore(release): 1.0.0-rc.1 [skip ci]
Browse files Browse the repository at this point in the history
# [1.0.0-rc.1](v0.3.9...v1.0.0-rc.1) (2021-11-02)

### Features

* prepare prerelease version for supporting groupable feature ([92abb4b](92abb4b))

### BREAKING CHANGES

* Change API
  • Loading branch information
semantic-release-bot committed Nov 2, 2021
1 parent 2a23c5a commit 8ceaf33
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 16 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# [1.0.0-rc.1](https://github.com/nichollascarter/subjx/compare/v0.3.9...v1.0.0-rc.1) (2021-11-02)


### Features

* prepare prerelease version for supporting groupable feature ([92abb4b](https://github.com/nichollascarter/subjx/commit/92abb4bc12c78c3739233593adefa8b063b73d62))


### BREAKING CHANGES

* Change API
2 changes: 1 addition & 1 deletion dist/js/subjx.common.js

Large diffs are not rendered by default.

16 changes: 12 additions & 4 deletions dist/js/subjx.dev.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -3959,6 +3959,7 @@ var getCommandValuesLength = function getCommandValuesLength(cmd) {
var parsePath = function parsePath(path) {
var match = dRE.lastIndex = 0;
var serialized = [];
var firstCommand = false;

var _loop = function _loop() {
var _match = match,
Expand All @@ -3973,13 +3974,20 @@ var parsePath = function parsePath(path) {
if (!isNaN(val)) {
return Number(val);
}
}); // split big command into multiple commands
});
var isMoveTo = upCmd === 'M';

var _getCommandValuesLeng = getCommandValuesLength(cmd),
commandLength = _getCommandValuesLeng.size; // split big command into multiple commands


arrayToChunks(values, getCommandValuesLength(cmd).size).map(function (chunkedValues) {
arrayToChunks(values, commandLength).map(function (chunkedValues) {
var shouldReplace = firstCommand && isMoveTo;
firstCommand = firstCommand ? firstCommand : isMoveTo;
return serialized.push({
relative: isRelative,
key: upCmd,
cmd: cmd,
key: shouldReplace ? 'L' : upCmd,
cmd: shouldReplace ? isRelative ? 'l' : 'L' : cmd,
values: chunkedValues
});
});
Expand Down
16 changes: 12 additions & 4 deletions dist/js/subjx.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -3963,6 +3963,7 @@
var parsePath = function parsePath(path) {
var match = dRE.lastIndex = 0;
var serialized = [];
var firstCommand = false;

var _loop = function _loop() {
var _match = match,
Expand All @@ -3977,13 +3978,20 @@
if (!isNaN(val)) {
return Number(val);
}
}); // split big command into multiple commands
});
var isMoveTo = upCmd === 'M';

var _getCommandValuesLeng = getCommandValuesLength(cmd),
commandLength = _getCommandValuesLeng.size; // split big command into multiple commands


arrayToChunks(values, getCommandValuesLength(cmd).size).map(function (chunkedValues) {
arrayToChunks(values, commandLength).map(function (chunkedValues) {
var shouldReplace = firstCommand && isMoveTo;
firstCommand = firstCommand ? firstCommand : isMoveTo;
return serialized.push({
relative: isRelative,
key: upCmd,
cmd: cmd,
key: shouldReplace ? 'L' : upCmd,
cmd: shouldReplace ? isRelative ? 'l' : 'L' : cmd,
values: chunkedValues
});
});
Expand Down
16 changes: 12 additions & 4 deletions dist/js/subjx.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -3957,6 +3957,7 @@ var getCommandValuesLength = function getCommandValuesLength(cmd) {
var parsePath = function parsePath(path) {
var match = dRE.lastIndex = 0;
var serialized = [];
var firstCommand = false;

var _loop = function _loop() {
var _match = match,
Expand All @@ -3971,13 +3972,20 @@ var parsePath = function parsePath(path) {
if (!isNaN(val)) {
return Number(val);
}
}); // split big command into multiple commands
});
var isMoveTo = upCmd === 'M';

var _getCommandValuesLeng = getCommandValuesLength(cmd),
commandLength = _getCommandValuesLeng.size; // split big command into multiple commands


arrayToChunks(values, getCommandValuesLength(cmd).size).map(function (chunkedValues) {
arrayToChunks(values, commandLength).map(function (chunkedValues) {
var shouldReplace = firstCommand && isMoveTo;
firstCommand = firstCommand ? firstCommand : isMoveTo;
return serialized.push({
relative: isRelative,
key: upCmd,
cmd: cmd,
key: shouldReplace ? 'L' : upCmd,
cmd: shouldReplace ? isRelative ? 'l' : 'L' : cmd,
values: chunkedValues
});
});
Expand Down
2 changes: 1 addition & 1 deletion dist/js/subjx.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "subjx",
"version": "0.0.0-development",
"version": "1.0.0-rc.1",
"description": "Drag, Rotate, Resize library",
"author": "Karen Sarksyan (https://github.com/nichollascarter)",
"license": "MIT",
Expand Down Expand Up @@ -83,4 +83,4 @@
"path": "./node_modules/cz-conventional-changelog"
}
}
}
}

0 comments on commit 8ceaf33

Please sign in to comment.