@blockly/block-dynamic-connection
Advanced tools
Comparing version 0.1.14 to 0.1.15
@@ -6,3 +6,3 @@ !function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n(require("blockly/core"));else if("function"==typeof define&&define.amd)define(["blockly/core"],n);else{var e="object"==typeof exports?n(require("blockly/core")):n(t.Blockly);for(var i in e)("object"==typeof exports?exports:t)[i]=e[i]}}(this,(function(t){return function(t){var n={};function e(i){if(n[i])return n[i].exports;var s=n[i]={i:i,l:!1,exports:{}};return t[i].call(s.exports,s,s.exports,e),s.l=!0,s.exports}return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:i})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(e.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var s in t)e.d(i,s,function(n){return t[n]}.bind(null,s));return i},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="/dist/",e(e.s=1)}([function(n,e){n.exports=t},function(t,n,e){"use strict";e.r(n),e.d(n,"overrideOldBlockDefinitions",(function(){return o}));var i=e(0); | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/i.InsertionMarkerManager.prototype.update=function(t,n){const e=this.getCandidate_(t);this.wouldDeleteBlock_=this.shouldDelete_(e,n),(this.wouldDeleteBlock_||this.shouldUpdatePreviews_(e,t))&&(e.closest&&e.closest.sourceBlock_.onPendingConnection&&(e.closest.sourceBlock_.onPendingConnection(e.closest),this.pendingBlocks||(this.pendingBlocks=new Set),this.pendingBlocks.add(e.closest.sourceBlock_)),i.Events.disable(),this.maybeHidePreview_(e),this.maybeShowPreview_(e),i.Events.enable())};const s=i.InsertionMarkerManager.prototype.dispose;i.InsertionMarkerManager.prototype.dispose=function(){this.pendingBlocks&&this.pendingBlocks.forEach(t=>{t.finalizeConnections&&t.finalizeConnections()}),s.call(this)}, | ||
*/i.InsertionMarkerManager.prototype.update=function(t,n){const e=this.getCandidate_(t);this.wouldDeleteBlock_=this.shouldDelete_(e,n);(this.wouldDeleteBlock_||this.shouldUpdatePreviews_(e,t))&&(e.closest&&e.closest.sourceBlock_.onPendingConnection&&(e.closest.sourceBlock_.onPendingConnection(e.closest),this.pendingBlocks||(this.pendingBlocks=new Set),this.pendingBlocks.add(e.closest.sourceBlock_)),i.Events.disable(),this.maybeHidePreview_(e),this.maybeShowPreview_(e),i.Events.enable())};const s=i.InsertionMarkerManager.prototype.dispose;i.InsertionMarkerManager.prototype.dispose=function(){this.pendingBlocks&&this.pendingBlocks.forEach(t=>{t.finalizeConnections&&t.finalizeConnections()}),s.call(this)}, | ||
/** | ||
@@ -9,0 +9,0 @@ * @license |
{ | ||
"name": "@blockly/block-dynamic-connection", | ||
"version": "0.1.14", | ||
"version": "0.1.15", | ||
"description": "A group of blocks that add connections dynamically.", | ||
@@ -43,5 +43,5 @@ "scripts": { | ||
"devDependencies": { | ||
"@blockly/dev-scripts": "^1.2.10", | ||
"@blockly/dev-tools": "^2.6.1", | ||
"blockly": "^4.20201217.0", | ||
"@blockly/dev-scripts": "^1.2.11", | ||
"@blockly/dev-tools": "^3.0.1", | ||
"blockly": "^7.20211209.0", | ||
"chai": "^4.2.0", | ||
@@ -51,3 +51,3 @@ "mocha": "^7.1.0" | ||
"peerDependencies": { | ||
"blockly": "3 - 6" | ||
"blockly": "3 - 7" | ||
}, | ||
@@ -69,3 +69,3 @@ "publishConfig": { | ||
], | ||
"gitHead": "17376460cefae0a9d1485b4606c7fb3bc145fb07" | ||
"gitHead": "6efaf28c244e02483e250299aca2614e124b731a" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package