var b=Object.create;var a=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var v=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var I=(e,t)=>{for(var r in t)a(e,r,{get:t[r],enumerable:!0})},m=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of y(t))!N.call(e,n)&&n!==r&&a(e,n,{get:()=>t[n],enumerable:!(o=h(t,n))||o.enumerable});return e};var f=(e,t,r)=>(r=e!=null?b(v(e)):{},m(t||!e||!e.__esModule?a(r,"default",{value:e,enumerable:!0}):r,e)),O=e=>m(a({},"__esModule",{value:!0}),e);var w={};I(w,{lint:()=>$,ruleType:()=>j});module.exports=O(w);var x=1,g=(e,t)=>{let r=!0,o={invalidNode:null,validNode:null},n=Object.keys(e[t]),p=Object.keys(e[t]).sort();for(let s=0;s<n.length;s+=x)if(n[s]!==p[s]){r=!1,o={invalidNode:n[s],validNode:p[s]};break}return{status:r,data:o}};var P=require("jsonc-parser"),u=(e,t)=>e.hasOwnProperty(t);var i=f(require("chalk")),d=f(require("log-symbols"));var l=class{constructor(t,r,o,n){this.lintId=t,this.severity=r,this.node=o,this.lintMessage=n}toString(){let t=this.severity==="error"?d.default.error:d.default.warning,r=i.default.cyan.bold(this.lintId),o=i.default.magenta.bold(this.node),n=this.severity==="error"?i.default.red.bold(this.lintMessage):i.default.yellow(this.lintMessage);return`${t} ${r} - node: ${o} - ${n}`}};var k="prefer-alphabetical-bundledDependencies",c="bundledDependencies",S="Your bundledDependencies are not in alphabetical order.",j="standard",$=(e,t)=>{if(!u(e,c))return null;let r=g(e,c);return r.status?null:new l(k,t,c,`${S} Please move ${r.data.invalidNode} after ${r.data.validNode}.`)};0&&(module.exports={lint,ruleType});
