1 line
24 KiB
Plaintext
1 line
24 KiB
Plaintext
{"_id":"compatx","_rev":"11-5f9b747de8a93faf7c6817b5baa52af6","name":"compatx","dist-tags":{"latest":"0.2.0"},"versions":{"0.0.0":{"name":"compatx","version":"0.0.0","_id":"compatx@0.0.0","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"dist":{"shasum":"2a17c40666057540fc27a8ba72590f05755b62d3","tarball":"https://registry.npmjs.org/compatx/-/compatx-0.0.0.tgz","fileCount":1,"integrity":"sha512-B6D47n/3L0hSKuFt+EvUpeasA4QUbUtu7LtrP/8YgJApoJQXT8icB0Zvg7HJT/6XdCsyHWd2rvGIzPANEX3Wlw==","signatures":[{"sig":"MEQCICoWCHT872Ng36BvTnp00Gb7LvDtGS7jn1L8aszhns84AiA23iMazr5djFa2FOq2CHsGsPLV88VGw06N1vx6IsPxoQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"_npmVersion":"10.7.0","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compatx_0.0.0_1718018901372_0.9615661749442452","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"compatx","version":"0.1.0","license":"MIT","_id":"compatx@0.1.0","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/compatx#readme","bugs":{"url":"https://github.com/unjs/compatx/issues"},"dist":{"shasum":"e4ca6a8ded77a06f6bb2643bdb4948c73d56ce1e","tarball":"https://registry.npmjs.org/compatx/-/compatx-0.1.0.tgz","fileCount":8,"integrity":"sha512-r3Pg2QNTU88z0oCqGKP6d0p12/Li/iID7TgYNlNMjWbUDt0Mlo9wsVNVBVfmiLk7m1cs7PQGHXD9Dw3do5yvMw==","signatures":[{"sig":"MEQCIHNix4bzJWnwHXf2WBgDK5KqkjVkB1dBLRPfZjilAy36AiBVT8umWwUT6laiCjtPh8xL+zKc4rd4qsg/Q7Mm/2AHQg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5802},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"7057dbfdba542316c95e8c6805892c4fc4b8a22b","scripts":{"dev":"vitest dev","lint":"eslint --cache . && prettier -c src test","play":"jiti playground","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache . --fix && prettier -c src test -w","test:types":"tsc --noEmit --skipLibCheck"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/compatx.git","type":"git"},"_npmVersion":"10.7.0","description":"🌴 Gradual feature flags.","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.2.0","devDependencies":{"jiti":"^1.21.3","automd":"^0.3.7","eslint":"^9.4.0","vitest":"^1.6.0","unbuild":"^2.0.0","prettier":"^3.3.1","typescript":"^5.4.5","@types/node":"^20.14.2","changelogen":"^0.5.5","eslint-config-unjs":"^0.3.2","@vitest/coverage-v8":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/compatx_0.1.0_1718020810909_0.9849158217919476","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"compatx","version":"0.1.1","license":"MIT","_id":"compatx@0.1.1","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/compatx#readme","bugs":{"url":"https://github.com/unjs/compatx/issues"},"dist":{"shasum":"ea8d345051883cdb0173b10f5e72db8528b59fcc","tarball":"https://registry.npmjs.org/compatx/-/compatx-0.1.1.tgz","fileCount":8,"integrity":"sha512-kbbvdPrGXynzyTARgZOOjW8HDEwpgYkHfZREnvO8TVbQHuMFHTDl2sZbYqMisG1vKKdXZgY1DZd+xw7DuhC0Mg==","signatures":[{"sig":"MEUCIBJ0lYRnX69RWGDvBuni0MwR5FhQHk37wrOLO5pVjFHmAiEAiZRaYKpwQlsr6cS7Ubt20N+WTaxPjLQZpO2njxNNHhI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13927},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"cdb5a326fe0d0b3ef6e49d45c08722f95f99968e","scripts":{"dev":"vitest dev","lint":"eslint --cache . && prettier -c src test","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"automd && eslint --cache . --fix && prettier -c src test -w","test:types":"tsc --noEmit --skipLibCheck"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/compatx.git","type":"git"},"_npmVersion":"10.7.0","description":"🌴 Gradual feature flags.","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.2.0","devDependencies":{"jiti":"^1.21.3","automd":"^0.3.7","eslint":"^9.4.0","vitest":"^1.6.0","unbuild":"^2.0.0","prettier":"^3.3.1","typescript":"^5.4.5","@types/node":"^20.14.2","changelogen":"^0.5.5","eslint-config-unjs":"^0.3.2","@vitest/coverage-v8":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/compatx_0.1.1_1718033926204_0.1402947796109033","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"compatx","version":"0.1.2","license":"MIT","_id":"compatx@0.1.2","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/compatx#readme","bugs":{"url":"https://github.com/unjs/compatx/issues"},"dist":{"shasum":"f5c29fe6e75eebdeb7d623c918156724b0fb9abe","tarball":"https://registry.npmjs.org/compatx/-/compatx-0.1.2.tgz","fileCount":8,"integrity":"sha512-GyUsQseDGPIowSi/Z4fRUXvFy78LWTQv8xDUQOBKcEJU2GDsl/bc1h8ttwvftMg+d/3S4CuZtlzituPWlt7W5Q==","signatures":[{"sig":"MEUCIQC3u2sAXKvp6AkfAyOJgq2+xuNOPT3bGQnlXxwqxXeRkAIgDyJa0XlClifbjHI48sGjGUj52bGZWebd35KxV1tNmuw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18091},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"f9e423b115519d46a935388d5e284bb2fcc14fff","scripts":{"dev":"vitest dev","lint":"eslint --cache . && prettier -c src test","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"automd && eslint --cache . --fix && prettier -c src test -w","test:types":"tsc --noEmit --skipLibCheck"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/compatx.git","type":"git"},"_npmVersion":"10.7.0","description":"🌴 Gradual feature flags.","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.2.0","devDependencies":{"jiti":"^1.21.3","automd":"^0.3.7","eslint":"^9.4.0","vitest":"^1.6.0","unbuild":"^2.0.0","prettier":"^3.3.1","typescript":"^5.4.5","@types/node":"^20.14.2","changelogen":"^0.5.5","eslint-config-unjs":"^0.3.2","@vitest/coverage-v8":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/compatx_0.1.2_1718035605999_0.6665076874487208","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"compatx","version":"0.1.3","license":"MIT","_id":"compatx@0.1.3","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/compatx#readme","bugs":{"url":"https://github.com/unjs/compatx/issues"},"dist":{"shasum":"24a5a113612bcfc98519e1b033ca3828462428e7","tarball":"https://registry.npmjs.org/compatx/-/compatx-0.1.3.tgz","fileCount":8,"integrity":"sha512-MWspQwvBk5xeLZMetIfjOozTAtmAIICz1mtol6NbBpCSllXOO+HvWMO87B18rcFtqjfrZ0tIFOH9gNG63ep+mw==","signatures":[{"sig":"MEUCIDNwuIY2CmXXZTof0KLLSEL9kAw6aJrhAVWXT4TtYmciAiEAiIfdXCbh8/IDoIH9ViUKpJulrlPmW7xRq9ds6lLpJ94=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18352},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"dc3c9dde666205414ebe4ec1da579d83ecf348d1","scripts":{"dev":"vitest dev","lint":"eslint --cache . && prettier -c src test","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"automd && eslint --cache . --fix && prettier -c src test -w","test:types":"tsc --noEmit --skipLibCheck"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/compatx.git","type":"git"},"_npmVersion":"10.7.0","description":"🌴 Gradual feature flags.","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.2.0","devDependencies":{"jiti":"^1.21.3","automd":"^0.3.7","eslint":"^9.4.0","vitest":"^1.6.0","unbuild":"^2.0.0","prettier":"^3.3.1","typescript":"^5.4.5","@types/node":"^20.14.2","changelogen":"^0.5.5","eslint-config-unjs":"^0.3.2","@vitest/coverage-v8":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/compatx_0.1.3_1718036140619_0.5533618321926728","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"compatx","version":"0.1.4","license":"MIT","_id":"compatx@0.1.4","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/compatx#readme","bugs":{"url":"https://github.com/unjs/compatx/issues"},"dist":{"shasum":"4e0fe4a1219dd8fba69c0874131a252f0cde7b2c","tarball":"https://registry.npmjs.org/compatx/-/compatx-0.1.4.tgz","fileCount":8,"integrity":"sha512-CJnXSACI2xN8rEY2EwhD1Lsnb9YRu436HorC0JpjkBmIQlldNrpykoCXYWRP7oQ73jfpa3+PgzaGna2G95GVIw==","signatures":[{"sig":"MEUCIFTbKL+166P7ndENRLDu0/Og0l5FfYL3IIRCDUsrJVsuAiEA78KVzt8QnVBGbpWEAtQr+nM28+1H4vG/k2SGql46Lzg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18478},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"3bd47ef45e1a57c377f56c6b889b0b98648dcf28","scripts":{"dev":"vitest dev","lint":"eslint --cache . && prettier -c src test","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"automd && eslint --cache . --fix && prettier -c src test -w","test:types":"tsc --noEmit --skipLibCheck"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/compatx.git","type":"git"},"_npmVersion":"10.7.0","description":"🌴 Gradual feature flags.","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.3.0","devDependencies":{"jiti":"^1.21.6","automd":"^0.3.7","eslint":"^9.4.0","vitest":"^1.6.0","unbuild":"^2.0.0","prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","changelogen":"^0.5.5","eslint-config-unjs":"^0.3.2","@vitest/coverage-v8":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/compatx_0.1.4_1718190214994_0.2936350369561229","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"compatx","version":"0.1.5","license":"MIT","_id":"compatx@0.1.5","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/compatx#readme","bugs":{"url":"https://github.com/unjs/compatx/issues"},"dist":{"shasum":"d174869ce9fbcd893081d8407113e709e77ca702","tarball":"https://registry.npmjs.org/compatx/-/compatx-0.1.5.tgz","fileCount":8,"integrity":"sha512-6L25B4bAzQn7NGWCUBUf+khD2FTMaq45PVpE8SW/MigLaJhYhtoO/ecXgqjcwlDvOGKkDTHKmMg7EJbzuiwOMQ==","signatures":[{"sig":"MEQCIAem74Y1OUZbYTP6aEKMo+bvc1X0WcNFI6tygwaNeP3yAiAvhe/e4zJMVop1KalXeYERgJDU8awLq52K8d+ymmDsNA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18584},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"ed1fbf4d68ee4e9db9579b7d0c76f47fc7ca70f6","scripts":{"dev":"vitest dev","lint":"eslint --cache . && prettier -c src test","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"automd && eslint --cache . --fix && prettier -c src test -w","test:types":"tsc --noEmit --skipLibCheck"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/compatx.git","type":"git"},"_npmVersion":"10.7.0","description":"🌴 Gradual feature flags.","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.3.0","devDependencies":{"jiti":"^1.21.6","automd":"^0.3.7","eslint":"^9.4.0","vitest":"^1.6.0","unbuild":"^2.0.0","prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","changelogen":"^0.5.5","eslint-config-unjs":"^0.3.2","@vitest/coverage-v8":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/compatx_0.1.5_1718191665761_0.12767460774140527","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"compatx","version":"0.1.6","license":"MIT","_id":"compatx@0.1.6","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/compatx#readme","bugs":{"url":"https://github.com/unjs/compatx/issues"},"dist":{"shasum":"562587c3c07a97e2c950436e7f34ec2ca693c6e3","tarball":"https://registry.npmjs.org/compatx/-/compatx-0.1.6.tgz","fileCount":8,"integrity":"sha512-OXAk9wROCMC0rylM2vga9KJdzibmVWm1J41GjoHJSpZc4luamqE7NMZ32ojyHm3Sjba4wxWyKWTcwlfJnp7gJQ==","signatures":[{"sig":"MEQCIGKE1Ld+WumyUtax6Qm9EcAGnzMo1c0FaUELtcATt+hwAiAkc8sBfKQryEpMSVYhjMCFHGr30j0FAb4J8yzlmy6Fjg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18706},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"5dcac6d8e82edb834d734e7bd1d96bc0419d48a7","scripts":{"dev":"vitest dev","lint":"eslint --cache . && prettier -c src test","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"automd && eslint --cache . --fix && prettier -c src test -w","test:types":"tsc --noEmit --skipLibCheck"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/compatx.git","type":"git"},"_npmVersion":"10.7.0","description":"🌴 Gradual feature flags.","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.3.0","devDependencies":{"jiti":"^1.21.6","automd":"^0.3.7","eslint":"^9.4.0","vitest":"^1.6.0","unbuild":"^2.0.0","prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","changelogen":"^0.5.5","eslint-config-unjs":"^0.3.2","@vitest/coverage-v8":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/compatx_0.1.6_1718194050667_0.4347822024845913","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"compatx","version":"0.1.7","license":"MIT","_id":"compatx@0.1.7","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/compatx#readme","bugs":{"url":"https://github.com/unjs/compatx/issues"},"dist":{"shasum":"c0b45e6268b81d9b59bc46c3f3a0b11b9dc65c32","tarball":"https://registry.npmjs.org/compatx/-/compatx-0.1.7.tgz","fileCount":8,"integrity":"sha512-NwLic4b7jCHFjyLD6U1ka2lN7jmRT6YEKLAOGzo3oEZtQWfAFvcCjfN+Ac/6w8fui7LIJMvpwrlMOwl27FDIYQ==","signatures":[{"sig":"MEUCIDPPgNUy9N9Zx8hOIDGwHfBbyyRZNwppQ4qLyFp5QilTAiEAx6T6ddtdQlMrXEvByO+f8ayuRSQKfdIO46X+qzF0aNc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19110},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"a9bff3e322288de996f2d15c1c1371feb2bbcc7d","scripts":{"dev":"vitest dev","lint":"eslint --cache . && prettier -c src test","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"automd && eslint --cache . --fix && prettier -c src test -w","test:types":"tsc --noEmit --skipLibCheck"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/compatx.git","type":"git"},"_npmVersion":"10.7.0","description":"🌴 Gradual feature flags.","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.3.0","devDependencies":{"jiti":"^1.21.6","automd":"^0.3.7","eslint":"^9.4.0","vitest":"^1.6.0","unbuild":"^2.0.0","prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","changelogen":"^0.5.5","eslint-config-unjs":"^0.3.2","@vitest/coverage-v8":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/compatx_0.1.7_1718195564499_0.7875565047286579","host":"s3://npm-registry-packages"}},"0.1.8":{"name":"compatx","version":"0.1.8","license":"MIT","_id":"compatx@0.1.8","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/compatx#readme","bugs":{"url":"https://github.com/unjs/compatx/issues"},"dist":{"shasum":"af6f61910ade6ce1073c0fdff23c786bcd75c026","tarball":"https://registry.npmjs.org/compatx/-/compatx-0.1.8.tgz","fileCount":8,"integrity":"sha512-jcbsEAR81Bt5s1qOFymBufmCbXCXbk0Ql+K5ouj6gCyx2yHlu6AgmGIi9HxfKixpUDO5bCFJUHQ5uM6ecbTebw==","signatures":[{"sig":"MEYCIQD0td6T4xo+7eWPyQJA+zMT8wt80ar8M26QXL0Uj+LrXAIhAIN1u/p/8RyxRtasQNvOUcvaUnaKMQhbRimlDEICP5OX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20563},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"b3b35c4807b64bf00a34912b6123c8e40de2afad","scripts":{"dev":"vitest dev","lint":"eslint --cache . && prettier -c src test","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"unbuild","prepack":"pnpm build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"automd && eslint --cache . --fix && prettier -c src test -w","test:types":"tsc --noEmit --skipLibCheck"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/compatx.git","type":"git"},"_npmVersion":"10.7.0","description":"🌴 Gradual feature flags.","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"packageManager":"pnpm@9.3.0","devDependencies":{"jiti":"^1.21.6","automd":"^0.3.7","eslint":"^9.4.0","vitest":"^1.6.0","unbuild":"^2.0.0","prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","changelogen":"^0.5.5","eslint-config-unjs":"^0.3.2","@vitest/coverage-v8":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/compatx_0.1.8_1718196317686_0.37179614156830154","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"compatx","version":"0.2.0","description":"🌴 Gradual feature flags.","repository":{"type":"git","url":"git+https://github.com/unjs/compatx.git"},"license":"MIT","sideEffects":false,"type":"module","exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"types":"./dist/index.d.mts","scripts":{"build":"unbuild","dev":"vitest dev","lint":"eslint --cache . && prettier -c src test","lint:fix":"automd && eslint --cache . --fix && prettier -c src test -w","prepack":"pnpm build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","test":"pnpm lint && pnpm test:types && vitest run --coverage","test:types":"tsc --noEmit --skipLibCheck"},"devDependencies":{"@types/node":"^22.14.0","@vitest/coverage-v8":"^3.1.1","automd":"^0.4.0","changelogen":"^0.6.1","eslint":"^9.24.0","eslint-config-unjs":"^0.4.2","jiti":"^2.4.2","prettier":"^3.5.3","typescript":"^5.8.3","unbuild":"^3.5.0","vitest":"^3.1.1"},"packageManager":"pnpm@10.7.1","_id":"compatx@0.2.0","gitHead":"5ec282bc00c6037f9e7a70913290af6e787dc4f1","bugs":{"url":"https://github.com/unjs/compatx/issues"},"homepage":"https://github.com/unjs/compatx#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-6gLRNt4ygsi5NyMVhceOCFv14CIdDFN7fQjX1U4+47qVE/+kjPoXMK65KWK+dWxmFzMTuKazoQ9sch6pM0p5oA==","shasum":"76bae4e221c8de3da795f52b2e0b67003735b313","tarball":"https://registry.npmjs.org/compatx/-/compatx-0.2.0.tgz","fileCount":5,"unpackedSize":11004,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIClevGSNdUy0KjwKjO5w6JmYdAv6H7z0x9N2MUP3i28VAiB9/6tPZjwyVaQt5s5ogYrH1S+j1PiTGH1lEtRW/PZWzQ=="}]},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/compatx_0.2.0_1744037374794_0.6667134235182206"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-10T11:28:21.371Z","modified":"2025-04-07T14:49:35.171Z","0.0.0":"2024-06-10T11:28:21.509Z","0.1.0":"2024-06-10T12:00:11.070Z","0.1.1":"2024-06-10T15:38:46.408Z","0.1.2":"2024-06-10T16:06:46.126Z","0.1.3":"2024-06-10T16:15:40.775Z","0.1.4":"2024-06-12T11:03:35.151Z","0.1.5":"2024-06-12T11:27:45.922Z","0.1.6":"2024-06-12T12:07:30.822Z","0.1.7":"2024-06-12T12:32:44.645Z","0.1.8":"2024-06-12T12:45:17.851Z","0.2.0":"2025-04-07T14:49:34.999Z"},"bugs":{"url":"https://github.com/unjs/compatx/issues"},"license":"MIT","homepage":"https://github.com/unjs/compatx#readme","repository":{"type":"git","url":"git+https://github.com/unjs/compatx.git"},"description":"🌴 Gradual feature flags.","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"readme":"# `compatx`\n\n<!-- automd:badges -->\n\n[](https://npmjs.com/package/compatx)\n[](https://npm.chart.dev/compatx)\n\n<!-- /automd -->\n\n🌴 Compatibility toolkit.\n\n> [!NOTE]\n> This is a WIP toolkit. See [RFC](./RFC.md) for initial motivations.\n\n## Install\n\n<!-- automd:pm-install dev -->\n\n```sh\n# ✨ Auto-detect\nnpx nypm install -D compatx\n\n# npm\nnpm install -D compatx\n\n# yarn\nyarn add -D compatx\n\n# pnpm\npnpm install -D compatx\n\n# bun\nbun install -D compatx\n\n# deno\ndeno install --dev compatx\n```\n\n<!-- /automd -->\n\n## Utils\n\n<!-- automd:jsdocs src=\"./src/index.ts\" -->\n\n### `formatCompatibilityDate(input)`\n\nFormat compatibility date spec to a string\n\n### `formatDate(date)`\n\nFormat a date to a `YYYY-MM-DD` string\n\n**Example:**\n\n```ts\nformatDateString(new Date(\"2021/01/01\")) // \"2021-01-01\"\n```\n\n### `getCompatibilityChanges(allUpdates, compatibilityDate1, compatibilityDate2)`\n\nGet compatibility changes between two dates.\n\n### `getCompatibilityUpdates(allUpdates, compatibilityDate)`\n\nGet compatibility updates applicable for the user given platform and date range.\n\n### `platforms`\n\n- **Type**: `array`\n- **Default**: `[\"aws\",\"azure\",\"cloudflare\",\"deno\",\"firebase\",\"netlify\",\"vercel\"]`\n\n### `resolveCompatibilityDates(input?, defaults?)`\n\nNormalize the compatibility dates from input config and defaults.\n\n### `resolveCompatibilityDatesFromEnv(overridesInput?)`\n\nResolve compatibility dates with environment variables as defaults.\n\nEnvironment variable name format is `COMPATIBILITY_DATE` for default and `COMPATIBILITY_DATE_<PLATFORM>` for specific platforms.\n\n<!-- /automd -->\n\n## Types\n\n```js\nimport type {\n // Typed date string in `YYYY-MM-DD` format\n DateString,\n // Platform names\n PlatformName,\n // Compatibility dates\n CompatibilityDateSpec,\n CompatibilityDates,\n // Compatibility updates\n CompatibilityUpdate,\n CompatibilityUpdates\n} from \"./types\";\n```\n\n## Development\n\n- Clone this repository\n- Install latest LTS version of [Node.js](https://nodejs.org/en/)\n- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`\n- Install dependencies using `pnpm install`\n- Run interactive tests using `pnpm dev`\n\n## License\n\nMade with 💛\n\nPublished under [MIT License](./LICENSE).\n","readmeFilename":"README.md"} |