install-expo-modules 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/parseJob.js CHANGED
@@ -1 +1,32 @@
1
- module.exports=(()=>{var f={718:(f,m,h)=>{var x=h(747),y=h(521),C=process.argv[2],_,b;try{_=x.readFileSync(C,"utf-8");b=y.parse(_);process.send(b)}catch(f){process.send(f);process.exitCode=1}},521:f=>{"use strict";function peg$subclass(f,m){function ctor(){this.constructor=f}ctor.prototype=m.prototype;f.prototype=new ctor}function peg$SyntaxError(f,m,h,x){this.message=f;this.expected=m;this.found=h;this.location=x;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(f,m){var h={literal:function(f){return'"'+literalEscape(f.text)+'"'},class:function(f){var m="",h;for(h=0;h<f.parts.length;h++){m+=f.parts[h]instanceof Array?classEscape(f.parts[h][0])+"-"+classEscape(f.parts[h][1]):classEscape(f.parts[h])}return"["+(f.inverted?"^":"")+m+"]"},any:function(f){return"any character"},end:function(f){return"end of input"},other:function(f){return f.description}};function hex(f){return f.charCodeAt(0).toString(16).toUpperCase()}function literalEscape(f){return f.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(f){return"\\x0"+hex(f)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(f){return"\\x"+hex(f)})}function classEscape(f){return f.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(f){return"\\x0"+hex(f)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(f){return"\\x"+hex(f)})}function describeExpectation(f){return h[f.type](f)}function describeExpected(f){var m=new Array(f.length),h,x;for(h=0;h<f.length;h++){m[h]=describeExpectation(f[h])}m.sort();if(m.length>0){for(h=1,x=1;h<m.length;h++){if(m[h-1]!==m[h]){m[x]=m[h];x++}}m.length=x}switch(m.length){case 1:return m[0];case 2:return m[0]+" or "+m[1];default:return m.slice(0,-1).join(", ")+", or "+m[m.length-1]}}function describeFound(f){return f?'"'+literalEscape(f)+'"':"end of input"}return"Expected "+describeExpected(f)+" but "+describeFound(m)+" found."};function peg$parse(f,m){m=m!==void 0?m:{};var h={},x={Project:peg$parseProject},y=peg$parseProject,C=function(f,m){var h=Object.create(null);h.project=m;if(f){h.headComment=f}return h},_="{",b=peg$literalExpectation("{",false),S="}",w=peg$literalExpectation("}",false),j=function(f){return f},N=function(){return Object.create(null)},O=function(f){var m=f[0][0];for(var h=1;h<f.length;h++){var x=f[h][0];m=Object.assign(m,x)}return m},V="=",Q=peg$literalExpectation("=",false),B=";",T=peg$literalExpectation(";",false),k=function(f,m){var h=Object.create(null);h[f]=m;return h},q=function(f,m){var h=Object.create(null),x=f.id+"_comment";h[f.id]=m;h[x]=f[x];return h},z=function(f,m){var h=Object.create(null);h[f]=m.value;h[f+"_comment"]=m.comment;return h},R=function(f,m){var h=Object.create(null);h.id=f;h[f+"_comment"]=m.trim();return h},Z=function(f,m){var h=Object.create(null);h.comment=m.trim();h.value=f.trim();return h},M=/^[^*]/,U=peg$classExpectation(["*"],true,false),G=function(f){return f.join("")},H="/*",J=peg$literalExpectation("/*",false),K="*/",W=peg$literalExpectation("*/",false),X=function(f,m){var h=Object.create(null);h[f.name]=m;return h},Y="/* Begin ",t=peg$literalExpectation("/* Begin ",false),n=" section */",l=peg$literalExpectation(" section */",false),i=function(f){return{name:f}},d="/* End ",v=peg$literalExpectation("/* End ",false),a="(",E=peg$literalExpectation("(",false),A=")",L=peg$literalExpectation(")",false),I=function(f){return f},D=function(){return[]},F=function(f,m){if(m){m.unshift(f);return m}else{return[f]}},u=function(f){return f},o=function(f,m){var h=Object.create(null);h.value=f.trim();h.comment=m.trim();return h},P=",",r=peg$literalExpectation(",",false),c=/^[A-Za-z0-9_.]/,g=peg$classExpectation([["A","Z"],["a","z"],["0","9"],"_","."],false,false),$=function(f){return f.join("")},p=".",e=peg$literalExpectation(".",false),s=function(f){return f.join("")},ff=function(f){return parseInt(f.join(""),10)},mf=function(f){return'"'+f+'"'},hf=function(f){return f.join("")},xf=peg$anyExpectation(),yf=function(f){return f},Cf="\\",_f=peg$literalExpectation("\\",false),bf=function(){return'\\"'},Sf=function(f){return f.join("")},wf=/^[^;,\n]/,jf=peg$classExpectation([";",",","\n"],true,false),Nf="//",Of=peg$literalExpectation("//",false),Vf=function(f){return f},Qf=function(f){return f.join("")},Bf=/^[0-9]/,Tf=peg$classExpectation([["0","9"]],false,false),kf=/^[A-Za-z]/,qf=peg$classExpectation([["A","Z"],["a","z"]],false,false),zf='"',Rf=peg$literalExpectation('"',false),Zf=peg$otherExpectation("whitespace"),Mf=/^[\t ]/,Uf=peg$classExpectation(["\t"," "],false,false),Gf=/^[\n\r]/,Hf=peg$classExpectation(["\n","\r"],false,false),Jf=0,Kf=0,Wf=[{line:1,column:1}],Xf=0,Yf=[],tf=0,nf;if("startRule"in m){if(!(m.startRule in x)){throw new Error("Can't start parsing from rule \""+m.startRule+'".')}y=x[m.startRule]}function text(){return f.substring(Kf,Jf)}function location(){return peg$computeLocation(Kf,Jf)}function expected(m,h){h=h!==void 0?h:peg$computeLocation(Kf,Jf);throw peg$buildStructuredError([peg$otherExpectation(m)],f.substring(Kf,Jf),h)}function error(f,m){m=m!==void 0?m:peg$computeLocation(Kf,Jf);throw peg$buildSimpleError(f,m)}function peg$literalExpectation(f,m){return{type:"literal",text:f,ignoreCase:m}}function peg$classExpectation(f,m,h){return{type:"class",parts:f,inverted:m,ignoreCase:h}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(f){return{type:"other",description:f}}function peg$computePosDetails(m){var h=Wf[m],x;if(h){return h}else{x=m-1;while(!Wf[x]){x--}h=Wf[x];h={line:h.line,column:h.column};while(x<m){if(f.charCodeAt(x)===10){h.line++;h.column=1}else{h.column++}x++}Wf[m]=h;return h}}function peg$computeLocation(f,m){var h=peg$computePosDetails(f),x=peg$computePosDetails(m);return{start:{offset:f,line:h.line,column:h.column},end:{offset:m,line:x.line,column:x.column}}}function peg$fail(f){if(Jf<Xf){return}if(Jf>Xf){Xf=Jf;Yf=[]}Yf.push(f)}function peg$buildSimpleError(f,m){return new peg$SyntaxError(f,null,null,m)}function peg$buildStructuredError(f,m,h){return new peg$SyntaxError(peg$SyntaxError.buildMessage(f,m),f,m,h)}function peg$parseProject(){var f,m,x,y,_,b,S;f=Jf;m=peg$parseSingleLineComment();if(m===h){m=null}if(m!==h){x=peg$parseInlineComment();if(x===h){x=null}if(x!==h){y=peg$parse_();if(y!==h){_=peg$parseObject();if(_!==h){b=peg$parseNewLine();if(b!==h){S=peg$parse_();if(S!==h){Kf=f;m=C(m,_);f=m}else{Jf=f;f=h}}else{Jf=f;f=h}}else{Jf=f;f=h}}else{Jf=f;f=h}}else{Jf=f;f=h}}else{Jf=f;f=h}return f}function peg$parseObject(){var m,x,y,C;m=Jf;if(f.charCodeAt(Jf)===123){x=_;Jf++}else{x=h;if(tf===0){peg$fail(b)}}if(x!==h){y=peg$parseAssignmentList();if(y===h){y=peg$parseEmptyBody()}if(y!==h){if(f.charCodeAt(Jf)===125){C=S;Jf++}else{C=h;if(tf===0){peg$fail(w)}}if(C!==h){Kf=m;x=j(y);m=x}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}return m}function peg$parseEmptyBody(){var f,m;f=Jf;m=peg$parse_();if(m!==h){Kf=f;m=N()}f=m;return f}function peg$parseAssignmentList(){var f,m,x,y,C,_;f=Jf;m=peg$parse_();if(m!==h){x=[];y=Jf;C=peg$parseAssignment();if(C===h){C=peg$parseDelimitedSection()}if(C!==h){_=peg$parse_();if(_!==h){C=[C,_];y=C}else{Jf=y;y=h}}else{Jf=y;y=h}if(y!==h){while(y!==h){x.push(y);y=Jf;C=peg$parseAssignment();if(C===h){C=peg$parseDelimitedSection()}if(C!==h){_=peg$parse_();if(_!==h){C=[C,_];y=C}else{Jf=y;y=h}}else{Jf=y;y=h}}}else{x=h}if(x!==h){Kf=f;m=O(x);f=m}else{Jf=f;f=h}}else{Jf=f;f=h}return f}function peg$parseAssignment(){var f;f=peg$parseSimpleAssignment();if(f===h){f=peg$parseCommentedAssignment()}return f}function peg$parseSimpleAssignment(){var m,x,y,C,_,b,S;m=Jf;x=peg$parseIdentifier();if(x!==h){y=peg$parse_();if(y!==h){if(f.charCodeAt(Jf)===61){C=V;Jf++}else{C=h;if(tf===0){peg$fail(Q)}}if(C!==h){_=peg$parse_();if(_!==h){b=peg$parseValue();if(b!==h){if(f.charCodeAt(Jf)===59){S=B;Jf++}else{S=h;if(tf===0){peg$fail(T)}}if(S!==h){Kf=m;x=k(x,b);m=x}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}return m}function peg$parseCommentedAssignment(){var m,x,y,C,_,b,S;m=Jf;x=peg$parseCommentedIdentifier();if(x!==h){y=peg$parse_();if(y!==h){if(f.charCodeAt(Jf)===61){C=V;Jf++}else{C=h;if(tf===0){peg$fail(Q)}}if(C!==h){_=peg$parse_();if(_!==h){b=peg$parseValue();if(b!==h){if(f.charCodeAt(Jf)===59){S=B;Jf++}else{S=h;if(tf===0){peg$fail(T)}}if(S!==h){Kf=m;x=q(x,b);m=x}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}if(m===h){m=Jf;x=peg$parseIdentifier();if(x!==h){y=peg$parse_();if(y!==h){if(f.charCodeAt(Jf)===61){C=V;Jf++}else{C=h;if(tf===0){peg$fail(Q)}}if(C!==h){_=peg$parse_();if(_!==h){b=peg$parseCommentedValue();if(b!==h){if(f.charCodeAt(Jf)===59){S=B;Jf++}else{S=h;if(tf===0){peg$fail(T)}}if(S!==h){Kf=m;x=z(x,b);m=x}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}}return m}function peg$parseCommentedIdentifier(){var f,m,x,y;f=Jf;m=peg$parseIdentifier();if(m!==h){x=peg$parse_();if(x!==h){y=peg$parseInlineComment();if(y!==h){Kf=f;m=R(m,y);f=m}else{Jf=f;f=h}}else{Jf=f;f=h}}else{Jf=f;f=h}return f}function peg$parseCommentedValue(){var f,m,x,y;f=Jf;m=peg$parseValue();if(m!==h){x=peg$parse_();if(x!==h){y=peg$parseInlineComment();if(y!==h){Kf=f;m=Z(m,y);f=m}else{Jf=f;f=h}}else{Jf=f;f=h}}else{Jf=f;f=h}return f}function peg$parseInlineComment(){var m,x,y,C;m=Jf;x=peg$parseInlineCommentOpen();if(x!==h){y=[];if(M.test(f.charAt(Jf))){C=f.charAt(Jf);Jf++}else{C=h;if(tf===0){peg$fail(U)}}if(C!==h){while(C!==h){y.push(C);if(M.test(f.charAt(Jf))){C=f.charAt(Jf);Jf++}else{C=h;if(tf===0){peg$fail(U)}}}}else{y=h}if(y!==h){C=peg$parseInlineCommentClose();if(C!==h){Kf=m;x=G(y);m=x}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}return m}function peg$parseInlineCommentOpen(){var m;if(f.substr(Jf,2)===H){m=H;Jf+=2}else{m=h;if(tf===0){peg$fail(J)}}return m}function peg$parseInlineCommentClose(){var m;if(f.substr(Jf,2)===K){m=K;Jf+=2}else{m=h;if(tf===0){peg$fail(W)}}return m}function peg$parseDelimitedSection(){var f,m,x,y,C,_;f=Jf;m=peg$parseDelimitedSectionBegin();if(m!==h){x=peg$parse_();if(x!==h){y=peg$parseAssignmentList();if(y===h){y=peg$parseEmptyBody()}if(y!==h){C=peg$parse_();if(C!==h){_=peg$parseDelimitedSectionEnd();if(_!==h){Kf=f;m=X(m,y);f=m}else{Jf=f;f=h}}else{Jf=f;f=h}}else{Jf=f;f=h}}else{Jf=f;f=h}}else{Jf=f;f=h}return f}function peg$parseDelimitedSectionBegin(){var m,x,y,C,_;m=Jf;if(f.substr(Jf,9)===Y){x=Y;Jf+=9}else{x=h;if(tf===0){peg$fail(t)}}if(x!==h){y=peg$parseIdentifier();if(y!==h){if(f.substr(Jf,11)===n){C=n;Jf+=11}else{C=h;if(tf===0){peg$fail(l)}}if(C!==h){_=peg$parseNewLine();if(_!==h){Kf=m;x=i(y);m=x}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}return m}function peg$parseDelimitedSectionEnd(){var m,x,y,C,_;m=Jf;if(f.substr(Jf,7)===d){x=d;Jf+=7}else{x=h;if(tf===0){peg$fail(v)}}if(x!==h){y=peg$parseIdentifier();if(y!==h){if(f.substr(Jf,11)===n){C=n;Jf+=11}else{C=h;if(tf===0){peg$fail(l)}}if(C!==h){_=peg$parseNewLine();if(_!==h){Kf=m;x=i(y);m=x}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}return m}function peg$parseArray(){var m,x,y,C;m=Jf;if(f.charCodeAt(Jf)===40){x=a;Jf++}else{x=h;if(tf===0){peg$fail(E)}}if(x!==h){y=peg$parseArrayBody();if(y===h){y=peg$parseEmptyArray()}if(y!==h){if(f.charCodeAt(Jf)===41){C=A;Jf++}else{C=h;if(tf===0){peg$fail(L)}}if(C!==h){Kf=m;x=I(y);m=x}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}return m}function peg$parseEmptyArray(){var f,m;f=Jf;m=peg$parse_();if(m!==h){Kf=f;m=D()}f=m;return f}function peg$parseArrayBody(){var f,m,x,y,C,_;f=Jf;m=peg$parse_();if(m!==h){x=peg$parseArrayEntry();if(x!==h){y=peg$parse_();if(y!==h){C=peg$parseArrayBody();if(C===h){C=null}if(C!==h){_=peg$parse_();if(_!==h){Kf=f;m=F(x,C);f=m}else{Jf=f;f=h}}else{Jf=f;f=h}}else{Jf=f;f=h}}else{Jf=f;f=h}}else{Jf=f;f=h}return f}function peg$parseArrayEntry(){var f;f=peg$parseSimpleArrayEntry();if(f===h){f=peg$parseCommentedArrayEntry()}return f}function peg$parseSimpleArrayEntry(){var f,m,x;f=Jf;m=peg$parseValue();if(m!==h){x=peg$parseEndArrayEntry();if(x!==h){Kf=f;m=u(m);f=m}else{Jf=f;f=h}}else{Jf=f;f=h}return f}function peg$parseCommentedArrayEntry(){var f,m,x,y,C;f=Jf;m=peg$parseValue();if(m!==h){x=peg$parse_();if(x!==h){y=peg$parseInlineComment();if(y!==h){C=peg$parseEndArrayEntry();if(C!==h){Kf=f;m=o(m,y);f=m}else{Jf=f;f=h}}else{Jf=f;f=h}}else{Jf=f;f=h}}else{Jf=f;f=h}return f}function peg$parseEndArrayEntry(){var m,x,y,C;if(f.charCodeAt(Jf)===44){m=P;Jf++}else{m=h;if(tf===0){peg$fail(r)}}if(m===h){m=Jf;x=peg$parse_();if(x!==h){y=Jf;tf++;if(f.charCodeAt(Jf)===41){C=A;Jf++}else{C=h;if(tf===0){peg$fail(L)}}tf--;if(C!==h){Jf=y;y=void 0}else{y=h}if(y!==h){x=[x,y];m=x}else{Jf=m;m=h}}else{Jf=m;m=h}}return m}function peg$parseIdentifier(){var m,x,y;m=Jf;x=[];if(c.test(f.charAt(Jf))){y=f.charAt(Jf);Jf++}else{y=h;if(tf===0){peg$fail(g)}}if(y!==h){while(y!==h){x.push(y);if(c.test(f.charAt(Jf))){y=f.charAt(Jf);Jf++}else{y=h;if(tf===0){peg$fail(g)}}}}else{x=h}if(x!==h){Kf=m;x=$(x)}m=x;if(m===h){m=peg$parseQuotedString()}return m}function peg$parseValue(){var f;f=peg$parseObject();if(f===h){f=peg$parseArray();if(f===h){f=peg$parseNumberValue();if(f===h){f=peg$parseStringValue()}}}return f}function peg$parseNumberValue(){var f;f=peg$parseDecimalValue();if(f===h){f=peg$parseIntegerValue()}return f}function peg$parseDecimalValue(){var m,x,y,C,_;m=Jf;x=Jf;y=peg$parseIntegerValue();if(y!==h){if(f.charCodeAt(Jf)===46){C=p;Jf++}else{C=h;if(tf===0){peg$fail(e)}}if(C!==h){_=peg$parseIntegerValue();if(_!==h){y=[y,C,_];x=y}else{Jf=x;x=h}}else{Jf=x;x=h}}else{Jf=x;x=h}if(x!==h){Kf=m;x=s(x)}m=x;return m}function peg$parseIntegerValue(){var f,m,x,y,C;f=Jf;m=Jf;tf++;x=peg$parseAlpha();tf--;if(x===h){m=void 0}else{Jf=m;m=h}if(m!==h){x=[];y=peg$parseDigit();if(y!==h){while(y!==h){x.push(y);y=peg$parseDigit()}}else{x=h}if(x!==h){y=Jf;tf++;C=peg$parseNonTerminator();tf--;if(C===h){y=void 0}else{Jf=y;y=h}if(y!==h){Kf=f;m=ff(x);f=m}else{Jf=f;f=h}}else{Jf=f;f=h}}else{Jf=f;f=h}return f}function peg$parseStringValue(){var f;f=peg$parseQuotedString();if(f===h){f=peg$parseLiteralString()}return f}function peg$parseQuotedString(){var f,m,x,y;f=Jf;m=peg$parseDoubleQuote();if(m!==h){x=peg$parseQuotedBody();if(x!==h){y=peg$parseDoubleQuote();if(y!==h){Kf=f;m=mf(x);f=m}else{Jf=f;f=h}}else{Jf=f;f=h}}else{Jf=f;f=h}return f}function peg$parseQuotedBody(){var f,m,x;f=Jf;m=[];x=peg$parseNonQuote();if(x!==h){while(x!==h){m.push(x);x=peg$parseNonQuote()}}else{m=h}if(m!==h){Kf=f;m=hf(m)}f=m;return f}function peg$parseNonQuote(){var m,x,y;m=peg$parseEscapedQuote();if(m===h){m=Jf;x=Jf;tf++;y=peg$parseDoubleQuote();tf--;if(y===h){x=void 0}else{Jf=x;x=h}if(x!==h){if(f.length>Jf){y=f.charAt(Jf);Jf++}else{y=h;if(tf===0){peg$fail(xf)}}if(y!==h){Kf=m;x=yf(y);m=x}else{Jf=m;m=h}}else{Jf=m;m=h}}return m}function peg$parseEscapedQuote(){var m,x,y;m=Jf;if(f.charCodeAt(Jf)===92){x=Cf;Jf++}else{x=h;if(tf===0){peg$fail(_f)}}if(x!==h){y=peg$parseDoubleQuote();if(y!==h){Kf=m;x=bf();m=x}else{Jf=m;m=h}}else{Jf=m;m=h}return m}function peg$parseLiteralString(){var f,m,x;f=Jf;m=[];x=peg$parseLiteralChar();if(x!==h){while(x!==h){m.push(x);x=peg$parseLiteralChar()}}else{m=h}if(m!==h){Kf=f;m=Sf(m)}f=m;return f}function peg$parseLiteralChar(){var f,m,x,y;f=Jf;m=Jf;tf++;x=peg$parseInlineCommentOpen();tf--;if(x===h){m=void 0}else{Jf=m;m=h}if(m!==h){x=Jf;tf++;y=peg$parseLineTerminator();tf--;if(y===h){x=void 0}else{Jf=x;x=h}if(x!==h){y=peg$parseNonTerminator();if(y!==h){Kf=f;m=yf(y);f=m}else{Jf=f;f=h}}else{Jf=f;f=h}}else{Jf=f;f=h}return f}function peg$parseNonTerminator(){var m;if(wf.test(f.charAt(Jf))){m=f.charAt(Jf);Jf++}else{m=h;if(tf===0){peg$fail(jf)}}return m}function peg$parseSingleLineComment(){var m,x,y,C,_;m=Jf;if(f.substr(Jf,2)===Nf){x=Nf;Jf+=2}else{x=h;if(tf===0){peg$fail(Of)}}if(x!==h){y=peg$parse_();if(y!==h){C=peg$parseOneLineString();if(C!==h){_=peg$parseNewLine();if(_!==h){Kf=m;x=Vf(C);m=x}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}}else{Jf=m;m=h}return m}function peg$parseOneLineString(){var f,m,x;f=Jf;m=[];x=peg$parseNonLine();while(x!==h){m.push(x);x=peg$parseNonLine()}if(m!==h){Kf=f;m=Qf(m)}f=m;return f}function peg$parseDigit(){var m;if(Bf.test(f.charAt(Jf))){m=f.charAt(Jf);Jf++}else{m=h;if(tf===0){peg$fail(Tf)}}return m}function peg$parseAlpha(){var m;if(kf.test(f.charAt(Jf))){m=f.charAt(Jf);Jf++}else{m=h;if(tf===0){peg$fail(qf)}}return m}function peg$parseDoubleQuote(){var m;if(f.charCodeAt(Jf)===34){m=zf;Jf++}else{m=h;if(tf===0){peg$fail(Rf)}}return m}function peg$parse_(){var f,m;tf++;f=[];m=peg$parsewhitespace();while(m!==h){f.push(m);m=peg$parsewhitespace()}tf--;if(f===h){m=h;if(tf===0){peg$fail(Zf)}}return f}function peg$parsewhitespace(){var m;m=peg$parseNewLine();if(m===h){if(Mf.test(f.charAt(Jf))){m=f.charAt(Jf);Jf++}else{m=h;if(tf===0){peg$fail(Uf)}}}return m}function peg$parseNonLine(){var f,m,x;f=Jf;m=Jf;tf++;x=peg$parseNewLine();tf--;if(x===h){m=void 0}else{Jf=m;m=h}if(m!==h){x=peg$parseChar();if(x!==h){Kf=f;m=yf(x);f=m}else{Jf=f;f=h}}else{Jf=f;f=h}return f}function peg$parseLineTerminator(){var m;m=peg$parseNewLine();if(m===h){if(f.charCodeAt(Jf)===59){m=B;Jf++}else{m=h;if(tf===0){peg$fail(T)}}}return m}function peg$parseNewLine(){var m;if(Gf.test(f.charAt(Jf))){m=f.charAt(Jf);Jf++}else{m=h;if(tf===0){peg$fail(Hf)}}return m}function peg$parseChar(){var m;if(f.length>Jf){m=f.charAt(Jf);Jf++}else{m=h;if(tf===0){peg$fail(xf)}}return m}nf=y();if(nf!==h&&Jf===f.length){return nf}else{if(nf!==h&&Jf<f.length){peg$fail(peg$endExpectation())}throw peg$buildStructuredError(Yf,Xf<f.length?f.charAt(Xf):null,Xf<f.length?peg$computeLocation(Xf,Xf+1):peg$computeLocation(Xf,Xf))}}f.exports={SyntaxError:peg$SyntaxError,parse:peg$parse}},747:f=>{"use strict";f.exports=require("fs")}};var m={};function __nccwpck_require__(h){if(m[h]){return m[h].exports}var x=m[h]={exports:{}};var y=true;try{f[h](x,x.exports,__nccwpck_require__);y=false}finally{if(y)delete m[h]}return x.exports}__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(718)})();
1
+ /**
2
+ Licensed to the Apache Software Foundation (ASF) under one
3
+ or more contributor license agreements. See the NOTICE file
4
+ distributed with this work for additional information
5
+ regarding copyright ownership. The ASF licenses this file
6
+ to you under the Apache License, Version 2.0 (the
7
+ 'License'); you may not use this file except in compliance
8
+ with the License. You may obtain a copy of the License at
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+ Unless required by applicable law or agreed to in writing,
11
+ software distributed under the License is distributed on an
12
+ 'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13
+ KIND, either express or implied. See the License for the
14
+ specific language governing permissions and limitations
15
+ under the License.
16
+ */
17
+
18
+ // parsing is slow and blocking right now
19
+ // so we do it in a separate process
20
+ var fs = require('fs'),
21
+ parser = require('./parser/pbxproj'),
22
+ path = process.argv[2],
23
+ fileContents, obj;
24
+
25
+ try {
26
+ fileContents = fs.readFileSync(path, 'utf-8');
27
+ obj = parser.parse(fileContents);
28
+ process.send(obj);
29
+ } catch (e) {
30
+ process.send(e);
31
+ process.exitCode = 1;
32
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "install-expo-modules",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Tools to install expo-modules for existing react-native projects",
5
5
  "main": "build",
6
6
  "scripts": {
@@ -38,9 +38,9 @@
38
38
  "!*/__tests__/*"
39
39
  ],
40
40
  "dependencies": {
41
- "@expo/config": "6.0.20",
42
- "@expo/config-plugins": "4.1.1",
43
- "@expo/package-manager": "0.0.51",
41
+ "@expo/config": "6.0.21",
42
+ "@expo/config-plugins": "4.1.2",
43
+ "@expo/package-manager": "0.0.52",
44
44
  "chalk": "^4.1.2",
45
45
  "commander": "2.20.0",
46
46
  "find-up": "^5.0.0",