{"_id":"apostrophe-lean-frontend","_rev":"26-ae06af012bb5b5990fc0b019cd837492","name":"apostrophe-lean-frontend","dist-tags":{"latest":"2.1.2"},"versions":{"2.0.0":{"name":"apostrophe-lean-frontend","version":"2.0.0","keywords":["apostrophecms","apostrophe","cms","cms","content","management","system","apostrophe"],"author":{"name":"P'unk Avenue LLC"},"license":"MIT","_id":"apostrophe-lean-frontend@2.0.0","maintainers":[{"name":"boutell","email":"tom@punkave.com"}],"homepage":"https://github.com/apostrophecms/apostrophe-lean-frontend#readme","bugs":{"url":"https://github.com/apostrophecms/apostrophe-lean-frontend/issues"},"dist":{"shasum":"d87954f6bb0625b2cb3c8759d91f5d49649927ff","tarball":"https://registry.npmjs.org/apostrophe-lean-frontend/-/apostrophe-lean-frontend-2.0.0.tgz","fileCount":11,"integrity":"sha512-OV59orGW59bgApeBIVaGuOCwjVQxjzGAEmpSChDzU9c6lK72gPPPpWh5rYjPin8lYfus1xK1OSNRCJCmvFCsWw==","signatures":[{"sig":"MEUCIAfZkZ0zHDqPNTJfWQubP4p77mDSsTLQ19dqk5di7ydlAiEAo8XvkBIiEZA6PcDD+ZuSBNphUIa03X9IpzkPvxmYvB0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19622,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfrWMCRA9TVsSAnZWagAAw5sQAJMLCldMtc1xEi4+Jufc\ne+m7bs9FKoIiPZ4MF5m72QFdzmhkAyXpF/Lb9g4vbhYSTzrxWKbM9IJB6FZt\niAZPPJkgFXdkIz6bxFsVjbJ4LiW/cmWftAO3xr3ZQLU0ZUzea7GVHp+buhYj\ntADfUk2fFLQNSlRvu7UV5W6vNv0nOMzmVC9n5T7tH0QXqC8wyjGbyehiCnxK\nJeOCZnNGBB9gffIcUM6VZ5r86K2pd7qEJgKOwxLyFp22hOXWE6wSocx5cnbF\nXzpZG/3WAUkne/CU1FDov3YGw0eN+EDui7IWyImWpdTGoIHMFxoLTpoFJsQP\nofjqLytL8yOyz4UsOwxiy1TwVFeD8a/eFU4FE8L+dA/hYCfE8z/A66bnpK9w\n/jmoHtrKeSyDujJmLAtOkTrDsv2LZvEuBQa/9yMooTZjnITa2Y4RaqO0E9Cm\n/LMYFvDTrXpqhPfGXudsLIAlJSs1ralxDESZeFqglbP/v/fl0tmrK8gyDxfj\nPcL3bQ8kq1xfETwXXIZC2VpvVgMxZauLW93Sj+MQQKWEgaDE/VSE+JexoP4j\nlXehmOXVzAFEKZ0rA2OOEzUWXANbHQVQbWh3Hu7vPyDz8dDIu2Lc2luWYIqf\nKz+hfbvBI8msa0fCzKhbt+w3MQ9IJtazgq9aRGnRXfeJ9UCZ+DZvAPDrJxFu\nHar/\r\n=h5ex\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ee40efece5f71edd4a57bd853c122f48f0980b86","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"boutell","email":"tom@punkave.com"},"deprecated":"Merged into core, please see the new lean frontend HOWTO","repository":{"url":"git+https://github.com/apostrophecms/apostrophe-lean-frontend.git","type":"git"},"_npmVersion":"6.4.0","description":"A leaner frontend js world for ApostropheCMS 2.x. No jQuery, no lodash, no async module, etc. You still get a way to write widget players.","directories":{},"_nodeVersion":"10.9.0","dependencies":{"lodash":"^4.17.10"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apostrophe-lean-frontend_2.0.0_1535030668054_0.8259728875283712","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"apostrophe-lean-frontend","version":"2.0.1","keywords":["apostrophecms","apostrophe","cms","cms","content","management","system","apostrophe"],"author":{"name":"P'unk Avenue LLC"},"license":"MIT","_id":"apostrophe-lean-frontend@2.0.1","maintainers":[{"name":"boutell","email":"tom@punkave.com"}],"homepage":"https://github.com/apostrophecms/apostrophe-lean-frontend#readme","bugs":{"url":"https://github.com/apostrophecms/apostrophe-lean-frontend/issues"},"dist":{"shasum":"0a21fdcc277a62e60f2249440de2a106d9b16f7a","tarball":"https://registry.npmjs.org/apostrophe-lean-frontend/-/apostrophe-lean-frontend-2.0.1.tgz","fileCount":12,"integrity":"sha512-Rn8qIJhp/YmavtaZZHt0igihqP7GNHEg0uwQsVnsfVgeCpo7l8vtVvqsPVBFMgJ3e8eAEVil6FoafKjuXZL1Sw==","signatures":[{"sig":"MEQCIBm1VQcx3sk8sHvCmgaN66Nr4O2t7+cNNu4hnbnmHD7IAiBkQpYywZ9mgocAjj9PlOuXjocTN57z6IEEmL4bQGe4HQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21786,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfvWUCRA9TVsSAnZWagAAyRwP/01tdmPvZRkkyqjAF8L5\nkLw/EWPsFWbFZA4C3M7Fp4aPPebzzZx45JvRcl24iQbX5i8+zAD3Xlj+bWxN\nhw/OAyMtrJKFscO6/igvt4FcwFxdqUk2rovTezIaFfQTR12xL2z7Icm5bWH2\nSWrJMtU/FAS4ywhE6iHWMK/bDfqB+Yo/Vys5M4FymseYOOKPPtCvYqIvh9Mk\nM6zyzeUaosEs90sPwloNnZj0ry6pSQashUE+afaPQnslI2yE4BzlP/tEvJQC\n0ucnmeqFjWB82aMFpVcy6RVlOBLDPpNnvMQ+BoDvpEsYZ71LFR4NGsFIew7c\nXt665R0AxgzgzftseAjDOFPdFIbCcf4QcIBsHkr/0g8ZFucMxkH8XbOysMvq\nQuWTG4OSgxOxd867RCV5V3A8Z3TV4zTvBMgUOgA9AFBY8+FwyWJPjePjpEUP\n5n25++aE+j62g4YzQKNXe0+kBtxZc6U/aE455tv2N/VxN5KWUsq7E5Oy+um5\n4FT1q07wVpOiKoZO8w9YdG7P1PYI1GSIkRyOepn4EB2yQMtgmgkPQlMwdDkx\n8vA/8IDiP78vCPmpynA3YzY7J8Cs7eIZRVV4EZPL10s+8gy/sDuvvTvYgIT6\nDudQPP0GcUk2kOGx45+JGB9oFr0h0bmvSa21ZbPWDewThFvO+nTL1QYpobo3\n3FSS\r\n=MJbc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"8ac2fb2d7cf42ba118284222d8d3e6ed188ff931","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"boutell","email":"tom@punkave.com"},"deprecated":"Merged into core, please see the new lean frontend HOWTO","repository":{"url":"git+https://github.com/apostrophecms/apostrophe-lean-frontend.git","type":"git"},"_npmVersion":"6.4.0","description":"A leaner frontend js world for ApostropheCMS 2.x. No jQuery, no lodash, no async module, etc. You still get a way to write widget players.","directories":{},"_nodeVersion":"10.9.0","dependencies":{"lodash":"^4.17.10"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apostrophe-lean-frontend_2.0.1_1535047060001_0.08734252014417421","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"apostrophe-lean-frontend","version":"2.0.2","keywords":["apostrophecms","apostrophe","cms","cms","content","management","system","apostrophe"],"author":{"name":"P'unk Avenue LLC"},"license":"MIT","_id":"apostrophe-lean-frontend@2.0.2","maintainers":[{"name":"boutell","email":"tom@punkave.com"}],"homepage":"https://github.com/apostrophecms/apostrophe-lean-frontend#readme","bugs":{"url":"https://github.com/apostrophecms/apostrophe-lean-frontend/issues"},"dist":{"shasum":"d319f72c3e7e7af9eff36ed762429b9083983e2a","tarball":"https://registry.npmjs.org/apostrophe-lean-frontend/-/apostrophe-lean-frontend-2.0.2.tgz","fileCount":12,"integrity":"sha512-y7c2hlQls+8KHe4hrbeebYxv+mu6hkfqfym0GoCHF/vmFr6G5cVRrcznFaSx2oHXG6z1gjED87U9ahRheQwTfw==","signatures":[{"sig":"MEQCIHVhVhGGTmcQiwb2XZeriELTtVk3cIOPV3t2QAmtfLjcAiABbMmTD0e0r2d6nM32fBp9E6cBe+DGBPWHGyTKo074FA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrKHUCRA9TVsSAnZWagAAVkAP/2ySW1sUxBIjZhDHSIDI\nZ0+PSL2BawntL5VIzRh4enMweS+Ax0KI8cvkaEoMIlVuN6aca6hP3UVLy40H\n10xTgL0aQaLTMzW5Fgh0pVTEbe4XdTlCUyMmsTbLWBfAiBXkcl0RJq0KV1mE\nQuA7OJIGzxt22TDWseEhpqyUtFSLDaC2sRdx9bjVPJjYT6WBL4AG4bRgvVG5\ngk2H/cW1WUXv7z6+3UPuzfuLIbrvTskTpum8ZIszeZQF19Z7ytvNNKWM7+Z5\nProzmcdg91eLjN83K5uLcD8sPsio/hjsQCfKpi4ORrcSDeYkvT4GOPIWLPbQ\nBJJE3aVsF/rVo7wKwyJXNwIGNhOvHp1L4fG+vuyv5rLuNHLG281Is/g860NV\n4nTjtSyyaGfBGR72u6wEYsVZSFltCvEB2H6qgM7ooENdZY7wHAG5s56bjXUr\njCtanN58BrSfGOmNBaZ+Hu5FNmNXiCQ/ZUefFpkG7uIjCeo3e0lp3tIDOgD8\nyoSd2MqlbSn91faxqmXXEYcdhvRrC/xJiVMKWelGZhfuK1boDV89EudM7b19\nhYD+NY3DxJvxBQWpUXxg7mDrUYpgUpMKvxjUr5s7vJn00oSxseHgKZaKVMwi\nU82GhLVxZxvO8nDcRXQ/nuqYLpAvT44leuMjTUwfbfTWOz+CS6XZmH1yQssX\npkEg\r\n=4ZBx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"8ac2fb2d7cf42ba118284222d8d3e6ed188ff931","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"boutell","email":"tom@punkave.com"},"deprecated":"Merged into core, please see the new lean frontend HOWTO","repository":{"url":"git+https://github.com/apostrophecms/apostrophe-lean-frontend.git","type":"git"},"_npmVersion":"6.9.1-next.0","description":"A leaner frontend js world for ApostropheCMS 2.x. No jQuery, no lodash, no async module, etc. You still get a way to write widget players.","directories":{},"_nodeVersion":"11.12.0","dependencies":{"lodash":"^4.17.10"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apostrophe-lean-frontend_2.0.2_1554817491439_0.9241224024344372","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"apostrophe-lean-frontend","version":"2.0.3","keywords":["apostrophecms","apostrophe","cms","cms","content","management","system","apostrophe"],"author":{"name":"P'unk Avenue LLC"},"license":"MIT","_id":"apostrophe-lean-frontend@2.0.3","maintainers":[{"name":"boutell","email":"tom@punkave.com"}],"homepage":"https://github.com/apostrophecms/apostrophe-lean-frontend#readme","bugs":{"url":"https://github.com/apostrophecms/apostrophe-lean-frontend/issues"},"dist":{"shasum":"04742ae74b4b6981e7ca266d88f5242d3e9fdbe7","tarball":"https://registry.npmjs.org/apostrophe-lean-frontend/-/apostrophe-lean-frontend-2.0.3.tgz","fileCount":13,"integrity":"sha512-TeLbbjQkvxpqR/Q+RjfG95fQyDFlXHKEOBNgdS344zGD+Ze5qGvMfcHB0MF0K++Pjo0t0ezVgcpNobiIN9l5Cg==","signatures":[{"sig":"MEQCIFiJfiMFVlQnaGKeTDcmfBytBw7QH90njFVeLV0HY9blAiBKX99VRrmt79sDhPwfAHMdAZhvxgRJ1SqwbdMZTzEwng==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3CTlCRA9TVsSAnZWagAAVhEP/iHGYnpUgIuEvy8oCa0P\nzzXCRdNq/VauHf0tnVE85YoZDCLlCZ1EZkrwq2vaovL4U4ZE/39V1pLSG9nI\n3lQ5EJNCD1Go7TE0cWI7FwULSPAkv8M1QzudwLW71mtnYacJYAW+BJn0Q4XJ\nIbEqlWXPmxaXaB72HBggbuPcnAW1rGf/2SMzOGYCcFovqoZ+PNNFwHAFc7mR\nJDQoD7En87bu1seNr/KJ2G+bunpQwpRf9S6DGBnv9CdJ769uJYMHC3sF7J2z\n+UXHb34d2Gj90Fa0hre31ACG3p6p6MOOwPXn7VdhtHGiFUIKmaGyWvzH7w6Q\nF1t/aZ5DvTBBnMf9ZjRMrkK4VGXQfZDnS/U9E4WbUl7P+yXULd9/Pv4tgpth\nQsAu9yil4ohwC9VYz9eF+GA+BeeWGGWUUz3zhcRTGhxc6FZsxnmfOdtrts95\nRm8FH5RxqmpEFkHiaXKtRt5G/2S0bokG5/wkkzOGFqG3t8a9VSjmy81jTc2Z\nYldYVpw7OJaKRDH1NJt7wL/zXtyk6rU5RJip2QhBjWYppQKYV3qyDE8sToy1\nCRt6LPTKmoRglNXX6wmuy5/NC4+V0uJ/hF2WB3xKfEkh2713vCuU2Ekmzc7O\nusom29/btDG/0gv2g/gG6VG0HQjFhfAEyN+zIoHBFELTNKEUFcXDT+ESmfr8\nqTlj\r\n=lIaz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1751b75e50ea3e8c72e8fc03964168a6a1a1f55f","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"boutell","email":"tom@punkave.com"},"deprecated":"Merged into core, please see the new lean frontend HOWTO","repository":{"url":"git+https://github.com/apostrophecms/apostrophe-lean-frontend.git","type":"git"},"_npmVersion":"6.4.1","description":"A leaner frontend js world for ApostropheCMS 2.x. No jQuery, no lodash, no async module, etc. You still get a way to write widget players.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"lodash":"^4.17.10"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apostrophe-lean-frontend_2.0.3_1557931236902_0.41192308320804627","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"apostrophe-lean-frontend","version":"2.1.0","keywords":["apostrophecms","apostrophe","cms","cms","content","management","system","apostrophe"],"author":{"name":"P'unk Avenue LLC"},"license":"MIT","_id":"apostrophe-lean-frontend@2.1.0","maintainers":[{"name":"boutell","email":"tom@punkave.com"}],"homepage":"https://github.com/apostrophecms/apostrophe-lean-frontend#readme","bugs":{"url":"https://github.com/apostrophecms/apostrophe-lean-frontend/issues"},"dist":{"shasum":"ae90ca3f736e978b200c064d8f3394455ee123cf","tarball":"https://registry.npmjs.org/apostrophe-lean-frontend/-/apostrophe-lean-frontend-2.1.0.tgz","fileCount":13,"integrity":"sha512-1s6ZfcVllYXmefM8H1GoeVZkdmPD37DoTShCw4wAp7AiAGZfKiwmult4KODyQtzg30q1jWa8s4ienVZojRmMRg==","signatures":[{"sig":"MEUCIB+/nZMtnK683GtzI9V8JyfDIWUWQjNBV2311Mrvyd/GAiEA3ANRKMPDJD4G1PsfRAJf/8MUJcZVIchdFeAqHKnVOBQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23844,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc59f0CRA9TVsSAnZWagAAZI8P/jyYEw3vL1HptK6M3g1d\nO/ztsbK+bicK8lfUccOSFoAPDUGH6wY2eSiRgKxr/D33ONFJnLB6NjQeZoS+\npHl9Tsp8+hjvJKiwmjhn/piE4s9o6LjNYTvATva5NQLd8HkU6NPdr7+TY+7T\nnog1X13V6llxmWipcyyIFukdMMReiIibFpqyWU/C0oK2VvnNLbuFiBSul2eN\nfqE+S+eOQurmzuH+b3PWeyISjMUZEwLKUOjpNFs4KVwHhV/7Mk/3fW2DgOz0\n4XLTWg+IsEGgJYbVarMmG5QQI4i7tCydeTh9UCLaO3iFHJAz+cutqxtthOqI\n+cdk3dImI2wpe729OYXoTdBTcPAr730u9SRFWbX+/V1Dwoevo+YleBNkvZhX\n/4wNJIqXztrX9bNqqP7evs0zpLqHnbPmXuLwsUomcH5DaH+hQ5Cwh2CMjxy5\n+qH8pTiqhYuO0so6QPQqCnAMndqjpoYEMo623G43IZl83IcndSY/8X1CD5Lw\nCGl8kExTZhbnMQac6P8idJw/Nj7dyHFTF9rBpJFOg9h3mtwYQtCa91P28lCj\nJ8Rg5WRbd51rNfy7kLEpoiGdNDakQHEXzQA/gK3rlC4WVdPqkdPVPbv9psiT\nwgjVDU/4d7XKJFzdVJ5wivc4uNxaTvPhvlJM31AOPMlhhEDQ2+Dddp7qQx/q\nWq1W\r\n=Axjn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"09eb212dd49313f96c2846a31f7e071332b362a0","scripts":{"test":"eslint ."},"_npmUser":{"name":"boutell","email":"tom@punkave.com"},"deprecated":"Merged into core, please see the new lean frontend HOWTO","repository":{"url":"git+https://github.com/apostrophecms/apostrophe-lean-frontend.git","type":"git"},"_npmVersion":"6.4.1","description":"A leaner frontend js world for ApostropheCMS 2.x. No jQuery, no lodash, no async module, etc. You still get a way to write widget players.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"lodash":"^4.17.10"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^5.0.0","eslint-plugin-node":"^6.0.1","eslint-plugin-import":"^2.17.2","eslint-plugin-promise":"^3.8.0","eslint-config-standard":"^11.0.0","eslint-plugin-standard":"^3.1.0","eslint-config-apostrophe":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/apostrophe-lean-frontend_2.1.0_1558697971281_0.17938295104395685","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"apostrophe-lean-frontend","version":"2.1.1","keywords":["apostrophecms","apostrophe","cms","cms","content","management","system","apostrophe"],"author":{"name":"P'unk Avenue LLC"},"license":"MIT","_id":"apostrophe-lean-frontend@2.1.1","maintainers":[{"name":"boutell","email":"tom@punkave.com"}],"homepage":"https://github.com/apostrophecms/apostrophe-lean-frontend#readme","bugs":{"url":"https://github.com/apostrophecms/apostrophe-lean-frontend/issues"},"dist":{"shasum":"104c437036eaf124d6849d871db41588661ad2cf","tarball":"https://registry.npmjs.org/apostrophe-lean-frontend/-/apostrophe-lean-frontend-2.1.1.tgz","fileCount":13,"integrity":"sha512-98dLF5jgbaIuyObt7k88BodL+FLk13YJ2HxfsSoo5GdHiMkx/nSKICqY9m2Yj/aFxQKP6xZha5D4fyoPMFUXAg==","signatures":[{"sig":"MEUCIQCXUNf51+LEDH+OiWwo6xfMGhoBSBSPVIOXrhyOzN++IgIgGaNWv0dnZaZYViG5p+rk73HJwP/hMs6eij9Y5T0aCeE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+CPACRA9TVsSAnZWagAAA1oP/jFMqOuKy+1E23Yy1vD/\nnwm3ZplILR8fehVA1/5VcU/OnXJ0x31Dv3p2eFUD0eoByPz5sxXJc+9209Wh\n7lYEIe5JBPgUuA9DuBkkHW7Pkxyj8nb6R8/DhySLKD3JE+nPtfPMj/zF6xCH\nHHI0Fcqza3Svew6835z+9u8bPO77iQp/vHPvM14YiFLk5qFgfTJh0cwF0j55\ngVoRpKrBPLsBhovQmOaJKHeL9JsYij/AyxilREsdRUFMmtNqoIYZ4Q6fVKkI\nqIjcUkwGgtX4YD3GCmQrz7R8vludxhWQd7Aw/t6I29v3j0KZNRCsgDoi5gr7\nmxpV9bDr+OLevL5MBIN5scEtn55TDN7o0NeOo7qJokKgTdFzYPit8a8z2U5L\nN4/BqFJO3DZjFIa7OvuzL6K6tl4lBeX65ktYgMXKgwdtEOEdsCHYDquko51v\nrhoW3+hNc+hYm4fQcT2We6Qxkzd1WXfdEkVr3wLe3efhACq9yJpbzzRbsMa5\nuADNB2n06TngAbPu5VStgtBQRfyMK7vMEA2UaaG/kOLTSXexHzI+LJDgGkxL\nxExybo9hlnpgqeHMAXZvoy+d/4X2GiYAc8rpc2P2O2vpgLhi8FYw+nD2sTGh\ne0eoV021oAXu+IgsbCLPiAQh0hO9Mx3nsoTTEYfenWDdoTLyw3jncdGRNIO1\nmrQY\r\n=WO49\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"122bf9b5b1bed7607867ef944f312aba9fe71fe3","scripts":{"test":"eslint ."},"_npmUser":{"name":"boutell","email":"tom@punkave.com"},"deprecated":"Merged into core, please see the new lean frontend HOWTO","repository":{"url":"git+https://github.com/apostrophecms/apostrophe-lean-frontend.git","type":"git"},"_npmVersion":"6.4.1","description":"A leaner frontend js world for ApostropheCMS 2.x. No jQuery, no lodash, no async module, etc. You still get a way to write widget players.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"lodash":"^4.17.10"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^5.0.0","eslint-plugin-node":"^6.0.1","eslint-plugin-import":"^2.17.2","eslint-plugin-promise":"^3.8.0","eslint-config-standard":"^11.0.0","eslint-plugin-standard":"^3.1.0","eslint-config-apostrophe":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/apostrophe-lean-frontend_2.1.1_1559765952014_0.3601838049552366","host":"s3://npm-registry-packages"}},"2.1.2":{"name":"apostrophe-lean-frontend","version":"2.1.2","keywords":["apostrophecms","apostrophe","cms","cms","content","management","system","apostrophe"],"author":{"name":"P'unk Avenue LLC"},"license":"MIT","_id":"apostrophe-lean-frontend@2.1.2","maintainers":[{"name":"boutell","email":"tom@punkave.com"}],"homepage":"https://github.com/apostrophecms/apostrophe-lean-frontend#readme","bugs":{"url":"https://github.com/apostrophecms/apostrophe-lean-frontend/issues"},"dist":{"shasum":"f729857c3d64f686f4c09ecba92cca23b272a541","tarball":"https://registry.npmjs.org/apostrophe-lean-frontend/-/apostrophe-lean-frontend-2.1.2.tgz","fileCount":13,"integrity":"sha512-Xjs120tb6uDoL3MZyUvaau8N3jvd4o+M8e/W2RjB0MOAMvtKcDu78C3l4voBHIEX55jRM1kOJWWa47UaK9N/ng==","signatures":[{"sig":"MEUCIQD3UbBY3KdezmH2mp2Asa3nvfbshVWN8q1be37xjBrLfwIgC8FSW0k9vaS7AV8pzuihbUdjN52MdVRB7oYL681CvPg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25057,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+CUECRA9TVsSAnZWagAAPegP/32/X5g+ZQYAiorO+JXE\n/Os2DCajrm9mw7akGNNMD2gUQEcTF/ygeMBb+xhGvQ8t1zlgfNxCuAWAOntR\n51bl9pdEDzuaSyigLODmo9nSfg9r1XWdI8HP7atI0uQHCwAKTbVrFZ99bI5o\nGiwt4h18TjnM8Pcv8BLjR4sKJRhbS/4psAU7E1AP+Gm3oMKYYJGQyatr4Cfd\nd8WEShVc85VOhuQSdpIDNumZ4zM3d5RBBikMs6nbbilPS/HiXV+c1eFlyFdV\nI+15b9dyIy8pTfzsxkFkft2rXybHW21v5REDRFu7yBe9qHPAaFa0C/F1hnMw\nC+nwPhaOTyyFwWjKM8mJKXPWZrx0ZkZeF0dfUGtrL76yWxXhpVr6rvnoFsDe\nRyk50uBAiK8jVtLetjzoCi4p3VvaNmdblvjLrOjKX2/qzhif8jbV3a5+3Kr0\no7qmYZsMxdAEPs3Ar7dPrD6sxrhtlaAkb5lflWMWOpHh/vSYyxqFvr8v3CvI\nztve3H0wk4Ct2VHbLi0xjXNrnkKxZqJI21Gryw+CNgQIGgxg33ORR/jRPQD4\nmB5r86oUcFx83nBE50tydf8VMujuGEYVrNPIPTFA789QcDyucZyvxRbGl5IK\nbjWYn8Jg8f9q/UIDnJQuQe4Yz+0hKGzBiCQUW0h/8VJvBTwgDGetOKRZEppd\n2dAo\r\n=2HfP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c4a211f1c391d337b64b6a2f20946af160dfde0f","scripts":{"test":"eslint ."},"_npmUser":{"name":"boutell","email":"tom@punkave.com"},"deprecated":"Merged into core, please see the new lean frontend HOWTO","repository":{"url":"git+https://github.com/apostrophecms/apostrophe-lean-frontend.git","type":"git"},"_npmVersion":"6.4.1","description":"A leaner frontend js world for ApostropheCMS 2.x. No jQuery, no lodash, no async module, etc. You still get a way to write widget players.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"lodash":"^4.17.10"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^5.0.0","eslint-plugin-node":"^6.0.1","eslint-plugin-import":"^2.17.2","eslint-plugin-promise":"^3.8.0","eslint-config-standard":"^11.0.0","eslint-plugin-standard":"^3.1.0","eslint-config-apostrophe":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/apostrophe-lean-frontend_2.1.2_1559766276302_0.010388322288930718","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-08-23T13:24:28.054Z","modified":"2026-01-26T19:09:42.050Z","2.0.0":"2018-08-23T13:24:28.141Z","2.0.1":"2018-08-23T17:57:40.087Z","2.0.2":"2019-04-09T13:44:51.572Z","2.0.3":"2019-05-15T14:40:37.034Z","2.1.0":"2019-05-24T11:39:31.542Z","2.1.1":"2019-06-05T20:19:12.197Z","2.1.2":"2019-06-05T20:24:36.445Z"},"bugs":{"url":"https://github.com/apostrophecms/apostrophe-lean-frontend/issues"},"author":{"name":"P'unk Avenue LLC"},"license":"MIT","homepage":"https://github.com/apostrophecms/apostrophe-lean-frontend#readme","keywords":["apostrophecms","apostrophe","cms","cms","content","management","system","apostrophe"],"repository":{"url":"git+https://github.com/apostrophecms/apostrophe-lean-frontend.git","type":"git"},"description":"A leaner frontend js world for ApostropheCMS 2.x. No jQuery, no lodash, no async module, etc. You still get a way to write widget players.","maintainers":[{"email":"alex@apostrophecms.com","name":"alexgilbert"},{"email":"tom@apostrophecms.com","name":"boutell"},{"email":"stuart+npm@apostrophecms.com","name":"romanek"},{"email":"robert.means1969+apostrophecms@gmail.com","name":"bodonkey"}],"readme":"## This package is deprecated for new projects\n\nAlthough this package **still works** for backwards compatibility, its functionality has been **merged into the core of Apostrophe** as of version 2.91.0. You should [follow the official lean frontend HOWTO](https://docs.apostrophecms.org/apostrophe/tutorials/howtos/lean-frontend-assets) rather than using this module.\n\n\nFuture, as-yet-unreleased Apostrophe modules might not support operation with this legacy module present.\n\nThis module was an important part of Apostrophe's evolution and we thank you for using it and giving your feedback.\n\n## How to migrate away from this module\n\n* Remove this module and do not enable it in `app.js`.\n* Turn on the `lean: true` option for the `apostrophe-assets` module.\n* Change all `apos.lean` method calls to `apos.utils`. The method names are the same.\n* Change all `apos.lean.widgetPlayers` assignments to `apos.utils.widgetPlayers`.\n* If you want the lean player for `apostrophe-video-widgets`, set `player: true` in the configuration of the `apostrophe-video-widgets` module. Note this is different from how it was done in `apostrophe-lean-frontend`.\n\n## What does it do?\n\nA leaner frontend js and css world for [ApostropheCMS](https://apostrophecms.org) 2.x. No jQuery, no lodash, no async module, etc. You still get a way to write widget players, tiny workarounds for some of the silliest gaps in older browsers, and some players for standard widgets that are pushed to the browser only if you enable them.\n\nThis module is designed to be feasible for use back to the IE9 compatibility level.\n\n## Usage\n\n```\nnpm install apostrophe-lean-frontend\n```\n\n```javascript\n// inside app.js\nmodules: {\n  'apostrophe-lean-frontend': {\n    widgets: {\n      // Otherwise no video player is pushed\n      'apostrophe-video': true\n    }\n  }\n}\n```\n\n## What doesn't it do?\n\n* When a user is logged in, they still receive all of the usual frontend JavaScript, to enable editing experiences. However, the traditional widget players are disabled in favor of the lean ones, to prevent conflict and provide a WYSIWYG experience.\n\n* The `req.browserCall` and `apos.push.browserCall` methods have no effect on the logged-out, \"lean\" experience. If you need to pass data from the server to the browser, use the `json` Nunjucks filter inside your page templates or layouts, like this:\n\n```\n<script>\nwindow.tags = {{ data.page.tags | json }};\n</script>\n```\n\n## How to use the provided widget players\n\nThe video widget player (currently the only one) will \"just work\" when this module is enabled and the widget player is enabled via the appropriate option (see above).\n\n## What you get in the browser\n\nLogged in, you still get everything, so the editing experience works without change. One big exception: you don't get the standard, jQuery-based widget players, because that would just give you a false impression they are going to work when you log out. Instead, you get the same lean players you get when logged out.\n\n> Every method of `apos.lean` described below is available whether logged in or not.\n\nWhen you are logged out, you get a tiny `window.apos` object with key properties like `prefix` and `csrfCookieName`, plus the `lean` object which offers the methods and features below... and that's all.\n\n### `apos.lean.post(uri, data, callback)`\n\nSends `data` to URI as a JSON-format request body in a POST request (note: not URL-encoded). The callback is node-style: it receives `(err, response)`. If there is no error, `response` is pre-parsed JSON data. Respects `apos.prefix` and sends the CSRF token.\n\n### `apos.lean.get(uri, data, callback)`\n\nSends `data` to URI as a query string. Nested objects and arrays are not supported; see `apos.post`. This method should be reserved for simple, intentionally cache-friendly requests. The callback is node-style: it receives `(err, response)`. If there is no error, `response` is pre-parsed JSON data. Respects `apos.prefix`.\n\n### `apos.lean.removeClass(el, className)`\n\nRemoves the specified class from the specified DOM element (NOT a jQuery object).\n\n### `apos.lean.addClass(el, className)`\n\nAdds the specified class to the specified DOM element (NOT a jQuery object).\n\n### `apos.lean.closest(el, selector)`\n\nA wrapper for the native closest() method of DOM elements,\nwhere available, otherwise a polyfill for IE9+. Returns the\nclosest ancestor of el that matches `selector`, where\n`el` itself is considered the closest possible ancestor and will\nbe returned if it matches `selector`.\n\n### `apos.lean.assign(obj1, obj2 /* , obj3... */)`\n\nA wrapper for `Object.assign`, where available; otherwise provides a basic polyfill. Properties of `obj2` are copied to `obj1`, then properties of `obj3`, and so on. `obj1` is returned.\n\n### `apos.lean.onReady(fn)`\n\nInvokes the specified function when the DOM is ready, but no sooner than next tick. A replacement for jQuery's `ready` event. However, always register widget players rather than using this method yourself to enhance widgets. Otherwise they will not be enhanced when the user first adds them to the page, which looks unprofessional.\n\n### `apos.lean.runPlayers(el)`\n\nRuns all widget players found in `el`, or in the document if `el` is not given. `el` may also be an individual widget.\n\nWidget players are guaranteed to never run twice, so you may safely call this more than once.\n\nSee below for how to register a widget player for your widget type.\n\n## How to register a widget player\n\nIn your front-end JavaScript, simply write:\n\n```javascript\napos.lean.widgetPlayers['apostrophe-video'] = function(el, data, options) {\n  // Utilize the provided `data` (properties of the widget)\n  // and `options` (options passed to the singleton or area for\n  // this widget) to enhance `el`, a DOM element representing the widget\n};\n```\n\nNote that we register the widget's type name, i.e. `apostrophe-video`, NOT the module name.\n\nFor a complete example, see `video.js` in this module.\n\n## How do I push my assets to the browser? \"always\" doesn't work!\n\nFor backwards compatibility, this module patches \"always\" to load only when a user is logged in.\n\nInstead, use `when: lean` when pushing an asset in your module:\n\n```javascript\nmodule.exports = {\n  construct: function(self, options) {\n    self.pushAsset('script', 'my-widget-player', { when: 'lean' });\n  }\n}\n```\n## Pushing preconfigured assets from apostrophe-assets\n\nAs of version 2.1.0, this just works. This module pushes js and css assets specified in `apostrophe-assets/index.js` as if `when: 'lean'` is set, so that these assets are available to everyone, unless `when` is explicitly set to a different value. Note that for legacy reasons, `when: 'always'` *does not* push assets to everyone in the presence of this module.\n\n> Important: if your `site.less` refers to LESS variables that come from Apostrophe, i.e. those with an `@apos` prefix, your LESS will not compile successfully since these will not be present.\n\n## What's it weigh on the front end?\n\nTotal size is currently less than 10K BEFORE minification, which of course makes it even smaller. And that's with the video widget player, which you don't have to enable if you don't want to.\n\nTake into account gzip encoding and... yes, it deserves its name. There may of course be some limited growth, but we are committed to keeping it lean and pushing various widget players only if you enable that.\n\n### Tips\n\n**\"What about `_.each()`?\"** Arrays have had a native `.forEach()` method since IE9. If you need to iterate over object properties, use `Object.keys(yourObjectHere)` to get an array of keys, then iterate over those with `.forEach()`.\n\n**\"What about $('.some-class-here')?\"** Use `document.querySelectorAll('.some-class-here')`. You can also call that method on an individual DOM element to get the effect of jQuery's `find()` method.\n\n### More resources for success\n\nStruggling to adapt existing jQuery-based code to \"vanilla JavaScript?\" Check out [You Might Not Need jQuery](http://youmightnotneedjquery.com/).\n","readmeFilename":"README.md"}