Comparing version 1.1.0-rc.2 to 1.1.0-rc.3
@@ -1,2 +0,2 @@ | ||
// https://d3js.org/d3-brush/ v1.1.0-rc.2 Copyright 2019 Mike Bostock | ||
// https://d3js.org/d3-brush/ v1.1.0-rc.3 Copyright 2019 Mike Bostock | ||
(function (global, factory) { | ||
@@ -240,3 +240,3 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-dispatch'), require('d3-drag'), require('d3-interpolate'), require('d3-selection'), require('d3-transition')) : | ||
function tween(t) { | ||
state.selection = t === 1 && selection1 !== null ? null : i(t); | ||
state.selection = t === 1 && selection1 === null ? null : i(t); | ||
redraw.call(that); | ||
@@ -243,0 +243,0 @@ emit.brush(); |
@@ -1,2 +0,2 @@ | ||
// https://d3js.org/d3-brush/ v1.1.0-rc.2 Copyright 2019 Mike Bostock | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("d3-dispatch"),require("d3-drag"),require("d3-interpolate"),require("d3-selection"),require("d3-transition")):"function"==typeof define&&define.amd?define(["exports","d3-dispatch","d3-drag","d3-interpolate","d3-selection","d3-transition"],e):e((t=t||self).d3=t.d3||{},t.d3,t.d3,t.d3,t.d3,t.d3)}(this,function(t,e,n,r,s,i){"use strict";function a(t){return function(){return t}}function u(t,e,n){this.target=t,this.type=e,this.selection=n}function o(){s.event.stopImmediatePropagation()}function l(){s.event.preventDefault(),s.event.stopImmediatePropagation()}var c={name:"drag"},h={name:"space"},f={name:"handle"},d={name:"center"};function p(t){return[+t[0],+t[1]]}function v(t){return[p(t[0]),p(t[1])]}var m={name:"x",handles:["w","e"].map(k),input:function(t,e){return null==t?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},y={name:"y",handles:["n","s"].map(k),input:function(t,e){return null==t?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},b={name:"xy",handles:["nw","n","ne","w","e","sw","s","se"].map(k),input:function(t){return null==t?null:v(t)},output:function(t){return t}},w={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},g={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},x={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},_={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},M={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function k(t){return{type:t}}function z(){return!s.event.button}function A(){var t=this.ownerSVGElement||this;return[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function q(){return"ontouchstart"in this}function E(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function K(t){var p,b=A,K=z,P=q,S=e.dispatch(V,"start","brush","end"),T=6;function V(e){var n=e.property("__brush",O).selectAll(".overlay").data([k("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",w.overlay).merge(n).each(function(){var t=E(this).extent;s.select(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])}),e.selectAll(".selection").data([k("selection")]).enter().append("rect").attr("class","selection").attr("cursor",w.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=e.selectAll(".handle").data(t.handles,function(t){return t.type});r.exit().remove(),r.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return w[t.type]}),e.each(j).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",I).filter(P).on("touchstart.brush",I).on("touchmove.brush",G).on("touchend.brush touchcancel.brush",N).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function j(){var t=s.select(this),e=E(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",function(t){return"e"===t.type[t.type.length-1]?e[1][0]-T/2:e[0][0]-T/2}).attr("y",function(t){return"s"===t.type[0]?e[1][1]-T/2:e[0][1]-T/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+T:T}).attr("height",function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+T:T})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function C(t,e){return t.__brush.emitter||new D(t,e)}function D(t,e){this.that=t,this.args=e,this.state=t.__brush,this.active=0}function I(){if(s.event.touches){if(s.event.changedTouches.length<s.event.touches.length)return l()}else if(p)return;if(K.apply(this,arguments)){var e,r,a,u,v,b,k,z,A,q,P,S,T,V=this,D=s.event.target.__data__.type,I="selection"===(s.event.metaKey?D="overlay":D)?c:s.event.altKey?d:f,G=t===y?null:_[D],N=t===m?null:M[D],O=E(V),X=O.extent,Y=O.selection,B=X[0][0],F=X[0][1],H=X[1][0],J=X[1][1],L=G&&N&&s.event.shiftKey,Q=s.mouse(V),R=Q,U=C(V,arguments).beforestart();"overlay"===D?O.selection=Y=[[e=t===y?B:Q[0],a=t===m?F:Q[1]],[v=t===y?H:e,k=t===m?J:a]]:(e=Y[0][0],a=Y[0][1],v=Y[1][0],k=Y[1][1]),r=e,u=a,b=v,z=k;var W=s.select(V).attr("pointer-events","none"),Z=W.selectAll(".overlay").attr("cursor",w[D]);if(s.event.touches)U.moved=tt,U.ended=nt;else{var $=s.select(s.event.view).on("keydown.brush",function(){switch(s.event.keyCode){case 16:L=G&&N;break;case 18:I===f&&(G&&(v=b-A*G,e=r+A*G),N&&(k=z-q*N,a=u+q*N),I=d,et());break;case 32:I!==f&&I!==d||(G<0?v=b-A:G>0&&(e=r-A),N<0?k=z-q:N>0&&(a=u-q),I=h,Z.attr("cursor",w.selection),et());break;default:return}l()},!0).on("keyup.brush",function(){switch(s.event.keyCode){case 16:L&&(S=T=L=!1,et());break;case 18:I===d&&(G<0?v=b:G>0&&(e=r),N<0?k=z:N>0&&(a=u),I=f,et());break;case 32:I===h&&(s.event.altKey?(G&&(v=b-A*G,e=r+A*G),N&&(k=z-q*N,a=u+q*N),I=d):(G<0?v=b:G>0&&(e=r),N<0?k=z:N>0&&(a=u),I=f),Z.attr("cursor",w[D]),et());break;default:return}l()},!0).on("mousemove.brush",tt,!0).on("mouseup.brush",nt,!0);n.dragDisable(s.event.view)}o(),i.interrupt(V),j.call(V),U.start()}function tt(){var t=s.mouse(V);!L||S||T||(Math.abs(t[0]-R[0])>Math.abs(t[1]-R[1])?T=!0:S=!0),R=t,P=!0,l(),et()}function et(){var t;switch(A=R[0]-Q[0],q=R[1]-Q[1],I){case h:case c:G&&(A=Math.max(B-e,Math.min(H-v,A)),r=e+A,b=v+A),N&&(q=Math.max(F-a,Math.min(J-k,q)),u=a+q,z=k+q);break;case f:G<0?(A=Math.max(B-e,Math.min(H-e,A)),r=e+A,b=v):G>0&&(A=Math.max(B-v,Math.min(H-v,A)),r=e,b=v+A),N<0?(q=Math.max(F-a,Math.min(J-a,q)),u=a+q,z=k):N>0&&(q=Math.max(F-k,Math.min(J-k,q)),u=a,z=k+q);break;case d:G&&(r=Math.max(B,Math.min(H,e-A*G)),b=Math.max(B,Math.min(H,v+A*G))),N&&(u=Math.max(F,Math.min(J,a-q*N)),z=Math.max(F,Math.min(J,k+q*N)))}b<r&&(G*=-1,t=e,e=v,v=t,t=r,r=b,b=t,D in g&&Z.attr("cursor",w[D=g[D]])),z<u&&(N*=-1,t=a,a=k,k=t,t=u,u=z,z=t,D in x&&Z.attr("cursor",w[D=x[D]])),O.selection&&(Y=O.selection),S&&(r=Y[0][0],b=Y[1][0]),T&&(u=Y[0][1],z=Y[1][1]),Y[0][0]===r&&Y[0][1]===u&&Y[1][0]===b&&Y[1][1]===z||(O.selection=[[r,u],[b,z]],j.call(V),U.brush())}function nt(){if(o(),s.event.touches){if(s.event.touches.length)return;p&&clearTimeout(p),p=setTimeout(function(){p=null},500)}else n.dragEnable(s.event.view,P),$.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);W.attr("pointer-events","all"),Z.attr("cursor",w.overlay),O.selection&&(Y=O.selection),function(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}(Y)&&(O.selection=null,j.call(V)),U.end()}}function G(){C(this,arguments).moved()}function N(){C(this,arguments).ended()}function O(){var e=this.__brush||{selection:null};return e.extent=v(b.apply(this,arguments)),e.dim=t,e}return V.move=function(e,n){e.selection?e.on("start.brush",function(){C(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){C(this,arguments).end()}).tween("brush",function(){var e=this,s=e.__brush,i=C(e,arguments),a=s.selection,u=t.input("function"==typeof n?n.apply(this,arguments):n,s.extent),o=r.interpolate(a,u);function l(t){s.selection=1===t&&null!==u?null:o(t),j.call(e),i.brush()}return null!==a&&null!==u?l:l(1)}):e.each(function(){var e=this,r=arguments,s=e.__brush,a=t.input("function"==typeof n?n.apply(e,r):n,s.extent),u=C(e,r).beforestart();i.interrupt(e),s.selection=null===a?null:a,j.call(e),u.start().brush().end()})},D.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting&&(this.starting=!1,this.emit("start")),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(e){s.customEvent(new u(V,e,t.output(this.state.selection)),S.apply,S,[e,this.that,this.args])}},V.extent=function(t){return arguments.length?(b="function"==typeof t?t:a(v(t)),V):b},V.filter=function(t){return arguments.length?(K="function"==typeof t?t:a(!!t),V):K},V.handleSize=function(t){return arguments.length?(T=+t,V):T},V.on=function(){var t=S.on.apply(S,arguments);return t===S?V:t},V}t.brush=function(){return K(b)},t.brushSelection=function(t){var e=t.__brush;return e?e.dim.output(e.selection):null},t.brushX=function(){return K(m)},t.brushY=function(){return K(y)},Object.defineProperty(t,"__esModule",{value:!0})}); | ||
// https://d3js.org/d3-brush/ v1.1.0-rc.3 Copyright 2019 Mike Bostock | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("d3-dispatch"),require("d3-drag"),require("d3-interpolate"),require("d3-selection"),require("d3-transition")):"function"==typeof define&&define.amd?define(["exports","d3-dispatch","d3-drag","d3-interpolate","d3-selection","d3-transition"],e):e((t=t||self).d3=t.d3||{},t.d3,t.d3,t.d3,t.d3,t.d3)}(this,function(t,e,n,r,s,i){"use strict";function a(t){return function(){return t}}function u(t,e,n){this.target=t,this.type=e,this.selection=n}function o(){s.event.stopImmediatePropagation()}function l(){s.event.preventDefault(),s.event.stopImmediatePropagation()}var c={name:"drag"},h={name:"space"},f={name:"handle"},d={name:"center"};function p(t){return[+t[0],+t[1]]}function v(t){return[p(t[0]),p(t[1])]}var m={name:"x",handles:["w","e"].map(k),input:function(t,e){return null==t?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},y={name:"y",handles:["n","s"].map(k),input:function(t,e){return null==t?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},b={name:"xy",handles:["nw","n","ne","w","e","sw","s","se"].map(k),input:function(t){return null==t?null:v(t)},output:function(t){return t}},w={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},g={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},x={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},_={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},M={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function k(t){return{type:t}}function z(){return!s.event.button}function A(){var t=this.ownerSVGElement||this;return[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function q(){return"ontouchstart"in this}function E(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function K(t){var p,b=A,K=z,P=q,S=e.dispatch(V,"start","brush","end"),T=6;function V(e){var n=e.property("__brush",O).selectAll(".overlay").data([k("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",w.overlay).merge(n).each(function(){var t=E(this).extent;s.select(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])}),e.selectAll(".selection").data([k("selection")]).enter().append("rect").attr("class","selection").attr("cursor",w.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=e.selectAll(".handle").data(t.handles,function(t){return t.type});r.exit().remove(),r.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return w[t.type]}),e.each(j).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",I).filter(P).on("touchstart.brush",I).on("touchmove.brush",G).on("touchend.brush touchcancel.brush",N).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function j(){var t=s.select(this),e=E(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",function(t){return"e"===t.type[t.type.length-1]?e[1][0]-T/2:e[0][0]-T/2}).attr("y",function(t){return"s"===t.type[0]?e[1][1]-T/2:e[0][1]-T/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+T:T}).attr("height",function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+T:T})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function C(t,e){return t.__brush.emitter||new D(t,e)}function D(t,e){this.that=t,this.args=e,this.state=t.__brush,this.active=0}function I(){if(s.event.touches){if(s.event.changedTouches.length<s.event.touches.length)return l()}else if(p)return;if(K.apply(this,arguments)){var e,r,a,u,v,b,k,z,A,q,P,S,T,V=this,D=s.event.target.__data__.type,I="selection"===(s.event.metaKey?D="overlay":D)?c:s.event.altKey?d:f,G=t===y?null:_[D],N=t===m?null:M[D],O=E(V),X=O.extent,Y=O.selection,B=X[0][0],F=X[0][1],H=X[1][0],J=X[1][1],L=G&&N&&s.event.shiftKey,Q=s.mouse(V),R=Q,U=C(V,arguments).beforestart();"overlay"===D?O.selection=Y=[[e=t===y?B:Q[0],a=t===m?F:Q[1]],[v=t===y?H:e,k=t===m?J:a]]:(e=Y[0][0],a=Y[0][1],v=Y[1][0],k=Y[1][1]),r=e,u=a,b=v,z=k;var W=s.select(V).attr("pointer-events","none"),Z=W.selectAll(".overlay").attr("cursor",w[D]);if(s.event.touches)U.moved=tt,U.ended=nt;else{var $=s.select(s.event.view).on("keydown.brush",function(){switch(s.event.keyCode){case 16:L=G&&N;break;case 18:I===f&&(G&&(v=b-A*G,e=r+A*G),N&&(k=z-q*N,a=u+q*N),I=d,et());break;case 32:I!==f&&I!==d||(G<0?v=b-A:G>0&&(e=r-A),N<0?k=z-q:N>0&&(a=u-q),I=h,Z.attr("cursor",w.selection),et());break;default:return}l()},!0).on("keyup.brush",function(){switch(s.event.keyCode){case 16:L&&(S=T=L=!1,et());break;case 18:I===d&&(G<0?v=b:G>0&&(e=r),N<0?k=z:N>0&&(a=u),I=f,et());break;case 32:I===h&&(s.event.altKey?(G&&(v=b-A*G,e=r+A*G),N&&(k=z-q*N,a=u+q*N),I=d):(G<0?v=b:G>0&&(e=r),N<0?k=z:N>0&&(a=u),I=f),Z.attr("cursor",w[D]),et());break;default:return}l()},!0).on("mousemove.brush",tt,!0).on("mouseup.brush",nt,!0);n.dragDisable(s.event.view)}o(),i.interrupt(V),j.call(V),U.start()}function tt(){var t=s.mouse(V);!L||S||T||(Math.abs(t[0]-R[0])>Math.abs(t[1]-R[1])?T=!0:S=!0),R=t,P=!0,l(),et()}function et(){var t;switch(A=R[0]-Q[0],q=R[1]-Q[1],I){case h:case c:G&&(A=Math.max(B-e,Math.min(H-v,A)),r=e+A,b=v+A),N&&(q=Math.max(F-a,Math.min(J-k,q)),u=a+q,z=k+q);break;case f:G<0?(A=Math.max(B-e,Math.min(H-e,A)),r=e+A,b=v):G>0&&(A=Math.max(B-v,Math.min(H-v,A)),r=e,b=v+A),N<0?(q=Math.max(F-a,Math.min(J-a,q)),u=a+q,z=k):N>0&&(q=Math.max(F-k,Math.min(J-k,q)),u=a,z=k+q);break;case d:G&&(r=Math.max(B,Math.min(H,e-A*G)),b=Math.max(B,Math.min(H,v+A*G))),N&&(u=Math.max(F,Math.min(J,a-q*N)),z=Math.max(F,Math.min(J,k+q*N)))}b<r&&(G*=-1,t=e,e=v,v=t,t=r,r=b,b=t,D in g&&Z.attr("cursor",w[D=g[D]])),z<u&&(N*=-1,t=a,a=k,k=t,t=u,u=z,z=t,D in x&&Z.attr("cursor",w[D=x[D]])),O.selection&&(Y=O.selection),S&&(r=Y[0][0],b=Y[1][0]),T&&(u=Y[0][1],z=Y[1][1]),Y[0][0]===r&&Y[0][1]===u&&Y[1][0]===b&&Y[1][1]===z||(O.selection=[[r,u],[b,z]],j.call(V),U.brush())}function nt(){if(o(),s.event.touches){if(s.event.touches.length)return;p&&clearTimeout(p),p=setTimeout(function(){p=null},500)}else n.dragEnable(s.event.view,P),$.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);W.attr("pointer-events","all"),Z.attr("cursor",w.overlay),O.selection&&(Y=O.selection),function(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}(Y)&&(O.selection=null,j.call(V)),U.end()}}function G(){C(this,arguments).moved()}function N(){C(this,arguments).ended()}function O(){var e=this.__brush||{selection:null};return e.extent=v(b.apply(this,arguments)),e.dim=t,e}return V.move=function(e,n){e.selection?e.on("start.brush",function(){C(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){C(this,arguments).end()}).tween("brush",function(){var e=this,s=e.__brush,i=C(e,arguments),a=s.selection,u=t.input("function"==typeof n?n.apply(this,arguments):n,s.extent),o=r.interpolate(a,u);function l(t){s.selection=1===t&&null===u?null:o(t),j.call(e),i.brush()}return null!==a&&null!==u?l:l(1)}):e.each(function(){var e=this,r=arguments,s=e.__brush,a=t.input("function"==typeof n?n.apply(e,r):n,s.extent),u=C(e,r).beforestart();i.interrupt(e),s.selection=null===a?null:a,j.call(e),u.start().brush().end()})},D.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting&&(this.starting=!1,this.emit("start")),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(e){s.customEvent(new u(V,e,t.output(this.state.selection)),S.apply,S,[e,this.that,this.args])}},V.extent=function(t){return arguments.length?(b="function"==typeof t?t:a(v(t)),V):b},V.filter=function(t){return arguments.length?(K="function"==typeof t?t:a(!!t),V):K},V.handleSize=function(t){return arguments.length?(T=+t,V):T},V.on=function(){var t=S.on.apply(S,arguments);return t===S?V:t},V}t.brush=function(){return K(b)},t.brushSelection=function(t){var e=t.__brush;return e?e.dim.output(e.selection):null},t.brushX=function(){return K(m)},t.brushY=function(){return K(y)},Object.defineProperty(t,"__esModule",{value:!0})}); |
{ | ||
"name": "d3-brush", | ||
"version": "1.1.0-rc.2", | ||
"version": "1.1.0-rc.3", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "tag": "next" |
@@ -221,3 +221,3 @@ import {dispatch} from "d3-dispatch"; | ||
function tween(t) { | ||
state.selection = t === 1 && selection1 !== null ? null : i(t); | ||
state.selection = t === 1 && selection1 === null ? null : i(t); | ||
redraw.call(that); | ||
@@ -224,0 +224,0 @@ emit.brush(); |
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