{"_id":"@azure-rest/core-client-paging","_rev":"18-275ce85662aae1ca6c6d467c78a12eb8","name":"@azure-rest/core-client-paging","dist-tags":{"dev":"1.0.0-alpha.20220131.3","latest":"1.0.0-beta.1","next":"1.0.0-beta.1"},"versions":{"1.0.0-alpha.20210702.4":{"name":"@azure-rest/core-client-paging","version":"1.0.0-alpha.20210702.4","description":"A helper library which implements Autorest x-ms-pageable spec for pagination.","sdk-type":"client","main":"dist/index.js","module":"dist-esm/src/index.js","types":"types/latest/core-client-paging-rest.d.ts","browser":{"./dist-esm/src/url.js":"./dist-esm/src/url.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:browser":"npm run build:ts && cross-env ONLY_BROWSER=true rollup -c 2>&1","build:node":"npm run build:ts && cross-env ONLY_NODE=true rollup -c 2>&1","build:samples":"echo Skipped.","build:test":"tsc -p . && rollup -c 2>&1","build:ts":"tsc -p .","build":"npm run build:ts && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-* types *.tgz *.log","execute:samples":"echo skipped","extract-api":"npm run build:ts && api-extractor run --local","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","integration-test:browser":"echo skipped","integration-test:node":"echo skipped","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","prebuild":"npm run clean","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser","test:node":"npm run clean && npm run build:test && npm run unit-test:node","test":"npm run clean && npm run build:test && npm run unit-test","unit-test:browser":"karma start --single-run","unit-test:node":"mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser","docs":"typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src"},"repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"keywords":["azure","cloud"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"homepage":"https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/","sideEffects":false,"prettier":"@azure/eslint-plugin-azure-sdk/prettier.json","dependencies":{"@azure/core-paging":"^1.1.1","@azure/core-rest-pipeline":"^1.1.0","@azure-rest/core-client":"^1.0.0-alpha","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"7.13.2","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","@azure/eslint-plugin-azure-sdk":"^3.0.0-alpha","@azure/dev-tool":"^1.0.0-alpha","chai":"^4.2.0","cross-env":"^7.0.2","eslint":"^7.15.0","inherits":"^2.0.3","karma":"^6.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-junit-reporter":"^2.0.1","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.8","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","sinon":"^9.0.2","typescript":"~4.2.0","util":"^0.12.1","typedoc":"0.15.2"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-alpha.20210702.4.tgz","_id":"@azure-rest/core-client-paging@1.0.0-alpha.20210702.4","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-SiWCoJm7QkxGHshg81YaSlnLJy2Zv8v8mj2h0ExtmoJ8lTOdtnVgZGBI3JJuewGG5mlzmT29Duxjmn4/X8tdOA==","shasum":"21a64c30139fd88155a493cafbfbd46175e3a322","tarball":"https://registry.npmjs.org/@azure-rest/core-client-paging/-/core-client-paging-1.0.0-alpha.20210702.4.tgz","fileCount":14,"unpackedSize":34608,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg32HvCRA9TVsSAnZWagAA/wUP/ityLiGbsB7fqW/BgC8F\nvDE/C+8GDxB15TcKhaFX6vN5mfkM2Sdf2s+j8FfSSEqQkuHmzdaOsrH4akYI\nctCf2qwfUMey+s5z+/c4jPn2LdEjNc7mJY/x+y+PpXakr5tR2H8lVEpQuXha\nLWYBpDA3CNmg3DqlwMZxTA6XbQ413g46ab+BvMpraE5RLma7KIqPMQMS/7PS\nFWpFYIAbQS/zMSJeUk58LTIxNRvjujKbdCiS6ewPvduMDcaRGllbVq455+Hl\nvwBICgvBi4ZhAugzPdejSAUXXR9Kp0+cSZbdcg60rOSpZlII6bwQ1BjpmalI\n4pFro+oyjri+eXXtnNX8gs9lwO293/QMgy3JTJhANCtpG1abX0GhrlhtNJCy\nnDpQXYeEOUMPr5syo/lRnbX1+86RjIpxC74QUy896uaWUcdxYWrSqAe3WF6Y\nSH6h15732wkwLr+RUH1rOtV32cf2/h1v64GtOBLPAdvqthmu/taN5j4X32DU\nP+816ba0w+F5RE/zQ7d8z6PAkS5aAJYoMTF+nFd/+e0drs59nCmZIdOl16Xk\nC+LaenEyle98gIgCgW55KVSxV/h+GKs14wzEwXfEk+GOuxqtvGJSopxFYx7X\nyfXrjtFGpCv1yWSru2MUTcLxpiDOO388eYsnwYDFJe0O75x3inu+ssx8D4Ee\nOCLf\r\n=5nEZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEonMgOLkO6C0dcwdg1pYoeSQ1pp4wsTIyDnG/Uuzq1MAiEAoWg6dCiKzpisO47uW20VjE+0lT9BcZipDD8BccF+9iw="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-client-paging_1.0.0-alpha.20210702.4_1625252334591_0.6382166951970538"},"_hasShrinkwrap":false,"deprecated":"Please use @azure/core-paging"},"1.0.0-alpha.20210713.1":{"name":"@azure-rest/core-client-paging","version":"1.0.0-alpha.20210713.1","description":"A helper library which implements Autorest x-ms-pageable spec for pagination.","sdk-type":"client","main":"dist/index.js","module":"dist-esm/src/index.js","types":"types/latest/core-client-paging-rest.d.ts","browser":{"./dist-esm/src/url.js":"./dist-esm/src/url.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:samples":"echo Obsolete","build:test":"tsc -p . && rollup -c 2>&1","build":"tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-* temp types *.tgz *.log","docs":"typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src","execute:samples":"echo skipped","extract-api":"tsc -p . && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","integration-test:browser":"echo skipped","integration-test:node":"echo skipped","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","prebuild":"npm run clean","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser","test:node":"npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node","test":"npm run clean && tsc -p . && npm run unit-test:node && rollup -c 2>&1 && npm run unit-test:browser && npm run integration-test","unit-test:browser":"karma start --single-run","unit-test:node":"mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser"},"repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"keywords":["azure","cloud"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"homepage":"https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/","sideEffects":false,"prettier":"@azure/eslint-plugin-azure-sdk/prettier.json","dependencies":{"@azure/core-paging":"^1.1.1","@azure/core-rest-pipeline":"^1.1.0","@azure-rest/core-client":"^1.0.0-alpha","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"7.13.2","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","@azure/eslint-plugin-azure-sdk":"^3.0.0-alpha","@azure/dev-tool":"^1.0.0-alpha","chai":"^4.2.0","cross-env":"^7.0.2","eslint":"^7.15.0","inherits":"^2.0.3","karma":"^6.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-junit-reporter":"^2.0.1","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.8","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","sinon":"^9.0.2","typescript":"~4.2.0","util":"^0.12.1","typedoc":"0.15.2"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-alpha.20210713.1.tgz","readme":"# Azure Rest Core Paging library for JavaScript (Experimental)\n\nThis library is primarily intended to be used in code generated by [AutoRest](https://github.com/Azure/Autorest) and [`autorest.typescript`](https://github.com/Azure/autorest.typescript). Specifically for rest level clients, as a helper to handle Pageable operations. This package implements support for Autorest `x-ms-pageable` specification.\n\n## Getting started\n\n### Requirements\n\n- [Node.js](https://nodejs.org) LTS\n\n### Installation\n\nThis package is primarily used in generated code and not meant to be consumed directly by end users.\n\n## Key concepts\n\n### Helper function `paginateResponse`\n\nPaginate response is a helper function to handle pagination for the user. Given a response that contains a body with a link to the next page and an array with the current page of results, this helper returns a PagedAsyncIterableIterator that can be used to get all the items or page by page.\n\nIn order to provide better typings, the library that consumes `paginateResponse` can wrap it providing additional types. For example a code generator may consume and export in the following way\n\n#### Typescript\n\n```typescript\n/**\n * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be\n * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a\n * hand written library.\n */\nexport function paginate<TReturn extends PathUncheckedResponse>(\n  client: Client,\n  initialResponse: TReturn\n): PagedAsyncIterableIterator<PaginateReturn<TReturn>, PaginateReturn<TReturn>[]> {\n  return paginateResponse<PaginateReturn<TReturn>>(client, initialResponse, {\n    // For example these values could come from the swagger\n    itemName: \"items\",\n    nextLinkName: \"continuationLink\",\n  });\n}\n\n// Helper type to extract the type of an array\ntype GetArrayType<T> = T extends Array<infer TData> ? TData : never;\n\n// Helper type to infer the Type of the paged elements from the response type\n// This type will be generated based on the swagger information for x-ms-pageable\n// specifically on the itemName property which indicates the property of the response\n// where the page items are found. The default value is `value`.\n// This type will allow us to provide strongly  typed Iterator based on the response we get as second parameter\nexport type PaginateReturn<TResult> = TResult extends {\n  body: { items: infer TPage };\n}\n  ? GetArrayType<TPage>\n  : Array<unknown>;\n\n// Usage\nconst client = Client(\"https://example.org\", new DefaultAzureCredentials());\n\nconst response = client.path(\"/foo\").get();\nconst items = paginate(client, response);\n\nfor await (const item of items) {\n  console.log(item.name);\n}\n```\n\n#### JavaScript\n\n```javascript\n/**\n * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be\n * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a\n * hand written library.\n */\nexport function paginate(client, initialResponse) {\n  return paginateResponse(client, initialResponse, {\n    // For example these values could come from the swagger\n    itemName: \"items\",\n    nextLinkName: \"continuationLink\",\n  });\n}\n\n// Usage\nconst client = Client(\"https://example.org\", new DefaultAzureCredentials());\n\nconst response = client.path(\"/foo\").get();\nconst items = paginate(client, response);\n\nfor await (const item of items) {\n  console.log(item.name);\n}\n```\n\n## Examples\n\nExamples can be found in the `samples` folder.\n\n## Next steps\n\nYou can build and run the tests locally by executing `rushx test`. Explore the `test` folder to see advanced usage and behavior of the public classes.\n\nLearn more about [AutoRest](https://github.com/Azure/autorest) and the [autorest.typescript extension](https://github.com/Azure/autorest.typescript) for generating a compatible client on top of this package.\n\n## Troubleshooting\n\nIf you run into issues while using this library, please feel free to [file an issue](https://github.com/Azure/azure-sdk-for-js/issues/new).\n\n## Contributing\n\nIf you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code.\n\n![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore-rest%2Fcore-client%2FREADME.png)\n","readmeFilename":"README.md","_id":"@azure-rest/core-client-paging@1.0.0-alpha.20210713.1","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-qo7XEBujpV+XbO7i9NEjPm4m236KmcLGwY5PAVLc1yBFy9AP46PjW3Cgjx07lsa/bkSsASjluH9P9THWZG7tdg==","shasum":"beeaaaa1c894d6ad5f42b6f0cd4ef13f11119a00","tarball":"https://registry.npmjs.org/@azure-rest/core-client-paging/-/core-client-paging-1.0.0-alpha.20210713.1.tgz","fileCount":14,"unpackedSize":34695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7d4WCRA9TVsSAnZWagAAlLMP/1IXzIDFmFjkn/wdCP18\nbeotNbAMzioC1wBXHTC9a2nrJhGQNTZrzw+UwRk53oG2yYFKKVndsMOeBcNG\ncswEvmdvaoQH/UDRiycCYvk7uF673wNsBQKt0zzTGDB38utscuPQJnJaX6jr\nA5+QUiy32/wmPj6dgf4yyxfNGg8F2piAjIxj1dlgUKTYyMEH+2MnP9nFVIlp\nE2KtU/TpziSCy4KPEvK0xh7DQiTBzbmKMIJVtBwZEsyLuDsCrzzOw6go2Q+k\nwX/OmdZm+zVdWBWMVkuLai8waRQuw5l02wrY4+AVXNC4/RHbChG0wqW/FdC9\nNNGACY+SOp2FlmpnN3/PHknSPAbFw4EreztZBb8raiVk8wmw3pYvKVObB2Up\nL+bMZ3oaZVGDQinQUU7416JVQPZL/57A9DncPxcHvki75LccIHo30ZK0TUER\nE//5GfT+jx3kC5UO5U8/1AVlAhk9+tODcbcJSuHIxGAsWVXPamgOibXDVkcO\nvUN5A7TV0IxL88GD9x1QInMpUF6buYqg2MdkaavHHjfBe60Zoe0A8m9Wpj1b\nCU5qHNRMh4IFeqjwRHbWCcsOsaXZAyt6R+wp4Lt6QYqcsw5S17BMfCeeV72i\nTp2papDmhQn04cxKOcDd9+diqPZLqNb0wrSSTLYlGTx5RL2a57EDp1oqeTKw\nRH/L\r\n=qBck\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGwxp4L4DQqv58LiaQys8qEVdBxuc26162MVafdS4C7oAiEA9Ism+7Htj98wxxuGTLDc4nv2NWraKS3nR2CE/Xy7p9g="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-client-paging_1.0.0-alpha.20210713.1_1626201621792_0.35823752286297283"},"_hasShrinkwrap":false,"deprecated":"Please use @azure/core-paging"},"1.0.0-beta.1":{"name":"@azure-rest/core-client-paging","version":"1.0.0-beta.1","description":"A helper library which implements Autorest x-ms-pageable spec for pagination.","sdk-type":"client","main":"dist/index.js","module":"dist-esm/src/index.js","types":"types/latest/core-client-paging-rest.d.ts","browser":{"./dist-esm/src/url.js":"./dist-esm/src/url.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:samples":"echo Obsolete","build:test":"tsc -p . && rollup -c 2>&1","build":"tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-* temp types *.tgz *.log","docs":"typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src","execute:samples":"echo skipped","extract-api":"tsc -p . && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","integration-test:browser":"echo skipped","integration-test:node":"echo skipped","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","prebuild":"npm run clean","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser","test:node":"npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node","test":"npm run clean && tsc -p . && npm run unit-test:node && rollup -c 2>&1 && npm run unit-test:browser && npm run integration-test","unit-test:browser":"karma start --single-run","unit-test:node":"mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser"},"repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"keywords":["azure","cloud"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"homepage":"https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/","sideEffects":false,"prettier":"@azure/eslint-plugin-azure-sdk/prettier.json","dependencies":{"@azure/core-paging":"^1.1.1","@azure/core-rest-pipeline":"^1.1.0","@azure-rest/core-client":"1.0.0-beta.6","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"7.13.2","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","@azure/eslint-plugin-azure-sdk":"^3.0.0","@azure/dev-tool":"^1.0.0","chai":"^4.2.0","cross-env":"^7.0.2","eslint":"^7.15.0","inherits":"^2.0.3","karma":"^6.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-junit-reporter":"^2.0.1","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.8","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","sinon":"^9.0.2","typescript":"~4.2.0","util":"^0.12.1","typedoc":"0.15.2"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-beta.1.tgz","_id":"@azure-rest/core-client-paging@1.0.0-beta.1","_nodeVersion":"14.17.4","_npmVersion":"6.14.14","dist":{"integrity":"sha512-khy3o4inJJL0Hz21TGrpcL0Zxiw8BI62+uIVkeiAo0hAaJ6JEl7AM5KOrebSmQDqx7CErVbdVSvQQNeuToSlcw==","shasum":"37f40427ceeec3444e584e501ece3193d18a9cd7","tarball":"https://registry.npmjs.org/@azure-rest/core-client-paging/-/core-client-paging-1.0.0-beta.1.tgz","fileCount":15,"unpackedSize":36272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDIw/CRA9TVsSAnZWagAAH6MP/RVWnvltNcxIcABDbAAi\ngn+guh90EEYnEervCdrEEX8jdg0GWeS8yCSsfT65R3YE03oZlkNzQVQjMg9y\nMSrTGl0eAxjXKUtcVDGnPm3D7zWTe0e2m+QyiA6oZkDqhz//w33Gbz+c5VkQ\nmNRTrikhx8tA1zFKlI1qP/OeKR16P+imBZ9qbjDBDOw/qpEYve7/vZvGLmTi\nbqVna1BMdJtJlo+1hOEu6wEMvZmbRYhXDfZsa5emLGtYd095eiuXkFHrd2x6\nHjAb2i4okeWN1w9TS2SYh5N6K1oSrcG0rd/GWay/2Zucgdrp/27iWizMqJzX\nDWa6VRASOMwNFVreE5kx2Mag6lyqUywVhNA/uy1EjCTy449Pt2RhNkymRCaJ\n3oUtbcAqhLek0qfghul0I+X+Omh+NuKisI17CtcVknqkFCvwJR9cxcz+xvBG\nw6h+5Fv0V5wee61qN2l7QEBydrRLNUzOVaCEgp3tKknvlH67fXuytVZgp6wW\nBqviSZMKuNj/6sQTeTDQ2I3TKz/8hEM5haFwUfDVsuNfWP/mv7udRLm9WdUC\nyU96x/dJ/GItGzWTW38H9QlJuhsIakpAiajfm8gXlH0rGKBo6WgtKQMiEANn\nGhw2ODQiLPn8zSamDa/CvC3Km4YPsJyrMeBa8ReGjBFnN2mvdLmsf1jL1e5O\nrzH9\r\n=FWbS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDFmonPbNgGbp07shpGCk2dDS5vrfkvnERKcvdCIRLZ3AiEAuno70eYOSGbfuoDM6uwxTDypUMDlhP3b5uO0LjsqWho="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-client-paging_1.0.0-beta.1_1628212287458_0.39454667388053166"},"_hasShrinkwrap":false,"deprecated":"Please use @azure/core-paging"},"1.0.0-alpha.20210809.2":{"name":"@azure-rest/core-client-paging","version":"1.0.0-alpha.20210809.2","description":"A helper library which implements Autorest x-ms-pageable spec for pagination.","sdk-type":"client","main":"dist/index.js","module":"dist-esm/src/index.js","types":"types/latest/core-client-paging-rest.d.ts","browser":{"./dist-esm/src/url.js":"./dist-esm/src/url.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:samples":"echo Obsolete","build:test":"tsc -p . && rollup -c 2>&1","build":"tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-* temp types *.tgz *.log","docs":"typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src","execute:samples":"echo skipped","extract-api":"tsc -p . && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","integration-test:browser":"echo skipped","integration-test:node":"echo skipped","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","prebuild":"npm run clean","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser","test:node":"npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node","test":"npm run clean && tsc -p . && npm run unit-test:node && rollup -c 2>&1 && npm run unit-test:browser && npm run integration-test","unit-test:browser":"karma start --single-run","unit-test:node":"mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser"},"repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"keywords":["azure","cloud"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"homepage":"https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/","sideEffects":false,"prettier":"@azure/eslint-plugin-azure-sdk/prettier.json","dependencies":{"@azure/core-paging":"^1.1.1","@azure/core-rest-pipeline":"^1.1.0","@azure-rest/core-client":"1.0.0-beta.6","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"7.13.2","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","@azure/eslint-plugin-azure-sdk":"^3.0.0-alpha","@azure/dev-tool":"^1.0.0-alpha","chai":"^4.2.0","cross-env":"^7.0.2","eslint":"^7.15.0","inherits":"^2.0.3","karma":"^6.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-junit-reporter":"^2.0.1","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.8","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","sinon":"^9.0.2","typescript":"~4.2.0","util":"^0.12.1","typedoc":"0.15.2"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-alpha.20210809.2.tgz","readme":"# Azure Rest Core Paging library for JavaScript (Experimental)\n\nThis library is primarily intended to be used in code generated by [AutoRest](https://github.com/Azure/Autorest) and [`autorest.typescript`](https://github.com/Azure/autorest.typescript). Specifically for rest level clients, as a helper to handle Pageable operations. This package implements support for Autorest `x-ms-pageable` specification.\n\n## Getting started\n\n### Requirements\n\n- [Node.js](https://nodejs.org) LTS\n\n### Installation\n\nThis package is primarily used in generated code and not meant to be consumed directly by end users.\n\n## Key concepts\n\n### Helper function `paginateResponse`\n\nPaginate response is a helper function to handle pagination for the user. Given a response that contains a body with a link to the next page and an array with the current page of results, this helper returns a PagedAsyncIterableIterator that can be used to get all the items or page by page.\n\nIn order to provide better typings, the library that consumes `paginateResponse` can wrap it providing additional types. For example a code generator may consume and export in the following way\n\n#### Typescript\n\n```typescript\n/**\n * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be\n * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a\n * hand written library.\n */\nexport function paginate<TReturn extends PathUncheckedResponse>(\n  client: Client,\n  initialResponse: TReturn\n): PagedAsyncIterableIterator<PaginateReturn<TReturn>, PaginateReturn<TReturn>[]> {\n  return paginateResponse<PaginateReturn<TReturn>>(client, initialResponse, {\n    // For example these values could come from the swagger\n    itemName: \"items\",\n    nextLinkName: \"continuationLink\",\n  });\n}\n\n// Helper type to extract the type of an array\ntype GetArrayType<T> = T extends Array<infer TData> ? TData : never;\n\n// Helper type to infer the Type of the paged elements from the response type\n// This type will be generated based on the swagger information for x-ms-pageable\n// specifically on the itemName property which indicates the property of the response\n// where the page items are found. The default value is `value`.\n// This type will allow us to provide strongly  typed Iterator based on the response we get as second parameter\nexport type PaginateReturn<TResult> = TResult extends {\n  body: { items: infer TPage };\n}\n  ? GetArrayType<TPage>\n  : Array<unknown>;\n\n// Usage\nconst client = Client(\"https://example.org\", new DefaultAzureCredentials());\n\nconst response = client.path(\"/foo\").get();\nconst items = paginate(client, response);\n\nfor await (const item of items) {\n  console.log(item.name);\n}\n```\n\n#### JavaScript\n\n```javascript\n/**\n * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be\n * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a\n * hand written library.\n */\nexport function paginate(client, initialResponse) {\n  return paginateResponse(client, initialResponse, {\n    // For example these values could come from the swagger\n    itemName: \"items\",\n    nextLinkName: \"continuationLink\",\n  });\n}\n\n// Usage\nconst client = Client(\"https://example.org\", new DefaultAzureCredentials());\n\nconst response = client.path(\"/foo\").get();\nconst items = paginate(client, response);\n\nfor await (const item of items) {\n  console.log(item.name);\n}\n```\n\n## Examples\n\nExamples can be found in the `samples` folder.\n\n## Next steps\n\nYou can build and run the tests locally by executing `rushx test`. Explore the `test` folder to see advanced usage and behavior of the public classes.\n\nLearn more about [AutoRest](https://github.com/Azure/autorest) and the [autorest.typescript extension](https://github.com/Azure/autorest.typescript) for generating a compatible client on top of this package.\n\n## Troubleshooting\n\nIf you run into issues while using this library, please feel free to [file an issue](https://github.com/Azure/azure-sdk-for-js/issues/new).\n\n## Contributing\n\nIf you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code.\n\n![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore-rest%2Fcore-client%2FREADME.png)\n","readmeFilename":"README.md","_id":"@azure-rest/core-client-paging@1.0.0-alpha.20210809.2","_nodeVersion":"14.17.4","_npmVersion":"6.14.14","dist":{"integrity":"sha512-gnGbcWdWUUQJJLxv30kKrbz7Mta230G2tp0U/yiM5ujSfm0PwNJ3vE5u96A78WyUMmQooX4eYHpYyzZBdo2eSw==","shasum":"b327fdf15ce30fb4812bb009f89c181b95a850d6","tarball":"https://registry.npmjs.org/@azure-rest/core-client-paging/-/core-client-paging-1.0.0-alpha.20210809.2.tgz","fileCount":15,"unpackedSize":36401,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEXj1CRA9TVsSAnZWagAA6o0P/RNF0rm/wHDA97ix2JCh\njfvNu6t0grJQtVunbweeeFvxlxBB6yhSFrbPGyob+KR4VCAkokvLzAhjzVqS\n4BpJxtDrkRxc6Yk+bF4AGGO6pRrxpo13Wr79SywyphKS8Vn5NNCLV6CTa+jt\nSVZaZX1nYj0xaY7AMWKBjK3TqMzXWJzZS/1e/DPRPuRwalejnXh6dPL8+6My\n1Ka2Tl2sA3cCKaASi9WsR6MeWipQLQPg6VhDtAoFkTfvWWt5jKyAyc2L5O2J\nEUbW8lnebKhxy4Tuhcqhl3dORNoG1R/DsK4D+EfknOrHlkFNnojyomROHAj4\n114ifjFgXIDyJd8rSch6r2rQT+S9FYJIzGvLNXWTubwcpkHUAd7eNNhSCtSZ\nOB7rrYItnNFxPclnF9wN4AfEf3CvjC4V9SSBPTeWob181VMHJQtzK+X4K96r\n9eXuzzOXBiTiCb4XXr2+6cuRvl9oneAe2q1GuJSuJJzpLYoxLOxB+gJrXdAd\nu92VcgumoltC2yGll4Xw4l9bwCgQ+PfaL7ObuFLYaHJ3/6aMZcbSpTsDZCew\nABeIpNtG9MXLsuYW3zJhmRS00yal4j4mgST1zxAYFpYCG1u65f0qTw+GNZlC\nsAv37G6sMeJiQkSnoN8etl6odzzavDtNKchtqY35067E7DZYJVcwotbRxxQv\nOOwg\r\n=uIhf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBTNIfbtY2w+aYGZBOCk2f/ztpLPWdcLoiDCYZ9uLu/GAiBkG9rhB1dVeARXtysRIxFVP5QQR+vl+7s0+ryjeVrm/A=="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-client-paging_1.0.0-alpha.20210809.2_1628535029614_0.431670060495152"},"_hasShrinkwrap":false,"deprecated":"Please use @azure/core-paging"},"1.0.0-alpha.20210816.6":{"name":"@azure-rest/core-client-paging","version":"1.0.0-alpha.20210816.6","description":"A helper library which implements Autorest x-ms-pageable spec for pagination.","sdk-type":"client","main":"dist/index.js","module":"dist-esm/src/index.js","types":"types/latest/core-client-paging-rest.d.ts","browser":{"./dist-esm/src/url.js":"./dist-esm/src/url.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:samples":"echo Obsolete","build:test":"tsc -p . && rollup -c 2>&1","build":"tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-* temp types *.tgz *.log","docs":"typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src","execute:samples":"echo skipped","extract-api":"tsc -p . && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\"","integration-test:browser":"echo skipped","integration-test:node":"echo skipped","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","prebuild":"npm run clean","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser","test:node":"npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node","test":"npm run clean && tsc -p . && npm run unit-test:node && rollup -c 2>&1 && npm run unit-test:browser && npm run integration-test","unit-test:browser":"karma start --single-run","unit-test:node":"mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser"},"repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"keywords":["azure","cloud"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"homepage":"https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/","sideEffects":false,"prettier":"@azure/eslint-plugin-azure-sdk/prettier.json","dependencies":{"@azure/core-paging":">=1.2.0-alpha <1.2.0-alphb","@azure/core-rest-pipeline":"^1.1.0","@azure-rest/core-client":"1.0.0-beta.6","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"7.13.2","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","chai":"^4.2.0","cross-env":"^7.0.2","eslint":"^7.15.0","inherits":"^2.0.3","karma":"^6.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-junit-reporter":"^2.0.1","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.8","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","sinon":"^9.0.2","typescript":"~4.2.0","util":"^0.12.1","typedoc":"0.15.2"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-alpha.20210816.6.tgz","readme":"# Azure Rest Core Paging library for JavaScript (Experimental)\n\nThis library is primarily intended to be used in code generated by [AutoRest](https://github.com/Azure/Autorest) and [`autorest.typescript`](https://github.com/Azure/autorest.typescript). Specifically for rest level clients, as a helper to handle Pageable operations. This package implements support for Autorest `x-ms-pageable` specification.\n\n## Getting started\n\n### Requirements\n\n- [Node.js](https://nodejs.org) LTS\n\n### Installation\n\nThis package is primarily used in generated code and not meant to be consumed directly by end users.\n\n## Key concepts\n\n### Helper function `paginateResponse`\n\nPaginate response is a helper function to handle pagination for the user. Given a response that contains a body with a link to the next page and an array with the current page of results, this helper returns a PagedAsyncIterableIterator that can be used to get all the items or page by page.\n\nIn order to provide better typings, the library that consumes `paginateResponse` can wrap it providing additional types. For example a code generator may consume and export in the following way\n\n#### Typescript\n\n```typescript\n/**\n * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be\n * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a\n * hand written library.\n */\nexport function paginate<TReturn extends PathUncheckedResponse>(\n  client: Client,\n  initialResponse: TReturn\n): PagedAsyncIterableIterator<PaginateReturn<TReturn>, PaginateReturn<TReturn>[]> {\n  return paginateResponse<PaginateReturn<TReturn>>(client, initialResponse, {\n    // For example these values could come from the swagger\n    itemName: \"items\",\n    nextLinkName: \"continuationLink\",\n  });\n}\n\n// Helper type to extract the type of an array\ntype GetArrayType<T> = T extends Array<infer TData> ? TData : never;\n\n// Helper type to infer the Type of the paged elements from the response type\n// This type will be generated based on the swagger information for x-ms-pageable\n// specifically on the itemName property which indicates the property of the response\n// where the page items are found. The default value is `value`.\n// This type will allow us to provide strongly  typed Iterator based on the response we get as second parameter\nexport type PaginateReturn<TResult> = TResult extends {\n  body: { items: infer TPage };\n}\n  ? GetArrayType<TPage>\n  : Array<unknown>;\n\n// Usage\nconst client = Client(\"https://example.org\", new DefaultAzureCredentials());\n\nconst response = client.path(\"/foo\").get();\nconst items = paginate(client, response);\n\nfor await (const item of items) {\n  console.log(item.name);\n}\n```\n\n#### JavaScript\n\n```javascript\n/**\n * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be\n * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a\n * hand written library.\n */\nexport function paginate(client, initialResponse) {\n  return paginateResponse(client, initialResponse, {\n    // For example these values could come from the swagger\n    itemName: \"items\",\n    nextLinkName: \"continuationLink\",\n  });\n}\n\n// Usage\nconst client = Client(\"https://example.org\", new DefaultAzureCredentials());\n\nconst response = client.path(\"/foo\").get();\nconst items = paginate(client, response);\n\nfor await (const item of items) {\n  console.log(item.name);\n}\n```\n\n## Examples\n\nExamples can be found in the `samples` folder.\n\n## Next steps\n\nYou can build and run the tests locally by executing `rushx test`. Explore the `test` folder to see advanced usage and behavior of the public classes.\n\nLearn more about [AutoRest](https://github.com/Azure/autorest) and the [autorest.typescript extension](https://github.com/Azure/autorest.typescript) for generating a compatible client on top of this package.\n\n## Troubleshooting\n\nIf you run into issues while using this library, please feel free to [file an issue](https://github.com/Azure/azure-sdk-for-js/issues/new).\n\n## Contributing\n\nIf you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code.\n\n![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore-rest%2Fcore-client%2FREADME.png)\n","readmeFilename":"README.md","_id":"@azure-rest/core-client-paging@1.0.0-alpha.20210816.6","_nodeVersion":"14.17.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-Abrrk9EFoDudoEfcWdvDAfswmEmSvQlQ5mF8YS553Kkq+NIxtLRBvS6urk//OeorM4XLK6sC+ZJOoPGA3wEDQA==","shasum":"103709abeb286f82b274d49593fea4c4468c058f","tarball":"https://registry.npmjs.org/@azure-rest/core-client-paging/-/core-client-paging-1.0.0-alpha.20210816.6.tgz","fileCount":15,"unpackedSize":31863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhGrQzCRA9TVsSAnZWagAAB6kQAJSbedH0jiBFqSwGgvj8\nmG+FNhq+mamb31PWp3CYB7giOdcmOQwtKb3xMPsG+XxsLQPX2oEZY/r1UqXj\nLblI0NrNxJ5OOhxVokl6/z+rG6E74M//POplSUphKjuY7zZ+yMl048obkvY+\nc8VNPVxzzguDIBJoFpOHn4AyIoLqTw4Qe/KHWLjWai7gaG4AuNmLqY762V6r\n/EC8HkHsps8wazOa/csMAoo9LWtsX/j170zemqXMGYkDFerxqhBoI6j/RB6S\nuBbhnkD6f/jPEtZ4lYNpuDdvLiBS1UBnC3nYUAl+DyYclhXumfcAJ7SEV3Fi\n2dzt9/vEgiOfXyZCaau1B850ilZ2+LFRFHS+o5sf5jgcboiXja/GS61Zjs2j\nnFekZqoxPn4m5MPuJT1ZkKB+HRRMkc91i9m+pFZI5V7Q4V9Mzt20poQJuGbp\nzHS/5Nm2T33zyHsFm4cWCVevp4XLqg1WFfwkiODy/IXMBmS57Li6k9rqAXIQ\nsmJnkhdNb4F0bj/b5q3OxA0syD3ifSlchhXr3tI0zlIOYnHfJSuoWeyAhLbo\nk+HM7QQcII36wBPXzW81Y6OmGKa1jFNyHZQXpuojsgo25kHYby4XUwvtnjx2\nB7o5QaCPCf2tZqMVcdWA0vLaJIx0vOno+2vJfrgJDBeU1Zv95XSr9+CSDCxj\negfz\r\n=nTOo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICmgQ9sV1EyVWuQZTbmh9oiDwPvTg4G2cQIsROovlzTiAiEAoRNGBcxYQkbhGosd1MkAfFlE/T3eSPwl5aOIEmX9V6w="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-client-paging_1.0.0-alpha.20210816.6_1629140019624_0.11240515237077875"},"_hasShrinkwrap":false,"deprecated":"Please use @azure/core-paging"},"1.0.0-alpha.20210820.2":{"name":"@azure-rest/core-client-paging","version":"1.0.0-alpha.20210820.2","description":"A helper library which implements Autorest x-ms-pageable spec for pagination.","sdk-type":"client","main":"dist/index.js","module":"dist-esm/src/index.js","types":"types/latest/core-client-paging-rest.d.ts","browser":{"./dist-esm/src/url.js":"./dist-esm/src/url.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:samples":"echo Obsolete","build:test":"tsc -p . && rollup -c 2>&1","build":"tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-* temp types *.tgz *.log","docs":"typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src","execute:samples":"echo skipped","extract-api":"tsc -p . && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\"","integration-test:browser":"echo skipped","integration-test:node":"echo skipped","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","prebuild":"npm run clean","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser","test:node":"npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node","test":"npm run clean && tsc -p . && npm run unit-test:node && rollup -c 2>&1 && npm run unit-test:browser && npm run integration-test","unit-test:browser":"karma start --single-run","unit-test:node":"mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser"},"repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"keywords":["azure","cloud"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"homepage":"https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/","sideEffects":false,"prettier":"@azure/eslint-plugin-azure-sdk/prettier.json","dependencies":{"@azure/core-paging":">=1.2.0-alpha <1.2.0-alphb","@azure/core-rest-pipeline":"^1.1.0","@azure-rest/core-client":"1.0.0-beta.6","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"7.13.2","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","chai":"^4.2.0","cross-env":"^7.0.2","eslint":"^7.15.0","inherits":"^2.0.3","karma":"^6.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-junit-reporter":"^2.0.1","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.8","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","sinon":"^9.0.2","typescript":"~4.2.0","util":"^0.12.1","typedoc":"0.15.2"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-alpha.20210820.2.tgz","readme":"# Azure Rest Core Paging library for JavaScript (Experimental)\n\nThis library is primarily intended to be used in code generated by [AutoRest](https://github.com/Azure/Autorest) and [`autorest.typescript`](https://github.com/Azure/autorest.typescript). Specifically for rest level clients, as a helper to handle Pageable operations. This package implements support for Autorest `x-ms-pageable` specification.\n\n## Getting started\n\n### Requirements\n\n- [Node.js](https://nodejs.org) LTS\n\n### Installation\n\nThis package is primarily used in generated code and not meant to be consumed directly by end users.\n\n## Key concepts\n\n### Helper function `paginateResponse`\n\nPaginate response is a helper function to handle pagination for the user. Given a response that contains a body with a link to the next page and an array with the current page of results, this helper returns a PagedAsyncIterableIterator that can be used to get all the items or page by page.\n\nIn order to provide better typings, the library that consumes `paginateResponse` can wrap it providing additional types. For example a code generator may consume and export in the following way\n\n#### Typescript\n\n```typescript\n/**\n * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be\n * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a\n * hand written library.\n */\nexport function paginate<TReturn extends PathUncheckedResponse>(\n  client: Client,\n  initialResponse: TReturn\n): PagedAsyncIterableIterator<PaginateReturn<TReturn>, PaginateReturn<TReturn>[]> {\n  return paginateResponse<PaginateReturn<TReturn>>(client, initialResponse, {\n    // For example these values could come from the swagger\n    itemName: \"items\",\n    nextLinkName: \"continuationLink\",\n  });\n}\n\n// Helper type to extract the type of an array\ntype GetArrayType<T> = T extends Array<infer TData> ? TData : never;\n\n// Helper type to infer the Type of the paged elements from the response type\n// This type will be generated based on the swagger information for x-ms-pageable\n// specifically on the itemName property which indicates the property of the response\n// where the page items are found. The default value is `value`.\n// This type will allow us to provide strongly  typed Iterator based on the response we get as second parameter\nexport type PaginateReturn<TResult> = TResult extends {\n  body: { items: infer TPage };\n}\n  ? GetArrayType<TPage>\n  : Array<unknown>;\n\n// Usage\nconst client = Client(\"https://example.org\", new DefaultAzureCredentials());\n\nconst response = client.path(\"/foo\").get();\nconst items = paginate(client, response);\n\nfor await (const item of items) {\n  console.log(item.name);\n}\n```\n\n#### JavaScript\n\n```javascript\n/**\n * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be\n * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a\n * hand written library.\n */\nexport function paginate(client, initialResponse) {\n  return paginateResponse(client, initialResponse, {\n    // For example these values could come from the swagger\n    itemName: \"items\",\n    nextLinkName: \"continuationLink\",\n  });\n}\n\n// Usage\nconst client = Client(\"https://example.org\", new DefaultAzureCredentials());\n\nconst response = client.path(\"/foo\").get();\nconst items = paginate(client, response);\n\nfor await (const item of items) {\n  console.log(item.name);\n}\n```\n\n## Examples\n\nExamples can be found in the `samples` folder.\n\n## Next steps\n\nYou can build and run the tests locally by executing `rushx test`. Explore the `test` folder to see advanced usage and behavior of the public classes.\n\nLearn more about [AutoRest](https://github.com/Azure/autorest) and the [autorest.typescript extension](https://github.com/Azure/autorest.typescript) for generating a compatible client on top of this package.\n\n## Troubleshooting\n\nIf you run into issues while using this library, please feel free to [file an issue](https://github.com/Azure/azure-sdk-for-js/issues/new).\n\n## Contributing\n\nIf you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code.\n\n![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore-rest%2Fcore-client%2FREADME.png)\n","readmeFilename":"README.md","_id":"@azure-rest/core-client-paging@1.0.0-alpha.20210820.2","_nodeVersion":"14.17.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-kSV8d/ry5nPl/gkZU8i/ZirETYQNL9b40Iuwc2R6gksfUFRT4uiRG9Bas8/INN42yrgcwED/xYP1uxA38B3rqw==","shasum":"f4ca79d33443189e58d261cc7d9a80e751ca3ab3","tarball":"https://registry.npmjs.org/@azure-rest/core-client-paging/-/core-client-paging-1.0.0-alpha.20210820.2.tgz","fileCount":15,"unpackedSize":38419,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhH/lECRA9TVsSAnZWagAAIGoP/2s562PA3xBcdyz2WacN\nkW13DLdqirih6jWNGY2ALhjAUeydkLkcF/nxA30sh4qq6GztVzKBkcRgqRER\nJe5PmO69Oqa/YJeOeqBmcAFFbNB6lhawyjAy4hR4DYE+h3WuJvv7/o5DcCI0\n9oUC167PQ5BfuK3mYTxoNJ5wEl47oxuDvOb8aWUmXHf13TDsMktsXM+FIpo5\niv4RV5WysUdmxVBZO7NxCp3x02sH3D2pgSDcRYzVcjUkizOIWAP5VSh6tMDo\ntCGtX+RixdbYo7Mkxj3v/YgiLZp8iyJ8NW8UZBUhVcUSv0IKxh7yUiP5Kn6U\nVsfFdvJBLc/RvJz+GgyOgblpaSbOt6X3pL3X2nmKEZ/mf5qnHbBJNuhFZ0Dn\nQEBgfasupkAcECGXME+rVel6Uxtaxk+nXeMAwIc8xHVX3IvJJbkbDUcyjaQa\n3017LxudY2IGmBghJmhQNMm3KB/y9lpcS3xukrNVnAkPk5sHKTaTDwFTneiV\nQAHk4TPG8IoZPGChiWorPARZMCP9hnGbQs9JdN9fsmgyuKtLUFQ542csHKcs\nDGbg/a6w9IwPLDezsj4PRIzlA+WDB2DQNVGFuPWup12pR408K0OI6jNqk2pz\n1JCfY9fUjH3NdihHTfPA2EMmV/ziz6JCi7e7jkx+OfjCuZz0wkw7bw7hjIDo\nybjg\r\n=YP0W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCl5hS6K5tnizrNqhiW57cEot7HwXTKT1JC45cOWK9pkwIgCP/7yTuUUcDe22/inJU3nw7+5lyYJNMg0cYujZZClTY="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-client-paging_1.0.0-alpha.20210820.2_1629485380254_0.5077693131599164"},"_hasShrinkwrap":false,"deprecated":"Please use @azure/core-paging"},"1.0.0-alpha.20210830.2":{"name":"@azure-rest/core-client-paging","version":"1.0.0-alpha.20210830.2","description":"A helper library which implements Autorest x-ms-pageable spec for pagination.","sdk-type":"client","main":"dist/index.js","module":"dist-esm/src/index.js","types":"types/latest/core-client-paging-rest.d.ts","browser":{"./dist-esm/src/url.js":"./dist-esm/src/url.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:samples":"echo Obsolete","build:test":"tsc -p . && rollup -c 2>&1","build":"npm run clean && tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-* temp types *.tgz *.log","docs":"typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src","execute:samples":"echo skipped","extract-api":"tsc -p . && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\"","integration-test:browser":"echo skipped","integration-test:node":"echo skipped","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser","test:node":"npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node","test":"npm run clean && tsc -p . && npm run unit-test:node && rollup -c 2>&1 && npm run unit-test:browser && npm run integration-test","unit-test:browser":"karma start --single-run","unit-test:node":"mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser"},"repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"keywords":["azure","cloud"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"homepage":"https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/","sideEffects":false,"prettier":"@azure/eslint-plugin-azure-sdk/prettier.json","dependencies":{"@azure/core-paging":">=1.2.0-alpha <1.2.0-alphb","@azure/core-rest-pipeline":"^1.1.0","@azure-rest/core-client":"1.0.0-beta.6","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"7.13.2","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","chai":"^4.2.0","cross-env":"^7.0.2","eslint":"^7.15.0","inherits":"^2.0.3","karma":"^6.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-junit-reporter":"^2.0.1","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.8","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","sinon":"^9.0.2","typescript":"~4.2.0","util":"^0.12.1","typedoc":"0.15.2"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-alpha.20210830.2.tgz","readme":"# Azure Rest Core Paging library for JavaScript (Experimental)\n\nThis library is primarily intended to be used in code generated by [AutoRest](https://github.com/Azure/Autorest) and [`autorest.typescript`](https://github.com/Azure/autorest.typescript). Specifically for rest level clients, as a helper to handle Pageable operations. This package implements support for Autorest `x-ms-pageable` specification.\n\n## Getting started\n\n### Requirements\n\n- [Node.js](https://nodejs.org) LTS\n\n### Installation\n\nThis package is primarily used in generated code and not meant to be consumed directly by end users.\n\n## Key concepts\n\n### Helper function `paginateResponse`\n\nPaginate response is a helper function to handle pagination for the user. Given a response that contains a body with a link to the next page and an array with the current page of results, this helper returns a PagedAsyncIterableIterator that can be used to get all the items or page by page.\n\nIn order to provide better typings, the library that consumes `paginateResponse` can wrap it providing additional types. For example a code generator may consume and export in the following way\n\n#### Typescript\n\n```typescript\n/**\n * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be\n * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a\n * hand written library.\n */\nexport function paginate<TReturn extends PathUncheckedResponse>(\n  client: Client,\n  initialResponse: TReturn\n): PagedAsyncIterableIterator<PaginateReturn<TReturn>, PaginateReturn<TReturn>[]> {\n  return paginateResponse<PaginateReturn<TReturn>>(client, initialResponse, {\n    // For example these values could come from the swagger\n    itemName: \"items\",\n    nextLinkName: \"continuationLink\",\n  });\n}\n\n// Helper type to extract the type of an array\ntype GetArrayType<T> = T extends Array<infer TData> ? TData : never;\n\n// Helper type to infer the Type of the paged elements from the response type\n// This type will be generated based on the swagger information for x-ms-pageable\n// specifically on the itemName property which indicates the property of the response\n// where the page items are found. The default value is `value`.\n// This type will allow us to provide strongly  typed Iterator based on the response we get as second parameter\nexport type PaginateReturn<TResult> = TResult extends {\n  body: { items: infer TPage };\n}\n  ? GetArrayType<TPage>\n  : Array<unknown>;\n\n// Usage\nconst client = Client(\"https://example.org\", new DefaultAzureCredentials());\n\nconst response = client.path(\"/foo\").get();\nconst items = paginate(client, response);\n\nfor await (const item of items) {\n  console.log(item.name);\n}\n```\n\n#### JavaScript\n\n```javascript\n/**\n * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be\n * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a\n * hand written library.\n */\nexport function paginate(client, initialResponse) {\n  return paginateResponse(client, initialResponse, {\n    // For example these values could come from the swagger\n    itemName: \"items\",\n    nextLinkName: \"continuationLink\",\n  });\n}\n\n// Usage\nconst client = Client(\"https://example.org\", new DefaultAzureCredentials());\n\nconst response = client.path(\"/foo\").get();\nconst items = paginate(client, response);\n\nfor await (const item of items) {\n  console.log(item.name);\n}\n```\n\n## Examples\n\nExamples can be found in the `samples` folder.\n\n## Next steps\n\nYou can build and run the tests locally by executing `rushx test`. Explore the `test` folder to see advanced usage and behavior of the public classes.\n\nLearn more about [AutoRest](https://github.com/Azure/autorest) and the [autorest.typescript extension](https://github.com/Azure/autorest.typescript) for generating a compatible client on top of this package.\n\n## Troubleshooting\n\nIf you run into issues while using this library, please feel free to [file an issue](https://github.com/Azure/azure-sdk-for-js/issues/new).\n\n## Contributing\n\nIf you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code.\n\n![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore-rest%2Fcore-client%2FREADME.png)\n","readmeFilename":"README.md","_id":"@azure-rest/core-client-paging@1.0.0-alpha.20210830.2","_nodeVersion":"14.17.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-YjKxScLfHI0eX/Mudpg3dRYz2SQCfD0w4EtWkXok+KpvkcM89D0ZY55aHHtoEMeWJj9AZplZgz0/+iBbO9yBhg==","shasum":"246df8758cf0f9164af389266ee2aa235346ad28","tarball":"https://registry.npmjs.org/@azure-rest/core-client-paging/-/core-client-paging-1.0.0-alpha.20210830.2.tgz","fileCount":15,"unpackedSize":38403,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLSDMCRA9TVsSAnZWagAAHrsP/1F9DfZA6irQTJauOlXG\n9Cxwyt6gnag0Bx91U8RcmuT7zY6FtPB8ED83eBn+gxSMa5+dQyPZCdGFKrf6\n8H+t+C4xRBhCmeIczQpIqdYSsdBEKYk4tIY5hJ+O+ZAb745Pua6sMDb0MEgb\nbyZyXjnuB5F22hv14Udx1nPXPGDYxrnNUPcsODVnLSfd2LvV7ZEXtnDxmWQV\nDiuKsYCknBiccNN1vuSSSyuS2ihI8aSt6uBgRRfzuBQoXXM2Js7ErY8f26J4\n59U5hmsE6jvgC/Q1vT4v32hZKdvDPjPgGsBaxnm2OXljnlbJw5NGGbpxKILG\nble9KheVt1HebMXAnXwcecb65AANsf72iceakE7kbT+XGeX8rkbFIroSWHof\ns2yihMrKfdt6zaP5BFy/BGn/M8IQ5UmNnwKuNo8mSFZ3t4YoxUL3Gna0eK4D\nN+DdUJV51XWRdBIjSZjg9jVbNKmcJ82iAbBF+ABCGV9tGiVjdARg0g5gX10/\nWZAfsK/xPPwRCmMNp4BaHSS8gXhjPjaFynIE41yn5msgU+rZEvv8VbUFSuaL\ny8dWWg0AGeqQ3JjmmB0u4lKvRQYJYkr7kESGYbsw/aNi7IGuKV/05XSWLtkT\nTpqgZVjMlUP+Lt/fwoUQsMpKIAZwm/BQE0xBTJIpP5SYzLk18UgIE5lHhLUX\niH4O\r\n=BkuI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0fvzNzVLfx90TMwroFiU6KSezknA9y1iYXjZtnEmT2wIgahwRXaeZ/4Y5vbgdKJ3KcfbOs/VaQPN4cEa1iNRI4go="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-client-paging_1.0.0-alpha.20210830.2_1630347467943_0.6024496417119494"},"_hasShrinkwrap":false,"deprecated":"Please use @azure/core-paging"},"1.0.0-alpha.20210903.3":{"name":"@azure-rest/core-client-paging","version":"1.0.0-alpha.20210903.3","description":"A helper library which implements Autorest x-ms-pageable spec for pagination.","sdk-type":"client","main":"dist/index.js","module":"dist-esm/src/index.js","types":"types/latest/core-client-paging-rest.d.ts","browser":{"./dist-esm/src/url.js":"./dist-esm/src/url.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:samples":"echo Obsolete","build:test":"tsc -p . && rollup -c 2>&1","build":"npm run clean && tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-* temp types *.tgz *.log","docs":"typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src","execute:samples":"echo skipped","extract-api":"tsc -p . && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\"","integration-test:browser":"echo skipped","integration-test:node":"echo skipped","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser","test:node":"npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node","test":"npm run clean && tsc -p . && npm run unit-test:node && rollup -c 2>&1 && npm run unit-test:browser && npm run integration-test","unit-test:browser":"karma start --single-run","unit-test:node":"mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser"},"repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"keywords":["azure","cloud"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"homepage":"https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/","sideEffects":false,"prettier":"@azure/eslint-plugin-azure-sdk/prettier.json","dependencies":{"@azure/core-paging":">=1.2.0-alpha <1.2.0-alphb","@azure/core-rest-pipeline":"^1.1.0","@azure-rest/core-client":">=1.0.0-alpha <1.0.0-alphb","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"7.13.2","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","chai":"^4.2.0","cross-env":"^7.0.2","eslint":"^7.15.0","inherits":"^2.0.3","karma":"^6.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-junit-reporter":"^2.0.1","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.8","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","sinon":"^9.0.2","typescript":"~4.2.0","util":"^0.12.1","typedoc":"0.15.2"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-alpha.20210903.3.tgz","readme":"# Azure Rest Core Paging library for JavaScript (Experimental)\n\nThis library is primarily intended to be used in code generated by [AutoRest](https://github.com/Azure/Autorest) and [`autorest.typescript`](https://github.com/Azure/autorest.typescript). Specifically for rest level clients, as a helper to handle Pageable operations. This package implements support for Autorest `x-ms-pageable` specification.\n\n## Getting started\n\n### Requirements\n\n- [Node.js](https://nodejs.org) LTS\n\n### Installation\n\nThis package is primarily used in generated code and not meant to be consumed directly by end users.\n\n## Key concepts\n\n### Helper function `paginateResponse`\n\nPaginate response is a helper function to handle pagination for the user. Given a response that contains a body with a link to the next page and an array with the current page of results, this helper returns a PagedAsyncIterableIterator that can be used to get all the items or page by page.\n\nIn order to provide better typings, the library that consumes `paginateResponse` can wrap it providing additional types. For example a code generator may consume and export in the following way\n\n#### Typescript\n\n```typescript\n/**\n * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be\n * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a\n * hand written library.\n */\nexport function paginate<TReturn extends PathUncheckedResponse>(\n  client: Client,\n  initialResponse: TReturn\n): PagedAsyncIterableIterator<PaginateReturn<TReturn>, PaginateReturn<TReturn>[]> {\n  return paginateResponse<PaginateReturn<TReturn>>(client, initialResponse, {\n    // For example these values could come from the swagger\n    itemName: \"items\",\n    nextLinkName: \"continuationLink\",\n  });\n}\n\n// Helper type to extract the type of an array\ntype GetArrayType<T> = T extends Array<infer TData> ? TData : never;\n\n// Helper type to infer the Type of the paged elements from the response type\n// This type will be generated based on the swagger information for x-ms-pageable\n// specifically on the itemName property which indicates the property of the response\n// where the page items are found. The default value is `value`.\n// This type will allow us to provide strongly  typed Iterator based on the response we get as second parameter\nexport type PaginateReturn<TResult> = TResult extends {\n  body: { items: infer TPage };\n}\n  ? GetArrayType<TPage>\n  : Array<unknown>;\n\n// Usage\nconst client = Client(\"https://example.org\", new DefaultAzureCredentials());\n\nconst response = client.path(\"/foo\").get();\nconst items = paginate(client, response);\n\nfor await (const item of items) {\n  console.log(item.name);\n}\n```\n\n#### JavaScript\n\n```javascript\n/**\n * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be\n * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a\n * hand written library.\n */\nexport function paginate(client, initialResponse) {\n  return paginateResponse(client, initialResponse, {\n    // For example these values could come from the swagger\n    itemName: \"items\",\n    nextLinkName: \"continuationLink\",\n  });\n}\n\n// Usage\nconst client = Client(\"https://example.org\", new DefaultAzureCredentials());\n\nconst response = client.path(\"/foo\").get();\nconst items = paginate(client, response);\n\nfor await (const item of items) {\n  console.log(item.name);\n}\n```\n\n## Examples\n\nExamples can be found in the `samples` folder.\n\n## Next steps\n\nYou can build and run the tests locally by executing `rushx test`. Explore the `test` folder to see advanced usage and behavior of the public classes.\n\nLearn more about [AutoRest](https://github.com/Azure/autorest) and the [autorest.typescript extension](https://github.com/Azure/autorest.typescript) for generating a compatible client on top of this package.\n\n## Troubleshooting\n\nIf you run into issues while using this library, please feel free to [file an issue](https://github.com/Azure/azure-sdk-for-js/issues/new).\n\n## Contributing\n\nIf you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code.\n\n![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore-rest%2Fcore-client%2FREADME.png)\n","readmeFilename":"README.md","_id":"@azure-rest/core-client-paging@1.0.0-alpha.20210903.3","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-oZyyJ1CU3jvXo2jMOvwlXJ3hYZondwmTDBEth5SihYD9R3jzqXdT1uXKH4cYrybELPWKQ/JBeJ7NE2H668GffQ==","shasum":"1a6a771855fd8cd63d9c4f4dddba07e303111d82","tarball":"https://registry.npmjs.org/@azure-rest/core-client-paging/-/core-client-paging-1.0.0-alpha.20210903.3.tgz","fileCount":15,"unpackedSize":38417,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMmVJCRA9TVsSAnZWagAA0k4P/3dDii65BB7GCw9KT9zX\n/1D/a6z3qfd7zXUiFGicmNuMw9B3ZCXaEE3pYF/nE8wIfEli6NtBqHKsfZI/\neGY7VuN2kaUZX1bDy3sWjtIcm4Fx0CKgX78F2vQX/kuPI/uxXU+MvwA4SPmf\n+8ltMhzvfXdHhlLVmKSM3P1RTDeoFgtgFMGfkPkXfKC35ETeCdPeM+apkKxe\nbJ4HaZUPV98xS5UHDDtDTot2xK9x0PGYasX1UjDWfGhp+tTcD89mkRvHwq9Y\n5frrnQCrWnYhZj4DzsKaZJHVUyBF4RRsn/Qd1ifwl6XECBRLtTknP8LhHuO6\nAZ2xbNPWOZMD3XAWS8XXUMyugetL4nSu61nIwMhJqn71j2OBeAhVGK/4XRNV\nH6HVTIj7nAeJD0/pK0U7y/hSLjv4mK33UmV6U5bljk2ZST+yC1WgFV+u2k7m\nu6I4TsskEObC8ZMEuHmo+SJljhJbqnc7bF/dZFhjyfJxOLUcOhtfOI7iiicR\nv7kb0+5kOm7K44Yg6mtEto2abVkQflazdGRKLMEgUVGFLckpCzjBEtlVMIEO\nBt1dKPmEtoOcNDuNTULQ1q1qWSvEERUNSjgjKz7EPhnz6iSGwT2zAkGSKUzx\n4i0FKpQla6/67gDFlOGGyKILyUV9YSQxvJiDC+n0f/CKU49PVPottZRByinq\nbmsN\r\n=lcoM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICisnCQBCqOrTG80rkWIHY6NNY78SxOh6s4c0uXsMaXEAiAraKTa1Yo+mskKF66uXif2VfFee3ce/2p7E5DA8iMTEw=="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-client-paging_1.0.0-alpha.20210903.3_1630692681827_0.4456896585779615"},"_hasShrinkwrap":false,"deprecated":"Please use @azure/core-paging"},"1.0.0-alpha.20210930.2":{"name":"@azure-rest/core-client-paging","version":"1.0.0-alpha.20210930.2","description":"A helper library which implements Autorest x-ms-pageable spec for pagination.","sdk-type":"client","main":"dist/index.js","module":"dist-esm/src/index.js","types":"types/latest/core-client-paging-rest.d.ts","browser":{"./dist-esm/src/url.js":"./dist-esm/src/url.browser.js"},"react-native":{"./dist/index.js":"./dist-esm/src/index.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:samples":"echo Obsolete","build:test":"tsc -p . && rollup -c 2>&1","build":"npm run clean && tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-* temp types *.tgz *.log","docs":"typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src","execute:samples":"echo skipped","extract-api":"tsc -p . && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\"","integration-test:browser":"echo skipped","integration-test:node":"echo skipped","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser","test:node":"npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node","test":"npm run clean && tsc -p . && npm run unit-test:node && rollup -c 2>&1 && npm run unit-test:browser && npm run integration-test","unit-test:browser":"karma start --single-run","unit-test:node":"mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser"},"repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"keywords":["azure","cloud"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"homepage":"https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/","sideEffects":false,"prettier":"@azure/eslint-plugin-azure-sdk/prettier.json","dependencies":{"@azure/core-paging":">=1.2.0-alpha <1.2.0-alphb","@azure/core-rest-pipeline":"^1.1.0","@azure-rest/core-client":">=1.0.0-alpha <1.0.0-alphb","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.18.11","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","chai":"^4.2.0","cross-env":"^7.0.2","eslint":"^7.15.0","inherits":"^2.0.3","karma":"^6.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-junit-reporter":"^2.0.1","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.8","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","sinon":"^9.0.2","typescript":"~4.2.0","util":"^0.12.1","typedoc":"0.15.2"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-alpha.20210930.2.tgz","readme":"# Azure Rest Core Paging library for JavaScript (Experimental)\n\nThis library is primarily intended to be used in code generated by [AutoRest](https://github.com/Azure/Autorest) and [`autorest.typescript`](https://github.com/Azure/autorest.typescript). Specifically for rest level clients, as a helper to handle Pageable operations. This package implements support for Autorest `x-ms-pageable` specification.\n\n## Getting started\n\n### Requirements\n\n- [Node.js](https://nodejs.org) LTS\n\n### Installation\n\nThis package is primarily used in generated code and not meant to be consumed directly by end users.\n\n## Key concepts\n\n### Helper function `paginateResponse`\n\nPaginate response is a helper function to handle pagination for the user. Given a response that contains a body with a link to the next page and an array with the current page of results, this helper returns a PagedAsyncIterableIterator that can be used to get all the items or page by page.\n\nIn order to provide better typings, the library that consumes `paginateResponse` can wrap it providing additional types. For example a code generator may consume and export in the following way\n\n#### Typescript\n\n```typescript\n/**\n * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be\n * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a\n * hand written library.\n */\nexport function paginate<TReturn extends PathUncheckedResponse>(\n  client: Client,\n  initialResponse: TReturn\n): PagedAsyncIterableIterator<PaginateReturn<TReturn>, PaginateReturn<TReturn>[]> {\n  return paginateResponse<PaginateReturn<TReturn>>(client, initialResponse, {\n    // For example these values could come from the swagger\n    itemName: \"items\",\n    nextLinkName: \"continuationLink\",\n  });\n}\n\n// Helper type to extract the type of an array\ntype GetArrayType<T> = T extends Array<infer TData> ? TData : never;\n\n// Helper type to infer the Type of the paged elements from the response type\n// This type will be generated based on the swagger information for x-ms-pageable\n// specifically on the itemName property which indicates the property of the response\n// where the page items are found. The default value is `value`.\n// This type will allow us to provide strongly  typed Iterator based on the response we get as second parameter\nexport type PaginateReturn<TResult> = TResult extends {\n  body: { items: infer TPage };\n}\n  ? GetArrayType<TPage>\n  : Array<unknown>;\n\n// Usage\nconst client = Client(\"https://example.org\", new DefaultAzureCredentials());\n\nconst response = client.path(\"/foo\").get();\nconst items = paginate(client, response);\n\nfor await (const item of items) {\n  console.log(item.name);\n}\n```\n\n#### JavaScript\n\n```javascript\n/**\n * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be\n * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a\n * hand written library.\n */\nexport function paginate(client, initialResponse) {\n  return paginateResponse(client, initialResponse, {\n    // For example these values could come from the swagger\n    itemName: \"items\",\n    nextLinkName: \"continuationLink\",\n  });\n}\n\n// Usage\nconst client = Client(\"https://example.org\", new DefaultAzureCredentials());\n\nconst response = client.path(\"/foo\").get();\nconst items = paginate(client, response);\n\nfor await (const item of items) {\n  console.log(item.name);\n}\n```\n\n## Examples\n\nExamples can be found in the `samples` folder.\n\n## Next steps\n\nYou can build and run the tests locally by executing `rushx test`. Explore the `test` folder to see advanced usage and behavior of the public classes.\n\nLearn more about [AutoRest](https://github.com/Azure/autorest) and the [autorest.typescript extension](https://github.com/Azure/autorest.typescript) for generating a compatible client on top of this package.\n\n## Troubleshooting\n\nIf you run into issues while using this library, please feel free to [file an issue](https://github.com/Azure/azure-sdk-for-js/issues/new).\n\n## Contributing\n\nIf you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code.\n\n![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore-rest%2Fcore-client%2FREADME.png)\n","readmeFilename":"README.md","_id":"@azure-rest/core-client-paging@1.0.0-alpha.20210930.2","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-+w0WVQmCNy3shIKg1Zrru5fiuxGGfr3hAlScchz7EZN9aIww9gnRXNehRM7QrdSzS/gBhbJq93TMjc250ArcfA==","shasum":"6257812cb3134d000b1e151866e9e3e2faca3117","tarball":"https://registry.npmjs.org/@azure-rest/core-client-paging/-/core-client-paging-1.0.0-alpha.20210930.2.tgz","fileCount":15,"unpackedSize":38708,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgLbXAeerYwu3d5iDT9j9pZJ8aBFIMY0yQKuuXhITUMQIhAMMNtn8suyS5fMa+IjcLDs5FE21zse2fhTFrAJw2DWbZ"}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-client-paging_1.0.0-alpha.20210930.2_1633025506442_0.8372992184936587"},"_hasShrinkwrap":false,"deprecated":"Please use @azure/core-paging"},"1.0.0-alpha.20211103.1":{"name":"@azure-rest/core-client-paging","version":"1.0.0-alpha.20211103.1","description":"A helper library which implements Autorest x-ms-pageable spec for pagination.","sdk-type":"client","main":"dist/index.js","module":"dist-esm/src/index.js","types":"types/latest/core-client-paging-rest.d.ts","browser":{"./dist-esm/src/url.js":"./dist-esm/src/url.browser.js"},"react-native":{"./dist/index.js":"./dist-esm/src/index.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:samples":"echo Obsolete","build:test":"tsc -p . && rollup -c 2>&1","build":"npm run clean && tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-* temp types *.tgz *.log","docs":"typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src","execute:samples":"echo skipped","extract-api":"tsc -p . && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\"","integration-test:browser":"echo skipped","integration-test:node":"echo skipped","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser","test:node":"npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node","test":"npm run clean && tsc -p . && npm run unit-test:node && rollup -c 2>&1 && npm run unit-test:browser && npm run integration-test","unit-test:browser":"karma start --single-run","unit-test:node":"mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser"},"repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"keywords":["azure","cloud"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"homepage":"https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/","sideEffects":false,"prettier":"@azure/eslint-plugin-azure-sdk/prettier.json","dependencies":{"@azure/core-paging":">=1.2.0-alpha <1.2.0-alphb","@azure/core-rest-pipeline":"^1.1.0","@azure-rest/core-client":"1.0.0-beta.7","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.18.11","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","chai":"^4.2.0","cross-env":"^7.0.2","eslint":"^7.15.0","inherits":"^2.0.3","karma":"^6.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-junit-reporter":"^2.0.1","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.8","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","sinon":"^9.0.2","typescript":"~4.2.0","util":"^0.12.1","typedoc":"0.15.2"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-alpha.20211103.1.tgz","readme":"# Azure Rest Core Paging library for JavaScript (Experimental)\n\nThis library is primarily intended to be used in code generated by [AutoRest](https://github.com/Azure/Autorest) and [`autorest.typescript`](https://github.com/Azure/autorest.typescript). Specifically for rest level clients, as a helper to handle Pageable operations. This package implements support for Autorest `x-ms-pageable` specification.\n\n## Getting started\n\n### Requirements\n\n- [Node.js](https://nodejs.org) LTS\n\n### Installation\n\nThis package is primarily used in generated code and not meant to be consumed directly by end users.\n\n## Key concepts\n\n### Helper function `paginateResponse`\n\nPaginate response is a helper function to handle pagination for the user. Given a response that contains a body with a link to the next page and an array with the current page of results, this helper returns a PagedAsyncIterableIterator that can be used to get all the items or page by page.\n\nIn order to provide better typings, the library that consumes `paginateResponse` can wrap it providing additional types. For example a code generator may consume and export in the following way\n\n#### Typescript\n\n```typescript\n/**\n * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be\n * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a\n * hand written library.\n */\nexport function paginate<TReturn extends PathUncheckedResponse>(\n  client: Client,\n  initialResponse: TReturn\n): PagedAsyncIterableIterator<PaginateReturn<TReturn>, PaginateReturn<TReturn>[]> {\n  return paginateResponse<PaginateReturn<TReturn>>(client, initialResponse, {\n    // For example these values could come from the swagger\n    itemName: \"items\",\n    nextLinkName: \"continuationLink\",\n  });\n}\n\n// Helper type to extract the type of an array\ntype GetArrayType<T> = T extends Array<infer TData> ? TData : never;\n\n// Helper type to infer the Type of the paged elements from the response type\n// This type will be generated based on the swagger information for x-ms-pageable\n// specifically on the itemName property which indicates the property of the response\n// where the page items are found. The default value is `value`.\n// This type will allow us to provide strongly  typed Iterator based on the response we get as second parameter\nexport type PaginateReturn<TResult> = TResult extends {\n  body: { items: infer TPage };\n}\n  ? GetArrayType<TPage>\n  : Array<unknown>;\n\n// Usage\nconst client = Client(\"https://example.org\", new DefaultAzureCredentials());\n\nconst response = client.path(\"/foo\").get();\nconst items = paginate(client, response);\n\nfor await (const item of items) {\n  console.log(item.name);\n}\n```\n\n#### JavaScript\n\n```javascript\n/**\n * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be\n * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a\n * hand written library.\n */\nexport function paginate(client, initialResponse) {\n  return paginateResponse(client, initialResponse, {\n    // For example these values could come from the swagger\n    itemName: \"items\",\n    nextLinkName: \"continuationLink\",\n  });\n}\n\n// Usage\nconst client = Client(\"https://example.org\", new DefaultAzureCredentials());\n\nconst response = client.path(\"/foo\").get();\nconst items = paginate(client, response);\n\nfor await (const item of items) {\n  console.log(item.name);\n}\n```\n\n## Examples\n\nExamples can be found in the `samples` folder.\n\n## Next steps\n\nYou can build and run the tests locally by executing `rushx test`. Explore the `test` folder to see advanced usage and behavior of the public classes.\n\nLearn more about [AutoRest](https://github.com/Azure/autorest) and the [autorest.typescript extension](https://github.com/Azure/autorest.typescript) for generating a compatible client on top of this package.\n\n## Troubleshooting\n\nIf you run into issues while using this library, please feel free to [file an issue](https://github.com/Azure/azure-sdk-for-js/issues/new).\n\n## Contributing\n\nIf you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code.\n\n![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore-rest%2Fcore-client%2FREADME.png)\n","readmeFilename":"README.md","_id":"@azure-rest/core-client-paging@1.0.0-alpha.20211103.1","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-35RVV/vd/4lYT4ruGKlHOyTtK4kiBqKAGZr72vWrtk9NNjOnziJ33mK8vKFt1N8jrLPzNsBMd1cYPXrrSzTmxQ==","shasum":"e901969f5ee7c65a35d174e408e772cf92e51ade","tarball":"https://registry.npmjs.org/@azure-rest/core-client-paging/-/core-client-paging-1.0.0-alpha.20211103.1.tgz","fileCount":15,"unpackedSize":38694,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCy70Fcl+5UfG71uhAltY0/mMYWagqkP3lu4fIMoWf91wIhANEj6GIKgAbPfwSzSWpyxC5GhKnYmLLacX38NLTbj6D/"}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-client-paging_1.0.0-alpha.20211103.1_1635966021580_0.5801107661793545"},"_hasShrinkwrap":false,"deprecated":"Please use @azure/core-paging"},"1.0.0-alpha.20211123.3":{"name":"@azure-rest/core-client-paging","version":"1.0.0-alpha.20211123.3","description":"A helper library which implements Autorest x-ms-pageable spec for pagination.","sdk-type":"client","main":"dist/index.js","module":"dist-esm/src/index.js","types":"types/latest/core-client-paging-rest.d.ts","browser":{"./dist-esm/src/url.js":"./dist-esm/src/url.browser.js"},"react-native":{"./dist/index.js":"./dist-esm/src/index.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:samples":"echo Obsolete","build:test":"tsc -p . && rollup -c 2>&1","build":"npm run clean && tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-* temp types *.tgz *.log","docs":"typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src","execute:samples":"echo skipped","extract-api":"tsc -p . && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\"","integration-test:browser":"echo skipped","integration-test:node":"echo skipped","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser","test:node":"npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node","test":"npm run clean && tsc -p . && npm run unit-test:node && rollup -c 2>&1 && npm run unit-test:browser && npm run integration-test","unit-test:browser":"karma start --single-run","unit-test:node":"mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser"},"repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"keywords":["azure","cloud"],"author":{"name":"Microsoft Corporation"},"license":"MIT","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"homepage":"https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/","sideEffects":false,"prettier":"@azure/eslint-plugin-azure-sdk/prettier.json","dependencies":{"@azure/core-paging":">=1.2.0-alpha <1.2.0-alphb","@azure/core-rest-pipeline":"^1.1.0","@azure-rest/core-client":"1.0.0-beta.7","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.18.11","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","chai":"^4.2.0","cross-env":"^7.0.2","eslint":"^7.15.0","inherits":"^2.0.3","karma":"^6.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-junit-reporter":"^2.0.1","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.8","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","sinon":"^9.0.2","typescript":"~4.2.0","util":"^0.12.1","typedoc":"0.15.2"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-alpha.20211123.3.tgz","readme":"# Azure Rest Core Paging library for JavaScript\n\nThis library is primarily intended to be used in code generated by [AutoRest](https://github.com/Azure/Autorest) and [`autorest.typescript`](https://github.com/Azure/autorest.typescript). Specifically for rest level clients, as a helper to handle Pageable operations. This package implements support for Autorest `x-ms-pageable` specification.\n\n## Getting started\n\n### Requirements\n\n- [Node.js](https://nodejs.org) LTS\n\n### Installation\n\nThis package is primarily used in generated code and not meant to be consumed directly by end users.\n\n## Key concepts\n\n### Helper function `paginateResponse`\n\nPaginate response is a helper function to handle pagination for the user. Given a response that contains a body with a link to the next page and an array with the current page of results, this helper returns a PagedAsyncIterableIterator that can be used to get all the items or page by page.\n\nIn order to provide better typings, the library that consumes `paginateResponse` can wrap it providing additional types. For example a code generator may consume and export in the following way\n\n#### Typescript\n\n```typescript\n/**\n * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be\n * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a\n * hand written library.\n */\nexport function paginate<TReturn extends PathUncheckedResponse>(\n  client: Client,\n  initialResponse: TReturn\n): PagedAsyncIterableIterator<PaginateReturn<TReturn>, PaginateReturn<TReturn>[]> {\n  return paginateResponse<PaginateReturn<TReturn>>(client, initialResponse, {\n    // For example these values could come from the swagger\n    itemName: \"items\",\n    nextLinkName: \"continuationLink\",\n  });\n}\n\n// Helper type to extract the type of an array\ntype GetArrayType<T> = T extends Array<infer TData> ? TData : never;\n\n// Helper type to infer the Type of the paged elements from the response type\n// This type will be generated based on the swagger information for x-ms-pageable\n// specifically on the itemName property which indicates the property of the response\n// where the page items are found. The default value is `value`.\n// This type will allow us to provide strongly  typed Iterator based on the response we get as second parameter\nexport type PaginateReturn<TResult> = TResult extends {\n  body: { items: infer TPage };\n}\n  ? GetArrayType<TPage>\n  : Array<unknown>;\n\n// Usage\nconst client = Client(\"https://example.org\", new DefaultAzureCredentials());\n\nconst response = client.path(\"/foo\").get();\nconst items = paginate(client, response);\n\nfor await (const item of items) {\n  console.log(item.name);\n}\n```\n\n#### JavaScript\n\n```javascript\n/**\n * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be\n * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a\n * hand written library.\n */\nexport function paginate(client, initialResponse) {\n  return paginateResponse(client, initialResponse, {\n    // For example these values could come from the swagger\n    itemName: \"items\",\n    nextLinkName: \"continuationLink\",\n  });\n}\n\n// Usage\nconst client = Client(\"https://example.org\", new DefaultAzureCredentials());\n\nconst response = client.path(\"/foo\").get();\nconst items = paginate(client, response);\n\nfor await (const item of items) {\n  console.log(item.name);\n}\n```\n\n## Examples\n\nExamples can be found in the `samples` folder.\n\n## Next steps\n\nYou can build and run the tests locally by executing `rushx test`. Explore the `test` folder to see advanced usage and behavior of the public classes.\n\nLearn more about [AutoRest](https://github.com/Azure/autorest) and the [autorest.typescript extension](https://github.com/Azure/autorest.typescript) for generating a compatible client on top of this package.\n\n## Troubleshooting\n\nIf you run into issues while using this library, please feel free to [file an issue](https://github.com/Azure/azure-sdk-for-js/issues/new).\n\n## Contributing\n\nIf you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code.\n\n![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore-rest%2Fcore-client%2FREADME.png)\n","readmeFilename":"README.md","_id":"@azure-rest/core-client-paging@1.0.0-alpha.20211123.3","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-NiY1j6W6C9xhWb3+7SZWNHZQFzgWAOvi3DD0s2frIfW/9lJOp/DXuO3ravLOQoRoWybtmgNk09bOP9zt1cCXJw==","shasum":"4cf7fe4f6f7b911377cbb4032df3cea89527c35a","tarball":"https://registry.npmjs.org/@azure-rest/core-client-paging/-/core-client-paging-1.0.0-alpha.20211123.3.tgz","fileCount":15,"unpackedSize":38679,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnQ+PCRA9TVsSAnZWagAAg3YP/0FNjbVu03uptsIP6aTn\ndlKWtu8c98GFJsfaJX4nAtYKcMHnD0sTNGeYRqSplMqv97V2MrwNbtIaKcG9\nr49xYlZ91YiyHNXRIzkwvlpGEsfdeq8jIl27RfOUwlERCT3JOEs9SS5fQvPr\nt3E7gOedGqe93qcp6VzCKbgBYkitM3GK/ezAgmnz8wmT4tT9uRPKpMvuWfOY\nSLKTRAS7hx8P3PMuR3fC1ns4TV80DKdqnktQ8JeTYPOqT60Co9w2wSA3TCc1\nwyPCfiB4v5v5JbNIjD9ZtUJiM8xyQb+XRVzGaHRKzQHsEalrUKBwv8AzyugQ\n27kY5mIBu5ARVaeoS4J2p7ETrp600al8z6u7mqQ1G5iRzapMHchgz/8Gjzvm\nV/wwEFZ29Aa2LbbzcFxhKWrbZHiV7QWSwTvPfV7+CZSmQ8l60uZtmkn1NrZB\nLKghTw8nhzOCDCCV7eqWbglEi0CyJPnwhA5w8WvMWOmPmcbx1Jg0P/ed5H8R\n9YrNXF1cWLpbaq4ArCWH/0oFmWiJuWrv/tBEJeX7ov5BINW77HHlIE2IODbA\niw5g0zwZUiylnxKiKujxwtVirzikSukN5jDdbmxhgfjw2AeIqkJHYtnYsqdE\nTMREeO2wGVM+h1lOWOW+C5dw2ZuzGQR2WPGR/aqFlwakrkk6XtKdTfVDY3rc\nZ1IV\r\n=IV/K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2/BPnciY3Rd15KInjMoDWG1KiEe6wAEVFP9s4pFfEoQIhAOkTnHV42Ra1F3Lcokfqp5AWEhPdqNty1fMyPvvprEIP"}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-client-paging_1.0.0-alpha.20211123.3_1637683087780_0.5838466610276967"},"_hasShrinkwrap":false,"deprecated":"Please use @azure/core-paging"},"1.0.0-alpha.20211214.4":{"name":"@azure-rest/core-client-paging","version":"1.0.0-alpha.20211214.4","description":"A helper library which implements Autorest x-ms-pageable spec for pagination.","sdk-type":"client","main":"dist/index.js","module":"dist-esm/src/index.js","types":"types/latest/core-client-paging-rest.d.ts","browser":{"./dist-esm/src/url.js":"./dist-esm/src/url.browser.js"},"react-native":{"./dist/index.js":"./dist-esm/src/index.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:samples":"echo Obsolete","build:test":"tsc -p . && rollup -c 2>&1","build":"npm run clean && tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-* temp types *.tgz *.log","execute:samples":"echo skipped","extract-api":"tsc -p . && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\"","integration-test:browser":"echo skipped","integration-test:node":"echo skipped","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser","test:node":"npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node","test":"npm run clean && tsc -p . && npm run unit-test:node && rollup -c 2>&1 && npm run unit-test:browser && npm run integration-test","unit-test:browser":"karma start --single-run","unit-test:node":"mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser"},"repository":"github:Azure/azure-sdk-for-js","keywords":["azure","cloud"],"author":"Microsoft Corporation","license":"MIT","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"homepage":"https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/","sideEffects":false,"prettier":"@azure/eslint-plugin-azure-sdk/prettier.json","dependencies":{"@azure/core-paging":">=1.2.0-alpha <1.2.0-alphb","@azure/core-rest-pipeline":"^1.1.0","@azure-rest/core-client":"1.0.0-beta.7","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.18.11","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","chai":"^4.2.0","cross-env":"^7.0.2","eslint":"^7.15.0","inherits":"^2.0.3","karma":"^6.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-junit-reporter":"^2.0.1","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.8","mocha":"^7.1.1","mocha-junit-reporter":"^2.0.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","sinon":"^9.0.2","typescript":"~4.2.0","util":"^0.12.1"},"_id":"@azure-rest/core-client-paging@1.0.0-alpha.20211214.4","_integrity":"sha512-U9XLb1U8wSUx6BqkxLbF0hy62i1UHGdYhiXO93ogi1GeQM8U5Qafxzwh3Pnmeuo7zbc4rqw7ZGQN5uGoHYP4tg==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-alpha.20211214.4.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-alpha.20211214.4.tgz","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-U9XLb1U8wSUx6BqkxLbF0hy62i1UHGdYhiXO93ogi1GeQM8U5Qafxzwh3Pnmeuo7zbc4rqw7ZGQN5uGoHYP4tg==","shasum":"e1572a3aaecba68e37b6ce8d39e18adf3b6cfd6c","tarball":"https://registry.npmjs.org/@azure-rest/core-client-paging/-/core-client-paging-1.0.0-alpha.20211214.4.tgz","fileCount":15,"unpackedSize":38521,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuOulCRA9TVsSAnZWagAASrYP/j7fLkgrFYpZhWp+75Aw\no4IZLgmbpQYaJa6x3G17OWbohIGzYrZZ27g4EJf99IZycdlGegnexOVT/l20\n35JsuWDCB6/MLMPdwSc9LRHgzSLUs0KD7DI/5ByTnfKr27y+gPkk3A4FizmK\npBVzw/Gx+2/S1FRUMct9LynVa6KCCTU5FIpJjsI4OwFT7tNZE1JDyw+dqLte\noPtOqsHD1Bg2xZW/0Kpy3ghYEkkm0tP3hV+EWRoywA0iCfOyl+2ffTc7dT9+\nBlXvj0o2i06QrnIPSHWaTeO4LjCv/acfrFpuLSLYMT7MvCAYR5tEXzD1njrJ\n37x0L8AIA1k9+PThKfDMdftJrpnIFHHKNrAqjB7bmuRv2KHbB79PVXulyJpx\nVGg3R7oRfzpa5igUatZfDgbyb74oA7BQ32TjpPCfKg30pNld+FGFJ25HRuN7\nWJ2UFdBG2yso9xWmIRg5wyrQnlZH4lEJY5lL40FiLySjqnBr1SfWXJptldbQ\n9jMYb3drMPhZCKHZwaBTGxAKKPsEKFKD0HEv24r3wAJ4ITg3XNz7ElDCHftl\nNDiElQ/niiKo6EXyxzt/TYr0sjXygtM80ygXlPwrVRnzUy2ipYUB+FYVGTzY\ncuXtzvPMkYSTXoAgLD1lZmvyst2T4vFCaqnOQ9gnFrfwtZNwKzB1A7jjPRB+\nvOwV\r\n=4bei\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHdFUOC9qKcln0QGxinlKGQp4ICELC4K5AQjcJdqvubnAiBw8cqfXBp3ydULU3m8e7Qf3Rc9MOos34QCtbSLT8NdKA=="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-client-paging_1.0.0-alpha.20211214.4_1639508901272_0.4613474348957116"},"_hasShrinkwrap":false,"deprecated":"Please use @azure/core-paging"},"1.0.0-alpha.20220104.5":{"name":"@azure-rest/core-client-paging","version":"1.0.0-alpha.20220104.5","description":"A helper library which implements Autorest x-ms-pageable spec for pagination.","sdk-type":"client","main":"dist/index.js","module":"dist-esm/src/index.js","types":"types/latest/core-client-paging-rest.d.ts","browser":{"./dist-esm/src/url.js":"./dist-esm/src/url.browser.js"},"react-native":{"./dist/index.js":"./dist-esm/src/index.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:samples":"echo Obsolete","build:test":"tsc -p . && rollup -c 2>&1","build":"npm run clean && tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-* temp types *.tgz *.log","execute:samples":"echo skipped","extract-api":"tsc -p . && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\"","integration-test:browser":"echo skipped","integration-test:node":"echo skipped","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser","test:node":"npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node","test":"npm run clean && tsc -p . && npm run unit-test:node && rollup -c 2>&1 && npm run unit-test:browser && npm run integration-test","unit-test:browser":"karma start --single-run","unit-test:node":"mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser"},"repository":"github:Azure/azure-sdk-for-js","keywords":["azure","cloud"],"author":"Microsoft Corporation","license":"MIT","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"homepage":"https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/","sideEffects":false,"prettier":"@azure/eslint-plugin-azure-sdk/prettier.json","dependencies":{"@azure/core-paging":">=1.2.0-alpha <1.2.0-alphb","@azure/core-rest-pipeline":"^1.1.0","@azure-rest/core-client":"1.0.0-beta.7","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.18.11","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","chai":"^4.2.0","cross-env":"^7.0.2","eslint":"^7.15.0","inherits":"^2.0.3","karma":"^6.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-junit-reporter":"^2.0.1","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.8","mocha":"^7.1.1","mocha-junit-reporter":"^2.0.0","prettier":"^2.5.1","rimraf":"^3.0.0","rollup":"^1.16.3","sinon":"^9.0.2","typescript":"~4.2.0","util":"^0.12.1"},"_id":"@azure-rest/core-client-paging@1.0.0-alpha.20220104.5","_integrity":"sha512-JjYgjj3+gzm4vfRHaGT5rTH4Lqsm90f/sMW13cUuw64nImG0t1RcA4k9zk6fnE7x74QX6YbIEsoOxQp7ZvMVfw==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-alpha.20220104.5.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-alpha.20220104.5.tgz","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-JjYgjj3+gzm4vfRHaGT5rTH4Lqsm90f/sMW13cUuw64nImG0t1RcA4k9zk6fnE7x74QX6YbIEsoOxQp7ZvMVfw==","shasum":"19d870fe458cab839a010a48f0ebadcca975848a","tarball":"https://registry.npmjs.org/@azure-rest/core-client-paging/-/core-client-paging-1.0.0-alpha.20220104.5.tgz","fileCount":15,"unpackedSize":38522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1JwhCRA9TVsSAnZWagAAzVIP/RRB/vdPKVLNtsfhOl3o\nXmDEI1pV0tJKKhr2p9KA+eZ8vqVBd50BFQC+qXqRSLZNuarrtSCYo+HhFhGE\nHECR6xKkt3GjZR3kZpNYvASUwUJOXqkQBKD1QUwnd8y9cl8CJ6O5T9cYajJC\nltjtsmb4krn1tPgPFfNAJBo5C+Of+IXsbcYdYChBmtX6XU4zDF/hn0fVdzX8\nHLmNZWgrbBmTpUNNKSHA1eOUAfUXkQhSNwUrZZX7tWjeXtJ0x5zgCwBAbtdH\nqHKhkcp1LxcuGqpjqLCzwt2mshTyY+CB7xNx1AuNhSpMD21w9QuXfJOidDY5\n2sJc+dhx79d/4LIhkaXllx3wb1eKjebAYzTY3xJeYKcjLsfpo4gZ5znbysiK\nz2KJSyHXGBLkPv6KPRLj5iFyKuZN0/vROZCzxfcLZk6D15Qfwp0GcA96wv87\ngINC3LEQu91hRpxgnksLchoab1VwdyoVjginmCEieDTR4vohvxHyVlvfE7od\nNN+AVC6pdltCDV3vhfzb+Xre7Pi7V3iLTuLHYqTDq9/wo3aMTbmbih9Efbmh\nlQjUyjlKveNm1CWlm/8vvdtI0j9FOI4F8YI4EvlL+Vr36A+vslZvbyCFVh7P\nps2yyeZHEQVSpvuJG1OYO/mTBzEtiXOhdpqNMLvtVixYHHQpdLkY0+6s0Pkm\nyRFn\r\n=58sY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGzpzL+EVx2imqslq+nNKYRs4Vjq3HsNGayBdW52dncnAiBJHhQUOv2ozNaJuxPosxO5VRBeckOuSSh5tAMetlvNEA=="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-client-paging_1.0.0-alpha.20220104.5_1641323553716_0.871880111255936"},"_hasShrinkwrap":false,"deprecated":"Please use @azure/core-paging"},"1.0.0-alpha.20220106.3":{"name":"@azure-rest/core-client-paging","version":"1.0.0-alpha.20220106.3","description":"A helper library which implements Autorest x-ms-pageable spec for pagination.","sdk-type":"client","main":"dist/index.js","module":"dist-esm/src/index.js","types":"types/latest/core-client-paging-rest.d.ts","browser":{"./dist-esm/src/url.js":"./dist-esm/src/url.browser.js"},"react-native":{"./dist/index.js":"./dist-esm/src/index.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:samples":"echo Obsolete","build:test":"tsc -p . && rollup -c 2>&1","build":"npm run clean && tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-* temp types *.tgz *.log","execute:samples":"echo skipped","extract-api":"tsc -p . && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\"","integration-test:browser":"echo skipped","integration-test:node":"echo skipped","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser","test:node":"npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node","test":"npm run clean && tsc -p . && npm run unit-test:node && rollup -c 2>&1 && npm run unit-test:browser && npm run integration-test","unit-test:browser":"karma start --single-run","unit-test:node":"mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser"},"repository":"github:Azure/azure-sdk-for-js","keywords":["azure","cloud"],"author":"Microsoft Corporation","license":"MIT","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"homepage":"https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/","sideEffects":false,"prettier":"@azure/eslint-plugin-azure-sdk/prettier.json","dependencies":{"@azure/core-paging":"^1.2.0","@azure/core-rest-pipeline":"^1.1.0","@azure-rest/core-client":"1.0.0-beta.7","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.18.11","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","chai":"^4.2.0","cross-env":"^7.0.2","eslint":"^7.15.0","inherits":"^2.0.3","karma":"^6.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-junit-reporter":"^2.0.1","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.8","mocha":"^7.1.1","mocha-junit-reporter":"^2.0.0","prettier":"^2.5.1","rimraf":"^3.0.0","rollup":"^1.16.3","sinon":"^9.0.2","typescript":"~4.2.0","util":"^0.12.1"},"_id":"@azure-rest/core-client-paging@1.0.0-alpha.20220106.3","_integrity":"sha512-pHxZFJTEvZ0I86JTIae+n9f5S1VOWOsGeOSdnoRwTjg94s9SlYDx+v3W4HkfnFawIJRzSPif4Cr+bjMRqxlVzA==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-alpha.20220106.3.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-alpha.20220106.3.tgz","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-pHxZFJTEvZ0I86JTIae+n9f5S1VOWOsGeOSdnoRwTjg94s9SlYDx+v3W4HkfnFawIJRzSPif4Cr+bjMRqxlVzA==","shasum":"9161771c934c07e2bd70bf3d6b3b11663f828b22","tarball":"https://registry.npmjs.org/@azure-rest/core-client-paging/-/core-client-paging-1.0.0-alpha.20220106.3.tgz","fileCount":15,"unpackedSize":38502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1z5ICRA9TVsSAnZWagAAyRQP/2L3Zxry8M0zspKVhf9V\nlbMaYHqnh+xRxdN00jOA5UjR83pyXp7JpWVls3Uz0FQphzDWCRF7SFeFUJDX\n0TASz3Y++dF5H9wW+I+W/bGRJbUx+rtv3Dw/3WvuMmdXH43r0KoINV7PTQQd\nj2k9ZqWrV2bz+0LisKCgaLBFzmULrZh30n8rXEn8IvV7pDO46gJL0R+6a5eJ\n5htc/mZVObsyhZKArkXedwxd4ydBXitrr1LWnQhZLxXwaw0X+G+s86LfxtoZ\n7hr0WkihoYlvabWi7Gm0Lv/NwXnVscyHeEVFdaIi+AHzDk/XRSWbO3fomlDw\nk1zUoetnitUzQGSq20pPF0iD2HsyTnfBG1ab9/ckfhHr7GNbpbuwLTOiTP0I\nSpRqfb8RxHyqAtWN7p2gSpGX7UM/wiVi62FMgLsLglSEPxBEJ8chtJ4PCvUw\ntPIqK32jwxPAg/x4KFJJgaaQ+v7M+nssdfZZbLElXXfTYoWFJjyLbQg5KA4K\nCzDTm7+2wuP/kvRddXsqtAZYIQp86O7UAXnOhe5e6AF+8mpGej/EaYqfA723\n8xWZK6o2/z2Y4IJ6/P1wQdf81CnwPz+Gxa9wFr+wqdfbdAGNXTys5H110inW\nmQhUIc0dOXdT8083+Rxl+xXRo1eVP/3saVvcIFiBNvK9OxpXo4Q6zRlkOQCP\n/lMf\r\n=zVD/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH1dq2ZsuIySFDKJOnW+nZKJ2G1WiYkQnvbVP5fD2dWhAiAmRJDvpOigg/zhgvH0pfY4sPxEz+06lW4C1imrDKqLMg=="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-client-paging_1.0.0-alpha.20220106.3_1641496136364_0.890792788575975"},"_hasShrinkwrap":false,"deprecated":"Please use @azure/core-paging"},"1.0.0-alpha.20220131.3":{"name":"@azure-rest/core-client-paging","version":"1.0.0-alpha.20220131.3","description":"A helper library which implements Autorest x-ms-pageable spec for pagination.","sdk-type":"client","main":"dist/index.js","module":"dist-esm/src/index.js","types":"types/latest/core-client-paging-rest.d.ts","browser":{"./dist-esm/src/url.js":"./dist-esm/src/url.browser.js"},"react-native":{"./dist/index.js":"./dist-esm/src/index.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:samples":"echo Obsolete","build:test":"tsc -p . && dev-tool run bundle","build":"npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-* temp types *.tgz *.log","execute:samples":"echo skipped","extract-api":"tsc -p . && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\"","integration-test:browser":"echo skipped","integration-test:node":"echo skipped","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser","test:node":"npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node","test":"npm run clean && tsc -p . && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test","unit-test:browser":"karma start --single-run","unit-test:node":"mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser"},"repository":"github:Azure/azure-sdk-for-js","keywords":["azure","cloud"],"author":"Microsoft Corporation","license":"MIT","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"homepage":"https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/","sideEffects":false,"prettier":"@azure/eslint-plugin-azure-sdk/prettier.json","dependencies":{"@azure/core-paging":"^1.2.0","@azure/core-rest-pipeline":"^1.1.0","@azure-rest/core-client":"1.0.0-beta.7","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.18.11","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","chai":"^4.2.0","cross-env":"^7.0.2","eslint":"^7.15.0","inherits":"^2.0.3","karma":"^6.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-junit-reporter":"^2.0.1","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.8","mocha":"^7.1.1","mocha-junit-reporter":"^2.0.0","prettier":"^2.5.1","rimraf":"^3.0.0","sinon":"^9.0.2","typescript":"~4.2.0","util":"^0.12.1"},"_id":"@azure-rest/core-client-paging@1.0.0-alpha.20220131.3","_integrity":"sha512-B26MQnyV7ni5ofJMZ9Dc+oQDm8XWfTN7mCcgBZEryPDgZWQlBL72fDgDQE0knA0cD5Y6BQYlbkE0o1/zharmbA==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-alpha.20220131.3.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-core-client-paging/azure-rest-core-client-paging-1.0.0-alpha.20220131.3.tgz","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-B26MQnyV7ni5ofJMZ9Dc+oQDm8XWfTN7mCcgBZEryPDgZWQlBL72fDgDQE0knA0cD5Y6BQYlbkE0o1/zharmbA==","shasum":"098d5a9e4024084e90d37959f5989b0693389e32","tarball":"https://registry.npmjs.org/@azure-rest/core-client-paging/-/core-client-paging-1.0.0-alpha.20220131.3.tgz","fileCount":15,"unpackedSize":38492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+DSHCRA9TVsSAnZWagAAO/MP/iJDBDGg/y29SqLL/eOv\nUN2NI4h6+jBw7JqjwpkMRgrtKN5/sCIFpqEek1W3VgR5T9bYGE9t6/k+rNT4\ntMuqMgu+suLf8Z/eE7Odwee7fS6o7wHq8q2DWzG87cfkwW9g38Y+9zUq4Ccs\nGQti9jItEP+67iIUF5vnlw0EG/O49X2/f9wwYPKewBGPu8vJuz2H1HtMhkt0\nqUSBBuHXXekM1ql0WZMfm56Au4MMZ7gELWGEV9QOnVz/+lTXDcOkTfeKxOgw\nSezPs9OsQROCItjLU4VxgoIxOMvj0QDC46w5hHZsoLvxGVE3sIExdJyhOmNH\nnOcPJSPoiBvI2hNWVdClQZdz8R8UP5DQM/k52WtgKrZsLpO1XGjQNct6m4qF\nMn9DYlVS0Gv8z350NxStKIwbOSZtMhoakmqnyFLRoCWCeIYpqXJ6N6kyx53e\nBN2I974JSbXrQPSY10kRWsqFFNAjoX6jw7Mpu6Iz4ghlbtiuq097QcvLoxKw\nryosFQ+wtjQHNLcwAp9w9DaDGNjiv2u1V3V3gwKs0OgGdiC0jM1NCifHXqFR\niE984PrqHeUuUW29SpcFMZ2m8fmv2fGxLaPhss5wTB2E9rpPmzLAOsvO6ZHH\nW1TKCcrJgACgSoOKxsOVt/aEoJFAxkzXhFYQ29vPatMmmnUs8Rf3g+Yqi7yZ\nRfPt\r\n=q4U+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGzyJJRb/R6Rmp7f0CsKAMzwse8JKiakvFoowvoGzYoYAiAbTfMKfgDHunn0JBLE6jGc8EhE6tPDTiWHQ1cRRbWuIA=="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-client-paging_1.0.0-alpha.20220131.3_1643656327626_0.9082586811083933"},"_hasShrinkwrap":false,"deprecated":"Please use @azure/core-paging"}},"time":{"created":"2021-07-02T18:58:54.264Z","1.0.0-alpha.20210702.4":"2021-07-02T18:58:54.723Z","modified":"2024-04-08T15:56:22.336Z","1.0.0-alpha.20210713.1":"2021-07-13T18:40:21.910Z","1.0.0-beta.1":"2021-08-06T01:11:27.609Z","1.0.0-alpha.20210809.2":"2021-08-09T18:50:29.718Z","1.0.0-alpha.20210816.6":"2021-08-16T18:53:39.777Z","1.0.0-alpha.20210820.2":"2021-08-20T18:49:40.401Z","1.0.0-alpha.20210830.2":"2021-08-30T18:17:48.107Z","1.0.0-alpha.20210903.3":"2021-09-03T18:11:21.989Z","1.0.0-alpha.20210930.2":"2021-09-30T18:11:46.598Z","1.0.0-alpha.20211103.1":"2021-11-03T19:00:21.793Z","1.0.0-alpha.20211123.3":"2021-11-23T15:58:07.907Z","1.0.0-alpha.20211214.4":"2021-12-14T19:08:21.491Z","1.0.0-alpha.20220104.5":"2022-01-04T19:12:33.844Z","1.0.0-alpha.20220106.3":"2022-01-06T19:08:56.561Z","1.0.0-alpha.20220131.3":"2022-01-31T19:12:07.992Z"},"maintainers":[{"email":"npmjs@microsoft.com","name":"microsoft1es"},{"email":"azure-sdk-npmjs@microsoft.com","name":"azure-sdk"}],"description":"A helper library which implements Autorest x-ms-pageable spec for pagination.","homepage":"https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/","keywords":["azure","cloud"],"repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"author":{"name":"Microsoft Corporation"},"bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"license":"MIT","readme":"","readmeFilename":""}