@integration-app/react 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- package/{dist/contexts → contexts}/integration-app-context.d.ts +0 -0
- package/{dist/contexts → contexts}/integration-app-context.js +0 -0
- package/{dist/contexts → contexts}/integration-app-context.js.map +0 -0
- package/{dist/index.d.ts → index.d.ts} +0 -0
- package/{dist/index.js → index.js} +0 -0
- package/{dist/index.js.map → index.js.map} +0 -0
- package/{dist/integrations → integrations}/index.d.ts +0 -0
- package/{dist/integrations → integrations}/index.js +0 -0
- package/{dist/integrations → integrations}/index.js.map +0 -0
- package/{dist/node_modules/scheduler → node_modules/@compwright/namecase}/LICENSE +8 -3
- package/node_modules/@compwright/namecase/README.md +49 -0
- package/node_modules/@compwright/namecase/bin/namecase +28 -0
- package/node_modules/@compwright/namecase/dist/namecase.min.js +4 -0
- package/node_modules/@compwright/namecase/dist/namecase.min.js.map +1 -0
- package/node_modules/@compwright/namecase/package.json +46 -0
- package/node_modules/@compwright/namecase/src/index.js +146 -0
- package/node_modules/@integration-app/sdk/accessors.d.ts +56 -0
- package/node_modules/@integration-app/sdk/accessors.js +104 -0
- package/node_modules/@integration-app/sdk/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-data-collections/accessors.d.ts +16 -0
- package/node_modules/@integration-app/sdk/app-data-collections/accessors.js +38 -0
- package/node_modules/@integration-app/sdk/app-data-collections/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-data-collections/api.d.ts +18 -0
- package/node_modules/@integration-app/sdk/app-data-collections/api.js +3 -0
- package/node_modules/@integration-app/sdk/app-data-collections/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-data-collections/index.d.ts +26 -0
- package/node_modules/@integration-app/sdk/app-data-collections/index.js +3 -0
- package/node_modules/@integration-app/sdk/app-data-collections/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/accessors.d.ts +16 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/accessors.js +38 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/api.d.ts +18 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/api.js +3 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/index.d.ts +21 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/index.js +3 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-events/accessors.d.ts +16 -0
- package/node_modules/@integration-app/sdk/app-events/accessors.js +38 -0
- package/node_modules/@integration-app/sdk/app-events/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-events/api.d.ts +18 -0
- package/node_modules/@integration-app/sdk/app-events/api.js +3 -0
- package/node_modules/@integration-app/sdk/app-events/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-events/index.d.ts +46 -0
- package/node_modules/@integration-app/sdk/app-events/index.js +3 -0
- package/node_modules/@integration-app/sdk/app-events/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/auth/accessors.d.ts +7 -0
- package/node_modules/@integration-app/sdk/auth/accessors.js +13 -0
- package/node_modules/@integration-app/sdk/auth/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/auth/index.d.ts +6 -0
- package/node_modules/@integration-app/sdk/auth/index.js +3 -0
- package/node_modules/@integration-app/sdk/auth/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/bundle-index.d.ts +1 -0
- package/node_modules/@integration-app/sdk/bundle-index.js +5 -0
- package/node_modules/@integration-app/sdk/bundle-index.js.map +1 -0
- package/node_modules/@integration-app/sdk/bundle.js +30163 -0
- package/node_modules/@integration-app/sdk/bundle.js.map +1 -0
- package/node_modules/@integration-app/sdk/client.d.ts +108 -0
- package/node_modules/@integration-app/sdk/client.js +248 -0
- package/node_modules/@integration-app/sdk/client.js.map +1 -0
- package/node_modules/@integration-app/sdk/connections/accessors.d.ts +13 -0
- package/node_modules/@integration-app/sdk/connections/accessors.js +39 -0
- package/node_modules/@integration-app/sdk/connections/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/connections/api.d.ts +20 -0
- package/node_modules/@integration-app/sdk/connections/api.js +17 -0
- package/node_modules/@integration-app/sdk/connections/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/connections/index.d.ts +39 -0
- package/node_modules/@integration-app/sdk/connections/index.js +13 -0
- package/node_modules/@integration-app/sdk/connections/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/connector-api/index.d.ts +2 -0
- package/node_modules/@integration-app/sdk/connector-api/index.js +9 -0
- package/node_modules/@integration-app/sdk/connector-api/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/context.d.ts +9 -0
- package/node_modules/@integration-app/sdk/data-builder/context.js +32 -0
- package/node_modules/@integration-app/sdk/data-builder/context.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/base.d.ts +9 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/base.js +59 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/base.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.d.ts +14 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.js +45 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/concat.d.ts +18 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/concat.js +36 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/concat.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/copy.d.ts +10 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/copy.js +22 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/copy.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.d.ts +11 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.js +31 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.d.ts +11 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.js +31 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.d.ts +17 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.js +24 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.d.ts +17 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.js +24 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.d.ts +10 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.js +25 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/index.d.ts +28 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/index.js +177 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.d.ts +15 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.js +41 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/last-name.d.ts +10 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/last-name.js +25 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/last-name.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.d.ts +20 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.js +24 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/map.d.ts +17 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/map.js +34 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/map.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/plain.d.ts +7 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/plain.js +20 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/plain.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/record.d.ts +10 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/record.js +23 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/record.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/schemaOption.d.ts +12 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/schemaOption.js +22 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/schemaOption.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.d.ts +15 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.js +31 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/var.d.ts +8 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/var.js +21 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/var.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/index.d.ts +2 -0
- package/node_modules/@integration-app/sdk/data-builder/index.js +17 -0
- package/node_modules/@integration-app/sdk/data-builder/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/locators.d.ts +56 -0
- package/node_modules/@integration-app/sdk/data-builder/locators.js +560 -0
- package/node_modules/@integration-app/sdk/data-builder/locators.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-collections.d.ts +36 -0
- package/node_modules/@integration-app/sdk/data-collections.js +16 -0
- package/node_modules/@integration-app/sdk/data-collections.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-filter/index.d.ts +12 -0
- package/node_modules/@integration-app/sdk/data-filter/index.js +104 -0
- package/node_modules/@integration-app/sdk/data-filter/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-filter/operators.d.ts +13 -0
- package/node_modules/@integration-app/sdk/data-filter/operators.js +140 -0
- package/node_modules/@integration-app/sdk/data-filter/operators.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-links/accessors.d.ts +20 -0
- package/node_modules/@integration-app/sdk/data-links/accessors.js +65 -0
- package/node_modules/@integration-app/sdk/data-links/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-links/api.d.ts +49 -0
- package/node_modules/@integration-app/sdk/data-links/api.js +3 -0
- package/node_modules/@integration-app/sdk/data-links/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-links/index.d.ts +35 -0
- package/node_modules/@integration-app/sdk/data-links/index.js +10 -0
- package/node_modules/@integration-app/sdk/data-links/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-locations/accessors.d.ts +10 -0
- package/node_modules/@integration-app/sdk/data-locations/accessors.js +22 -0
- package/node_modules/@integration-app/sdk/data-locations/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-locations/api.d.ts +4 -0
- package/node_modules/@integration-app/sdk/data-locations/api.js +3 -0
- package/node_modules/@integration-app/sdk/data-locations/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-locations/index.d.ts +138 -0
- package/node_modules/@integration-app/sdk/data-locations/index.js +17 -0
- package/node_modules/@integration-app/sdk/data-locations/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-schema/index.d.ts +49 -0
- package/node_modules/@integration-app/sdk/data-schema/index.js +88 -0
- package/node_modules/@integration-app/sdk/data-schema/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-sources/accessors.d.ts +29 -0
- package/node_modules/@integration-app/sdk/data-sources/accessors.js +71 -0
- package/node_modules/@integration-app/sdk/data-sources/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-sources/api.d.ts +37 -0
- package/node_modules/@integration-app/sdk/data-sources/api.js +3 -0
- package/node_modules/@integration-app/sdk/data-sources/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-sources/index.d.ts +55 -0
- package/node_modules/@integration-app/sdk/data-sources/index.js +3 -0
- package/node_modules/@integration-app/sdk/data-sources/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/datetime.d.ts +1 -0
- package/node_modules/@integration-app/sdk/datetime.js +15 -0
- package/node_modules/@integration-app/sdk/datetime.js.map +1 -0
- package/node_modules/@integration-app/sdk/entity-repository.d.ts +11 -0
- package/node_modules/@integration-app/sdk/entity-repository.js +10 -0
- package/node_modules/@integration-app/sdk/entity-repository.js.map +1 -0
- package/node_modules/@integration-app/sdk/errors.d.ts +64 -0
- package/node_modules/@integration-app/sdk/errors.js +141 -0
- package/node_modules/@integration-app/sdk/errors.js.map +1 -0
- package/node_modules/@integration-app/sdk/field-mappings/accessors.d.ts +25 -0
- package/node_modules/@integration-app/sdk/field-mappings/accessors.js +60 -0
- package/node_modules/@integration-app/sdk/field-mappings/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/field-mappings/api.d.ts +34 -0
- package/node_modules/@integration-app/sdk/field-mappings/api.js +3 -0
- package/node_modules/@integration-app/sdk/field-mappings/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/field-mappings/index.d.ts +90 -0
- package/node_modules/@integration-app/sdk/field-mappings/index.js +195 -0
- package/node_modules/@integration-app/sdk/field-mappings/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/flow-runs/flow-node-runs.d.ts +30 -0
- package/node_modules/@integration-app/sdk/flow-runs/flow-node-runs.js +11 -0
- package/node_modules/@integration-app/sdk/flow-runs/flow-node-runs.js.map +1 -0
- package/node_modules/@integration-app/sdk/flow-runs/index.d.ts +59 -0
- package/node_modules/@integration-app/sdk/flow-runs/index.js +44 -0
- package/node_modules/@integration-app/sdk/flow-runs/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/accessors.d.ts +37 -0
- package/node_modules/@integration-app/sdk/flows/accessors.js +167 -0
- package/node_modules/@integration-app/sdk/flows/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/api.d.ts +55 -0
- package/node_modules/@integration-app/sdk/flows/api.js +8 -0
- package/node_modules/@integration-app/sdk/flows/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/index.d.ts +84 -0
- package/node_modules/@integration-app/sdk/flows/index.js +26 -0
- package/node_modules/@integration-app/sdk/flows/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/api-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/api-trigger.js +9 -0
- package/node_modules/@integration-app/sdk/flows/nodes/api-trigger.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/app-event-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/app-event-trigger.js +9 -0
- package/node_modules/@integration-app/sdk/flows/nodes/app-event-trigger.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-link.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-link.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-link.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-record.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-record.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-record.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-created-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-created-trigger.js +9 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-created-trigger.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-deleted-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-deleted-trigger.js +9 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-deleted-trigger.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-updated-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-updated-trigger.js +9 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-updated-trigger.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/delete-data-record.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/delete-data-record.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/delete-data-record.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/filter.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/filter.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/filter.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-link.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-link.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-link.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-record-by-id.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-record-by-id.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-record-by-id.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-records.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-records.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-records.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/http-request.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/http-request.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/http-request.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/index.d.ts +28 -0
- package/node_modules/@integration-app/sdk/flows/nodes/index.js +50 -0
- package/node_modules/@integration-app/sdk/flows/nodes/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/list-data-records.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/list-data-records.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/list-data-records.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/schedule-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/schedule-trigger.js +9 -0
- package/node_modules/@integration-app/sdk/flows/nodes/schedule-trigger.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/transform-data.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/transform-data.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/transform-data.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/update-data-record.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/update-data-record.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/update-data-record.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/utils.d.ts +10 -0
- package/node_modules/@integration-app/sdk/flows/utils.js +72 -0
- package/node_modules/@integration-app/sdk/flows/utils.js.map +1 -0
- package/node_modules/@integration-app/sdk/http-requests.d.ts +37 -0
- package/node_modules/@integration-app/sdk/http-requests.js +33 -0
- package/node_modules/@integration-app/sdk/http-requests.js.map +1 -0
- package/node_modules/@integration-app/sdk/iframe.d.ts +9 -0
- package/node_modules/@integration-app/sdk/iframe.js +112 -0
- package/node_modules/@integration-app/sdk/iframe.js.map +1 -0
- package/node_modules/@integration-app/sdk/index.d.ts +4 -0
- package/node_modules/@integration-app/sdk/index.js +8 -0
- package/node_modules/@integration-app/sdk/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/integration-elements/index.d.ts +22 -0
- package/node_modules/@integration-app/sdk/integration-elements/index.js +15 -0
- package/node_modules/@integration-app/sdk/integration-elements/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/integrations/accessors.d.ts +17 -0
- package/node_modules/@integration-app/sdk/integrations/accessors.js +36 -0
- package/node_modules/@integration-app/sdk/integrations/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/integrations/api.d.ts +10 -0
- package/node_modules/@integration-app/sdk/integrations/api.js +3 -0
- package/node_modules/@integration-app/sdk/integrations/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/integrations/index.d.ts +27 -0
- package/node_modules/@integration-app/sdk/integrations/index.js +16 -0
- package/node_modules/@integration-app/sdk/integrations/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/json-schema/index.d.ts +32 -0
- package/node_modules/@integration-app/sdk/json-schema/index.js +207 -0
- package/node_modules/@integration-app/sdk/json-schema/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/json-schema/schema-builder.d.ts +7 -0
- package/node_modules/@integration-app/sdk/json-schema/schema-builder.js +232 -0
- package/node_modules/@integration-app/sdk/json-schema/schema-builder.js.map +1 -0
- package/node_modules/@integration-app/sdk/jwt.d.ts +1 -0
- package/node_modules/@integration-app/sdk/jwt.js +37 -0
- package/node_modules/@integration-app/sdk/jwt.js.map +1 -0
- package/node_modules/@integration-app/sdk/package.json +63 -0
- package/node_modules/@integration-app/sdk/rollup.config.js +23 -0
- package/node_modules/@integration-app/sdk/src/accessors.ts +150 -0
- package/node_modules/@integration-app/sdk/src/app-data-collections/accessors.ts +69 -0
- package/node_modules/@integration-app/sdk/src/app-data-collections/api.ts +31 -0
- package/node_modules/@integration-app/sdk/src/app-data-collections/index.ts +46 -0
- package/node_modules/@integration-app/sdk/src/app-data-schemas/accessors.ts +69 -0
- package/node_modules/@integration-app/sdk/src/app-data-schemas/api.ts +28 -0
- package/node_modules/@integration-app/sdk/src/app-data-schemas/index.ts +35 -0
- package/node_modules/@integration-app/sdk/src/app-events/accessors.ts +69 -0
- package/node_modules/@integration-app/sdk/src/app-events/api.ts +28 -0
- package/node_modules/@integration-app/sdk/src/app-events/index.ts +75 -0
- package/node_modules/@integration-app/sdk/src/auth/accessors.ts +10 -0
- package/node_modules/@integration-app/sdk/src/auth/index.ts +7 -0
- package/node_modules/@integration-app/sdk/src/bundle-index.ts +6 -0
- package/node_modules/@integration-app/sdk/src/client.ts +417 -0
- package/node_modules/@integration-app/sdk/src/connections/accessors.ts +58 -0
- package/node_modules/@integration-app/sdk/src/connections/api.ts +28 -0
- package/node_modules/@integration-app/sdk/src/connections/index.ts +70 -0
- package/node_modules/@integration-app/sdk/src/connector-api/index.ts +44 -0
- package/node_modules/@integration-app/sdk/src/data-builder/context.ts +40 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/base.test.ts +26 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/base.ts +95 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/case.test.ts +158 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/case.ts +53 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/concat.test.ts +117 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/concat.ts +49 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/copy.test.ts +70 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/copy.ts +20 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractDate.test.ts +49 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractDate.ts +28 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractTime.test.ts +49 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractTime.ts +28 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/findAppRecordId.test.ts +30 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/findAppRecordId.ts +30 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/findExternalRecordId.test.ts +30 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/findExternalRecordId.ts +30 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/first-name.ts +21 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/index.test.ts +83 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/index.ts +190 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/iterate.test.ts +154 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/iterate.ts +46 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/last-name.ts +21 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/lookup.test.ts +20 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/lookup.ts +33 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/map.test.ts +125 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/map.ts +42 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/plain.ts +17 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/record.ts +20 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/schemaOption.ts +26 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/tpl.test.ts +51 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/tpl.ts +33 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/var.ts +19 -0
- package/node_modules/@integration-app/sdk/src/data-builder/index.test.ts +372 -0
- package/node_modules/@integration-app/sdk/src/data-builder/index.ts +16 -0
- package/node_modules/@integration-app/sdk/src/data-builder/locators.test.ts +1045 -0
- package/node_modules/@integration-app/sdk/src/data-builder/locators.ts +702 -0
- package/node_modules/@integration-app/sdk/src/data-collections.ts +74 -0
- package/node_modules/@integration-app/sdk/src/data-filter/index.test.ts +48 -0
- package/node_modules/@integration-app/sdk/src/data-filter/index.ts +127 -0
- package/node_modules/@integration-app/sdk/src/data-filter/operators.test.ts +694 -0
- package/node_modules/@integration-app/sdk/src/data-filter/operators.ts +163 -0
- package/node_modules/@integration-app/sdk/src/data-links/accessors.ts +108 -0
- package/node_modules/@integration-app/sdk/src/data-links/api.ts +75 -0
- package/node_modules/@integration-app/sdk/src/data-links/index.ts +55 -0
- package/node_modules/@integration-app/sdk/src/data-locations/accessors.ts +24 -0
- package/node_modules/@integration-app/sdk/src/data-locations/api.ts +5 -0
- package/node_modules/@integration-app/sdk/src/data-locations/index.ts +209 -0
- package/node_modules/@integration-app/sdk/src/data-schema/index.test.ts +90 -0
- package/node_modules/@integration-app/sdk/src/data-schema/index.ts +185 -0
- package/node_modules/@integration-app/sdk/src/data-sources/accessors.ts +133 -0
- package/node_modules/@integration-app/sdk/src/data-sources/api.ts +59 -0
- package/node_modules/@integration-app/sdk/src/data-sources/index.ts +103 -0
- package/node_modules/@integration-app/sdk/src/datetime.ts +16 -0
- package/node_modules/@integration-app/sdk/src/entity-repository.ts +12 -0
- package/node_modules/@integration-app/sdk/src/errors.ts +154 -0
- package/node_modules/@integration-app/sdk/src/field-mappings/accessors.ts +100 -0
- package/node_modules/@integration-app/sdk/src/field-mappings/api.ts +61 -0
- package/node_modules/@integration-app/sdk/src/field-mappings/index.ts +341 -0
- package/node_modules/@integration-app/sdk/src/flow-runs/flow-node-runs.ts +53 -0
- package/node_modules/@integration-app/sdk/src/flow-runs/index.ts +102 -0
- package/node_modules/@integration-app/sdk/src/flows/accessors.ts +246 -0
- package/node_modules/@integration-app/sdk/src/flows/api.ts +71 -0
- package/node_modules/@integration-app/sdk/src/flows/index.ts +233 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/api-trigger.ts +7 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/app-event-trigger.ts +7 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/create-data-link.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/create-data-record.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/data-record-created-trigger.ts +8 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/data-record-deleted-trigger.ts +8 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/data-record-updated-trigger.ts +8 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/delete-data-record.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/filter.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/find-data-link.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/find-data-record-by-id.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/find-data-records.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/http-request.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/index.ts +60 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/list-data-records.ts +7 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/schedule-trigger.ts +7 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/transform-data.ts +7 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/update-data-record.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/utils.test.ts +63 -0
- package/node_modules/@integration-app/sdk/src/flows/utils.ts +110 -0
- package/node_modules/@integration-app/sdk/src/http-requests.ts +41 -0
- package/node_modules/@integration-app/sdk/src/iframe.ts +142 -0
- package/node_modules/@integration-app/sdk/src/index.ts +5 -0
- package/node_modules/@integration-app/sdk/src/integration-elements/index.ts +24 -0
- package/node_modules/@integration-app/sdk/src/integrations/accessors.ts +42 -0
- package/node_modules/@integration-app/sdk/src/integrations/api.ts +13 -0
- package/node_modules/@integration-app/sdk/src/integrations/index.ts +50 -0
- package/node_modules/@integration-app/sdk/src/json-schema/__snapshots__/schema-builder.test.ts.snap +167 -0
- package/node_modules/@integration-app/sdk/src/json-schema/index.ts +251 -0
- package/node_modules/@integration-app/sdk/src/json-schema/json-schema.test.ts +246 -0
- package/node_modules/@integration-app/sdk/src/json-schema/schema-builder.test.ts +396 -0
- package/node_modules/@integration-app/sdk/src/json-schema/schema-builder.ts +258 -0
- package/node_modules/@integration-app/sdk/src/jwt.test.ts +11 -0
- package/node_modules/@integration-app/sdk/src/jwt.ts +40 -0
- package/node_modules/@integration-app/sdk/src/udm/activities.test.ts +43 -0
- package/node_modules/@integration-app/sdk/src/udm/activities.ts +83 -0
- package/node_modules/@integration-app/sdk/src/udm/base.ts +88 -0
- package/node_modules/@integration-app/sdk/src/udm/campaigns.ts +72 -0
- package/node_modules/@integration-app/sdk/src/udm/companies.ts +80 -0
- package/node_modules/@integration-app/sdk/src/udm/contacts.test.ts +147 -0
- package/node_modules/@integration-app/sdk/src/udm/contacts.ts +106 -0
- package/node_modules/@integration-app/sdk/src/udm/deals.ts +90 -0
- package/node_modules/@integration-app/sdk/src/udm/index.ts +28 -0
- package/node_modules/@integration-app/sdk/src/udm/leads.ts +113 -0
- package/node_modules/@integration-app/sdk/src/udm/users.ts +92 -0
- package/node_modules/@integration-app/sdk/src/users/accessors.ts +28 -0
- package/node_modules/@integration-app/sdk/src/users/api.ts +8 -0
- package/node_modules/@integration-app/sdk/src/users/index.ts +5 -0
- package/node_modules/@integration-app/sdk/src/variables.ts +33 -0
- package/node_modules/@integration-app/sdk/src/workspaces/index.ts +5 -0
- package/node_modules/@integration-app/sdk/tsconfig.build.json +10 -0
- package/node_modules/@integration-app/sdk/tsconfig.json +19 -0
- package/node_modules/@integration-app/sdk/udm/activities.d.ts +30 -0
- package/node_modules/@integration-app/sdk/udm/activities.js +70 -0
- package/node_modules/@integration-app/sdk/udm/activities.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/base.d.ts +27 -0
- package/node_modules/@integration-app/sdk/udm/base.js +62 -0
- package/node_modules/@integration-app/sdk/udm/base.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/campaigns.d.ts +25 -0
- package/node_modules/@integration-app/sdk/udm/campaigns.js +66 -0
- package/node_modules/@integration-app/sdk/udm/campaigns.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/companies.d.ts +42 -0
- package/node_modules/@integration-app/sdk/udm/companies.js +69 -0
- package/node_modules/@integration-app/sdk/udm/companies.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/contacts.d.ts +49 -0
- package/node_modules/@integration-app/sdk/udm/contacts.js +94 -0
- package/node_modules/@integration-app/sdk/udm/contacts.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/deals.d.ts +26 -0
- package/node_modules/@integration-app/sdk/udm/deals.js +84 -0
- package/node_modules/@integration-app/sdk/udm/deals.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/index.d.ts +11 -0
- package/node_modules/@integration-app/sdk/udm/index.js +31 -0
- package/node_modules/@integration-app/sdk/udm/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/leads.d.ts +52 -0
- package/node_modules/@integration-app/sdk/udm/leads.js +101 -0
- package/node_modules/@integration-app/sdk/udm/leads.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/users.d.ts +31 -0
- package/node_modules/@integration-app/sdk/udm/users.js +81 -0
- package/node_modules/@integration-app/sdk/udm/users.js.map +1 -0
- package/node_modules/@integration-app/sdk/users/accessors.d.ts +10 -0
- package/node_modules/@integration-app/sdk/users/accessors.js +21 -0
- package/node_modules/@integration-app/sdk/users/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/users/api.d.ts +6 -0
- package/node_modules/@integration-app/sdk/users/api.js +3 -0
- package/node_modules/@integration-app/sdk/users/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/users/index.d.ts +5 -0
- package/node_modules/@integration-app/sdk/users/index.js +3 -0
- package/node_modules/@integration-app/sdk/users/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/variables.d.ts +3 -0
- package/node_modules/@integration-app/sdk/variables.js +30 -0
- package/node_modules/@integration-app/sdk/variables.js.map +1 -0
- package/node_modules/@integration-app/sdk/workspaces/index.d.ts +5 -0
- package/node_modules/@integration-app/sdk/workspaces/index.js +3 -0
- package/node_modules/@integration-app/sdk/workspaces/index.js.map +1 -0
- package/node_modules/@sinclair/typebox/package.json +40 -0
- package/node_modules/@sinclair/typebox/readme.md +740 -0
- package/node_modules/@sinclair/typebox/typebox.d.ts +351 -0
- package/node_modules/@sinclair/typebox/typebox.js +345 -0
- package/node_modules/@types/node/README.md +16 -0
- package/node_modules/@types/node/assert.d.ts +128 -0
- package/node_modules/@types/node/async_hooks.d.ts +229 -0
- package/node_modules/@types/node/buffer.d.ts +89 -0
- package/node_modules/@types/node/child_process.d.ts +514 -0
- package/node_modules/@types/node/cluster.d.ts +265 -0
- package/node_modules/@types/node/console.d.ts +142 -0
- package/node_modules/@types/node/constants.d.ts +18 -0
- package/node_modules/@types/node/crypto.d.ts +1283 -0
- package/node_modules/@types/node/dgram.d.ts +144 -0
- package/node_modules/@types/node/dns.d.ts +387 -0
- package/node_modules/@types/node/domain.d.ts +27 -0
- package/node_modules/@types/node/events.d.ts +82 -0
- package/node_modules/@types/node/fs/promises.d.ts +572 -0
- package/node_modules/@types/node/fs.d.ts +2281 -0
- package/node_modules/@types/node/globals.d.ts +747 -0
- package/node_modules/@types/node/globals.global.d.ts +1 -0
- package/node_modules/@types/node/http.d.ts +580 -0
- package/node_modules/@types/node/http2.d.ts +962 -0
- package/node_modules/@types/node/https.d.ts +271 -0
- package/node_modules/@types/node/index.d.ts +98 -0
- package/node_modules/@types/node/inspector.d.ts +3051 -0
- package/node_modules/@types/node/module.d.ts +56 -0
- package/node_modules/@types/node/net.d.ts +308 -0
- package/node_modules/@types/node/os.d.ts +243 -0
- package/node_modules/@types/node/package.json +232 -0
- package/node_modules/@types/node/path.d.ts +168 -0
- package/node_modules/@types/node/perf_hooks.d.ts +274 -0
- package/node_modules/@types/node/process.d.ts +413 -0
- package/node_modules/@types/node/punycode.d.ts +78 -0
- package/node_modules/@types/node/querystring.d.ts +31 -0
- package/node_modules/@types/node/readline.d.ts +174 -0
- package/node_modules/@types/node/repl.d.ts +398 -0
- package/node_modules/@types/node/stream.d.ts +359 -0
- package/node_modules/@types/node/string_decoder.d.ts +10 -0
- package/node_modules/@types/node/timers.d.ts +19 -0
- package/node_modules/@types/node/tls.d.ts +784 -0
- package/node_modules/@types/node/trace_events.d.ts +64 -0
- package/node_modules/@types/node/ts4.8/assert.d.ts +128 -0
- package/node_modules/@types/node/ts4.8/async_hooks.d.ts +229 -0
- package/node_modules/@types/node/ts4.8/buffer.d.ts +89 -0
- package/node_modules/@types/node/ts4.8/child_process.d.ts +514 -0
- package/node_modules/@types/node/ts4.8/cluster.d.ts +265 -0
- package/node_modules/@types/node/ts4.8/console.d.ts +142 -0
- package/node_modules/@types/node/ts4.8/constants.d.ts +18 -0
- package/node_modules/@types/node/ts4.8/crypto.d.ts +1283 -0
- package/node_modules/@types/node/ts4.8/dgram.d.ts +144 -0
- package/node_modules/@types/node/ts4.8/dns.d.ts +387 -0
- package/node_modules/@types/node/ts4.8/domain.d.ts +27 -0
- package/node_modules/@types/node/ts4.8/events.d.ts +82 -0
- package/node_modules/@types/node/ts4.8/fs/promises.d.ts +572 -0
- package/node_modules/@types/node/ts4.8/fs.d.ts +2281 -0
- package/node_modules/@types/node/ts4.8/globals.d.ts +746 -0
- package/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
- package/node_modules/@types/node/ts4.8/http.d.ts +580 -0
- package/node_modules/@types/node/ts4.8/http2.d.ts +962 -0
- package/node_modules/@types/node/ts4.8/https.d.ts +271 -0
- package/node_modules/@types/node/ts4.8/index.d.ts +53 -0
- package/node_modules/@types/node/ts4.8/inspector.d.ts +3051 -0
- package/node_modules/@types/node/ts4.8/module.d.ts +56 -0
- package/node_modules/@types/node/ts4.8/net.d.ts +308 -0
- package/node_modules/@types/node/ts4.8/os.d.ts +243 -0
- package/node_modules/@types/node/ts4.8/path.d.ts +168 -0
- package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +274 -0
- package/node_modules/@types/node/ts4.8/process.d.ts +413 -0
- package/node_modules/@types/node/ts4.8/punycode.d.ts +78 -0
- package/node_modules/@types/node/ts4.8/querystring.d.ts +31 -0
- package/node_modules/@types/node/ts4.8/readline.d.ts +174 -0
- package/node_modules/@types/node/ts4.8/repl.d.ts +398 -0
- package/node_modules/@types/node/ts4.8/stream.d.ts +359 -0
- package/node_modules/@types/node/ts4.8/string_decoder.d.ts +10 -0
- package/node_modules/@types/node/ts4.8/timers.d.ts +19 -0
- package/node_modules/@types/node/ts4.8/tls.d.ts +784 -0
- package/node_modules/@types/node/ts4.8/trace_events.d.ts +64 -0
- package/node_modules/@types/node/ts4.8/tty.d.ts +69 -0
- package/node_modules/@types/node/ts4.8/url.d.ts +149 -0
- package/node_modules/@types/node/ts4.8/util.d.ts +216 -0
- package/node_modules/@types/node/ts4.8/v8.d.ts +190 -0
- package/node_modules/@types/node/ts4.8/vm.d.ts +155 -0
- package/node_modules/@types/node/ts4.8/wasi.d.ts +89 -0
- package/node_modules/@types/node/ts4.8/worker_threads.d.ts +241 -0
- package/node_modules/@types/node/ts4.8/zlib.d.ts +364 -0
- package/node_modules/@types/node/tty.d.ts +69 -0
- package/node_modules/@types/node/url.d.ts +149 -0
- package/node_modules/@types/node/util.d.ts +216 -0
- package/node_modules/@types/node/v8.d.ts +190 -0
- package/node_modules/@types/node/vm.d.ts +155 -0
- package/node_modules/@types/node/wasi.d.ts +89 -0
- package/node_modules/@types/node/worker_threads.d.ts +241 -0
- package/node_modules/@types/node/zlib.d.ts +364 -0
- package/package.json +16 -40
- package/dist/node_modules/.package-lock.json +0 -111
- package/dist/node_modules/js-tokens/CHANGELOG.md +0 -151
- package/dist/node_modules/js-tokens/LICENSE +0 -21
- package/dist/node_modules/js-tokens/README.md +0 -240
- package/dist/node_modules/js-tokens/index.js +0 -23
- package/dist/node_modules/js-tokens/package.json +0 -30
- package/dist/node_modules/loose-envify/LICENSE +0 -21
- package/dist/node_modules/loose-envify/README.md +0 -45
- package/dist/node_modules/loose-envify/cli.js +0 -16
- package/dist/node_modules/loose-envify/custom.js +0 -4
- package/dist/node_modules/loose-envify/index.js +0 -3
- package/dist/node_modules/loose-envify/loose-envify.js +0 -36
- package/dist/node_modules/loose-envify/package.json +0 -36
- package/dist/node_modules/loose-envify/replace.js +0 -65
- package/dist/node_modules/object-assign/index.js +0 -90
- package/dist/node_modules/object-assign/license +0 -21
- package/dist/node_modules/object-assign/package.json +0 -42
- package/dist/node_modules/object-assign/readme.md +0 -61
- package/dist/node_modules/scheduler/README.md +0 -9
- package/dist/node_modules/scheduler/build-info.json +0 -8
- package/dist/node_modules/scheduler/cjs/scheduler-tracing.development.js +0 -347
- package/dist/node_modules/scheduler/cjs/scheduler-tracing.production.min.js +0 -9
- package/dist/node_modules/scheduler/cjs/scheduler-tracing.profiling.min.js +0 -16
- package/dist/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +0 -665
- package/dist/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +0 -19
- package/dist/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +0 -206
- package/dist/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +0 -13
- package/dist/node_modules/scheduler/cjs/scheduler.development.js +0 -646
- package/dist/node_modules/scheduler/cjs/scheduler.production.min.js +0 -20
- package/dist/node_modules/scheduler/index.js +0 -7
- package/dist/node_modules/scheduler/package.json +0 -40
- package/dist/node_modules/scheduler/tracing-profiling.js +0 -7
- package/dist/node_modules/scheduler/tracing.js +0 -7
- package/dist/node_modules/scheduler/umd/scheduler-tracing.development.js +0 -80
- package/dist/node_modules/scheduler/umd/scheduler-tracing.production.min.js +0 -80
- package/dist/node_modules/scheduler/umd/scheduler-tracing.profiling.min.js +0 -80
- package/dist/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +0 -664
- package/dist/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +0 -18
- package/dist/node_modules/scheduler/umd/scheduler.development.js +0 -152
- package/dist/node_modules/scheduler/umd/scheduler.production.min.js +0 -146
- package/dist/node_modules/scheduler/umd/scheduler.profiling.min.js +0 -146
- package/dist/node_modules/scheduler/unstable_mock.js +0 -7
- package/dist/node_modules/scheduler/unstable_post_task.js +0 -7
- package/dist/package.json +0 -26
@@ -1,111 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "@integration-app/react",
|
3
|
-
"version": "0.1.1",
|
4
|
-
"lockfileVersion": 2,
|
5
|
-
"requires": true,
|
6
|
-
"packages": {
|
7
|
-
"../../../../../../../sdk": {
|
8
|
-
"extraneous": true
|
9
|
-
},
|
10
|
-
"../../sdk": {
|
11
|
-
"name": "@integration-app/sdk",
|
12
|
-
"version": "0.16.6",
|
13
|
-
"dependencies": {
|
14
|
-
"@sinclair/typebox": "^0.23.4",
|
15
|
-
"axios": "^0.21.4",
|
16
|
-
"insert-css": "^2.0.0",
|
17
|
-
"js-convert-case": "^4.2.0",
|
18
|
-
"lodash": "^4.17.21",
|
19
|
-
"penpal": "^6.2.1",
|
20
|
-
"phone": "^3.1.22",
|
21
|
-
"pusher-js": "^7.0.3",
|
22
|
-
"query-string": "^7.1.1",
|
23
|
-
"split-human-name": "^2.0.12",
|
24
|
-
"tslib": "^2.3.1",
|
25
|
-
"url-join": "^4.0.1"
|
26
|
-
},
|
27
|
-
"devDependencies": {
|
28
|
-
"@types/insert-css": "^2.0.0",
|
29
|
-
"@types/jest": "^27.0.2",
|
30
|
-
"eslint-plugin-jest": "^24.4.0",
|
31
|
-
"jest": "^27.3.1",
|
32
|
-
"rollup": "^2.52.8",
|
33
|
-
"rollup-plugin-commonjs": "^10.1.0",
|
34
|
-
"rollup-plugin-json": "^4.0.0",
|
35
|
-
"rollup-plugin-node-resolve": "^5.2.0",
|
36
|
-
"ts-jest": "^27.0.7",
|
37
|
-
"ts-node": "^10.2.0",
|
38
|
-
"tsconfig-paths": "^3.10.1",
|
39
|
-
"typescript": "^4.3.5"
|
40
|
-
}
|
41
|
-
},
|
42
|
-
"node_modules/@integration-app/sdk": {
|
43
|
-
"resolved": "../../sdk",
|
44
|
-
"link": true
|
45
|
-
},
|
46
|
-
"node_modules/js-tokens": {
|
47
|
-
"version": "4.0.0",
|
48
|
-
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
|
49
|
-
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
|
50
|
-
"peer": true
|
51
|
-
},
|
52
|
-
"node_modules/loose-envify": {
|
53
|
-
"version": "1.4.0",
|
54
|
-
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
|
55
|
-
"integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
|
56
|
-
"peer": true,
|
57
|
-
"dependencies": {
|
58
|
-
"js-tokens": "^3.0.0 || ^4.0.0"
|
59
|
-
},
|
60
|
-
"bin": {
|
61
|
-
"loose-envify": "cli.js"
|
62
|
-
}
|
63
|
-
},
|
64
|
-
"node_modules/object-assign": {
|
65
|
-
"version": "4.1.1",
|
66
|
-
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
|
67
|
-
"integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
|
68
|
-
"peer": true,
|
69
|
-
"engines": {
|
70
|
-
"node": ">=0.10.0"
|
71
|
-
}
|
72
|
-
},
|
73
|
-
"node_modules/react": {
|
74
|
-
"version": "17.0.2",
|
75
|
-
"resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz",
|
76
|
-
"integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==",
|
77
|
-
"peer": true,
|
78
|
-
"dependencies": {
|
79
|
-
"loose-envify": "^1.1.0",
|
80
|
-
"object-assign": "^4.1.1"
|
81
|
-
},
|
82
|
-
"engines": {
|
83
|
-
"node": ">=0.10.0"
|
84
|
-
}
|
85
|
-
},
|
86
|
-
"node_modules/react-dom": {
|
87
|
-
"version": "17.0.2",
|
88
|
-
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz",
|
89
|
-
"integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==",
|
90
|
-
"peer": true,
|
91
|
-
"dependencies": {
|
92
|
-
"loose-envify": "^1.1.0",
|
93
|
-
"object-assign": "^4.1.1",
|
94
|
-
"scheduler": "^0.20.2"
|
95
|
-
},
|
96
|
-
"peerDependencies": {
|
97
|
-
"react": "17.0.2"
|
98
|
-
}
|
99
|
-
},
|
100
|
-
"node_modules/scheduler": {
|
101
|
-
"version": "0.20.2",
|
102
|
-
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz",
|
103
|
-
"integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==",
|
104
|
-
"peer": true,
|
105
|
-
"dependencies": {
|
106
|
-
"loose-envify": "^1.1.0",
|
107
|
-
"object-assign": "^4.1.1"
|
108
|
-
}
|
109
|
-
}
|
110
|
-
}
|
111
|
-
}
|
@@ -1,151 +0,0 @@
|
|
1
|
-
### Version 4.0.0 (2018-01-28) ###
|
2
|
-
|
3
|
-
- Added: Support for ES2018. The only change needed was recognizing the `s`
|
4
|
-
regex flag.
|
5
|
-
- Changed: _All_ tokens returned by the `matchToToken` function now have a
|
6
|
-
`closed` property. It is set to `undefined` for the tokens where “closed”
|
7
|
-
doesn’t make sense. This means that all tokens objects have the same shape,
|
8
|
-
which might improve performance.
|
9
|
-
|
10
|
-
These are the breaking changes:
|
11
|
-
|
12
|
-
- `'/a/s'.match(jsTokens)` no longer returns `['/', 'a', '/', 's']`, but
|
13
|
-
`['/a/s']`. (There are of course other variations of this.)
|
14
|
-
- Code that rely on some token objects not having the `closed` property could
|
15
|
-
now behave differently.
|
16
|
-
|
17
|
-
|
18
|
-
### Version 3.0.2 (2017-06-28) ###
|
19
|
-
|
20
|
-
- No code changes. Just updates to the readme.
|
21
|
-
|
22
|
-
|
23
|
-
### Version 3.0.1 (2017-01-30) ###
|
24
|
-
|
25
|
-
- Fixed: ES2015 unicode escapes with more than 6 hex digits are now matched
|
26
|
-
correctly.
|
27
|
-
|
28
|
-
|
29
|
-
### Version 3.0.0 (2017-01-11) ###
|
30
|
-
|
31
|
-
This release contains one breaking change, that should [improve performance in
|
32
|
-
V8][v8-perf]:
|
33
|
-
|
34
|
-
> So how can you, as a JavaScript developer, ensure that your RegExps are fast?
|
35
|
-
> If you are not interested in hooking into RegExp internals, make sure that
|
36
|
-
> neither the RegExp instance, nor its prototype is modified in order to get the
|
37
|
-
> best performance:
|
38
|
-
>
|
39
|
-
> ```js
|
40
|
-
> var re = /./g;
|
41
|
-
> re.exec(''); // Fast path.
|
42
|
-
> re.new_property = 'slow';
|
43
|
-
> ```
|
44
|
-
|
45
|
-
This module used to export a single regex, with `.matchToToken` bolted
|
46
|
-
on, just like in the above example. This release changes the exports of
|
47
|
-
the module to avoid this issue.
|
48
|
-
|
49
|
-
Before:
|
50
|
-
|
51
|
-
```js
|
52
|
-
import jsTokens from "js-tokens"
|
53
|
-
// or:
|
54
|
-
var jsTokens = require("js-tokens")
|
55
|
-
var matchToToken = jsTokens.matchToToken
|
56
|
-
```
|
57
|
-
|
58
|
-
After:
|
59
|
-
|
60
|
-
```js
|
61
|
-
import jsTokens, {matchToToken} from "js-tokens"
|
62
|
-
// or:
|
63
|
-
var jsTokens = require("js-tokens").default
|
64
|
-
var matchToToken = require("js-tokens").matchToToken
|
65
|
-
```
|
66
|
-
|
67
|
-
[v8-perf]: http://v8project.blogspot.se/2017/01/speeding-up-v8-regular-expressions.html
|
68
|
-
|
69
|
-
|
70
|
-
### Version 2.0.0 (2016-06-19) ###
|
71
|
-
|
72
|
-
- Added: Support for ES2016. In other words, support for the `**` exponentiation
|
73
|
-
operator.
|
74
|
-
|
75
|
-
These are the breaking changes:
|
76
|
-
|
77
|
-
- `'**'.match(jsTokens)` no longer returns `['*', '*']`, but `['**']`.
|
78
|
-
- `'**='.match(jsTokens)` no longer returns `['*', '*=']`, but `['**=']`.
|
79
|
-
|
80
|
-
|
81
|
-
### Version 1.0.3 (2016-03-27) ###
|
82
|
-
|
83
|
-
- Improved: Made the regex ever so slightly smaller.
|
84
|
-
- Updated: The readme.
|
85
|
-
|
86
|
-
|
87
|
-
### Version 1.0.2 (2015-10-18) ###
|
88
|
-
|
89
|
-
- Improved: Limited npm package contents for a smaller download. Thanks to
|
90
|
-
@zertosh!
|
91
|
-
|
92
|
-
|
93
|
-
### Version 1.0.1 (2015-06-20) ###
|
94
|
-
|
95
|
-
- Fixed: Declared an undeclared variable.
|
96
|
-
|
97
|
-
|
98
|
-
### Version 1.0.0 (2015-02-26) ###
|
99
|
-
|
100
|
-
- Changed: Merged the 'operator' and 'punctuation' types into 'punctuator'. That
|
101
|
-
type is now equivalent to the Punctuator token in the ECMAScript
|
102
|
-
specification. (Backwards-incompatible change.)
|
103
|
-
- Fixed: A `-` followed by a number is now correctly matched as a punctuator
|
104
|
-
followed by a number. It used to be matched as just a number, but there is no
|
105
|
-
such thing as negative number literals. (Possibly backwards-incompatible
|
106
|
-
change.)
|
107
|
-
|
108
|
-
|
109
|
-
### Version 0.4.1 (2015-02-21) ###
|
110
|
-
|
111
|
-
- Added: Support for the regex `u` flag.
|
112
|
-
|
113
|
-
|
114
|
-
### Version 0.4.0 (2015-02-21) ###
|
115
|
-
|
116
|
-
- Improved: `jsTokens.matchToToken` performance.
|
117
|
-
- Added: Support for octal and binary number literals.
|
118
|
-
- Added: Support for template strings.
|
119
|
-
|
120
|
-
|
121
|
-
### Version 0.3.1 (2015-01-06) ###
|
122
|
-
|
123
|
-
- Fixed: Support for unicode spaces. They used to be allowed in names (which is
|
124
|
-
very confusing), and some unicode newlines were wrongly allowed in strings and
|
125
|
-
regexes.
|
126
|
-
|
127
|
-
|
128
|
-
### Version 0.3.0 (2014-12-19) ###
|
129
|
-
|
130
|
-
- Changed: The `jsTokens.names` array has been replaced with the
|
131
|
-
`jsTokens.matchToToken` function. The capturing groups of `jsTokens` are no
|
132
|
-
longer part of the public API; instead use said function. See this [gist] for
|
133
|
-
an example. (Backwards-incompatible change.)
|
134
|
-
- Changed: The empty string is now considered an “invalid” token, instead an
|
135
|
-
“empty” token (its own group). (Backwards-incompatible change.)
|
136
|
-
- Removed: component support. (Backwards-incompatible change.)
|
137
|
-
|
138
|
-
[gist]: https://gist.github.com/lydell/be49dbf80c382c473004
|
139
|
-
|
140
|
-
|
141
|
-
### Version 0.2.0 (2014-06-19) ###
|
142
|
-
|
143
|
-
- Changed: Match ES6 function arrows (`=>`) as an operator, instead of its own
|
144
|
-
category (“functionArrow”), for simplicity. (Backwards-incompatible change.)
|
145
|
-
- Added: ES6 splats (`...`) are now matched as an operator (instead of three
|
146
|
-
punctuations). (Backwards-incompatible change.)
|
147
|
-
|
148
|
-
|
149
|
-
### Version 0.1.0 (2014-03-08) ###
|
150
|
-
|
151
|
-
- Initial release.
|
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2014, 2015, 2016, 2017, 2018 Simon Lydell
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
@@ -1,240 +0,0 @@
|
|
1
|
-
Overview [![Build Status](https://travis-ci.org/lydell/js-tokens.svg?branch=master)](https://travis-ci.org/lydell/js-tokens)
|
2
|
-
========
|
3
|
-
|
4
|
-
A regex that tokenizes JavaScript.
|
5
|
-
|
6
|
-
```js
|
7
|
-
var jsTokens = require("js-tokens").default
|
8
|
-
|
9
|
-
var jsString = "var foo=opts.foo;\n..."
|
10
|
-
|
11
|
-
jsString.match(jsTokens)
|
12
|
-
// ["var", " ", "foo", "=", "opts", ".", "foo", ";", "\n", ...]
|
13
|
-
```
|
14
|
-
|
15
|
-
|
16
|
-
Installation
|
17
|
-
============
|
18
|
-
|
19
|
-
`npm install js-tokens`
|
20
|
-
|
21
|
-
```js
|
22
|
-
import jsTokens from "js-tokens"
|
23
|
-
// or:
|
24
|
-
var jsTokens = require("js-tokens").default
|
25
|
-
```
|
26
|
-
|
27
|
-
|
28
|
-
Usage
|
29
|
-
=====
|
30
|
-
|
31
|
-
### `jsTokens` ###
|
32
|
-
|
33
|
-
A regex with the `g` flag that matches JavaScript tokens.
|
34
|
-
|
35
|
-
The regex _always_ matches, even invalid JavaScript and the empty string.
|
36
|
-
|
37
|
-
The next match is always directly after the previous.
|
38
|
-
|
39
|
-
### `var token = matchToToken(match)` ###
|
40
|
-
|
41
|
-
```js
|
42
|
-
import {matchToToken} from "js-tokens"
|
43
|
-
// or:
|
44
|
-
var matchToToken = require("js-tokens").matchToToken
|
45
|
-
```
|
46
|
-
|
47
|
-
Takes a `match` returned by `jsTokens.exec(string)`, and returns a `{type:
|
48
|
-
String, value: String}` object. The following types are available:
|
49
|
-
|
50
|
-
- string
|
51
|
-
- comment
|
52
|
-
- regex
|
53
|
-
- number
|
54
|
-
- name
|
55
|
-
- punctuator
|
56
|
-
- whitespace
|
57
|
-
- invalid
|
58
|
-
|
59
|
-
Multi-line comments and strings also have a `closed` property indicating if the
|
60
|
-
token was closed or not (see below).
|
61
|
-
|
62
|
-
Comments and strings both come in several flavors. To distinguish them, check if
|
63
|
-
the token starts with `//`, `/*`, `'`, `"` or `` ` ``.
|
64
|
-
|
65
|
-
Names are ECMAScript IdentifierNames, that is, including both identifiers and
|
66
|
-
keywords. You may use [is-keyword-js] to tell them apart.
|
67
|
-
|
68
|
-
Whitespace includes both line terminators and other whitespace.
|
69
|
-
|
70
|
-
[is-keyword-js]: https://github.com/crissdev/is-keyword-js
|
71
|
-
|
72
|
-
|
73
|
-
ECMAScript support
|
74
|
-
==================
|
75
|
-
|
76
|
-
The intention is to always support the latest ECMAScript version whose feature
|
77
|
-
set has been finalized.
|
78
|
-
|
79
|
-
If adding support for a newer version requires changes, a new version with a
|
80
|
-
major verion bump will be released.
|
81
|
-
|
82
|
-
Currently, ECMAScript 2018 is supported.
|
83
|
-
|
84
|
-
|
85
|
-
Invalid code handling
|
86
|
-
=====================
|
87
|
-
|
88
|
-
Unterminated strings are still matched as strings. JavaScript strings cannot
|
89
|
-
contain (unescaped) newlines, so unterminated strings simply end at the end of
|
90
|
-
the line. Unterminated template strings can contain unescaped newlines, though,
|
91
|
-
so they go on to the end of input.
|
92
|
-
|
93
|
-
Unterminated multi-line comments are also still matched as comments. They
|
94
|
-
simply go on to the end of the input.
|
95
|
-
|
96
|
-
Unterminated regex literals are likely matched as division and whatever is
|
97
|
-
inside the regex.
|
98
|
-
|
99
|
-
Invalid ASCII characters have their own capturing group.
|
100
|
-
|
101
|
-
Invalid non-ASCII characters are treated as names, to simplify the matching of
|
102
|
-
names (except unicode spaces which are treated as whitespace). Note: See also
|
103
|
-
the [ES2018](#es2018) section.
|
104
|
-
|
105
|
-
Regex literals may contain invalid regex syntax. They are still matched as
|
106
|
-
regex literals. They may also contain repeated regex flags, to keep the regex
|
107
|
-
simple.
|
108
|
-
|
109
|
-
Strings may contain invalid escape sequences.
|
110
|
-
|
111
|
-
|
112
|
-
Limitations
|
113
|
-
===========
|
114
|
-
|
115
|
-
Tokenizing JavaScript using regexes—in fact, _one single regex_—won’t be
|
116
|
-
perfect. But that’s not the point either.
|
117
|
-
|
118
|
-
You may compare jsTokens with [esprima] by using `esprima-compare.js`.
|
119
|
-
See `npm run esprima-compare`!
|
120
|
-
|
121
|
-
[esprima]: http://esprima.org/
|
122
|
-
|
123
|
-
### Template string interpolation ###
|
124
|
-
|
125
|
-
Template strings are matched as single tokens, from the starting `` ` `` to the
|
126
|
-
ending `` ` ``, including interpolations (whose tokens are not matched
|
127
|
-
individually).
|
128
|
-
|
129
|
-
Matching template string interpolations requires recursive balancing of `{` and
|
130
|
-
`}`—something that JavaScript regexes cannot do. Only one level of nesting is
|
131
|
-
supported.
|
132
|
-
|
133
|
-
### Division and regex literals collision ###
|
134
|
-
|
135
|
-
Consider this example:
|
136
|
-
|
137
|
-
```js
|
138
|
-
var g = 9.82
|
139
|
-
var number = bar / 2/g
|
140
|
-
|
141
|
-
var regex = / 2/g
|
142
|
-
```
|
143
|
-
|
144
|
-
A human can easily understand that in the `number` line we’re dealing with
|
145
|
-
division, and in the `regex` line we’re dealing with a regex literal. How come?
|
146
|
-
Because humans can look at the whole code to put the `/` characters in context.
|
147
|
-
A JavaScript regex cannot. It only sees forwards. (Well, ES2018 regexes can also
|
148
|
-
look backwards. See the [ES2018](#es2018) section).
|
149
|
-
|
150
|
-
When the `jsTokens` regex scans throught the above, it will see the following
|
151
|
-
at the end of both the `number` and `regex` rows:
|
152
|
-
|
153
|
-
```js
|
154
|
-
/ 2/g
|
155
|
-
```
|
156
|
-
|
157
|
-
It is then impossible to know if that is a regex literal, or part of an
|
158
|
-
expression dealing with division.
|
159
|
-
|
160
|
-
Here is a similar case:
|
161
|
-
|
162
|
-
```js
|
163
|
-
foo /= 2/g
|
164
|
-
foo(/= 2/g)
|
165
|
-
```
|
166
|
-
|
167
|
-
The first line divides the `foo` variable with `2/g`. The second line calls the
|
168
|
-
`foo` function with the regex literal `/= 2/g`. Again, since `jsTokens` only
|
169
|
-
sees forwards, it cannot tell the two cases apart.
|
170
|
-
|
171
|
-
There are some cases where we _can_ tell division and regex literals apart,
|
172
|
-
though.
|
173
|
-
|
174
|
-
First off, we have the simple cases where there’s only one slash in the line:
|
175
|
-
|
176
|
-
```js
|
177
|
-
var foo = 2/g
|
178
|
-
foo /= 2
|
179
|
-
```
|
180
|
-
|
181
|
-
Regex literals cannot contain newlines, so the above cases are correctly
|
182
|
-
identified as division. Things are only problematic when there are more than
|
183
|
-
one non-comment slash in a single line.
|
184
|
-
|
185
|
-
Secondly, not every character is a valid regex flag.
|
186
|
-
|
187
|
-
```js
|
188
|
-
var number = bar / 2/e
|
189
|
-
```
|
190
|
-
|
191
|
-
The above example is also correctly identified as division, because `e` is not a
|
192
|
-
valid regex flag. I initially wanted to future-proof by allowing `[a-zA-Z]*`
|
193
|
-
(any letter) as flags, but it is not worth it since it increases the amount of
|
194
|
-
ambigous cases. So only the standard `g`, `m`, `i`, `y` and `u` flags are
|
195
|
-
allowed. This means that the above example will be identified as division as
|
196
|
-
long as you don’t rename the `e` variable to some permutation of `gmiyus` 1 to 6
|
197
|
-
characters long.
|
198
|
-
|
199
|
-
Lastly, we can look _forward_ for information.
|
200
|
-
|
201
|
-
- If the token following what looks like a regex literal is not valid after a
|
202
|
-
regex literal, but is valid in a division expression, then the regex literal
|
203
|
-
is treated as division instead. For example, a flagless regex cannot be
|
204
|
-
followed by a string, number or name, but all of those three can be the
|
205
|
-
denominator of a division.
|
206
|
-
- Generally, if what looks like a regex literal is followed by an operator, the
|
207
|
-
regex literal is treated as division instead. This is because regexes are
|
208
|
-
seldomly used with operators (such as `+`, `*`, `&&` and `==`), but division
|
209
|
-
could likely be part of such an expression.
|
210
|
-
|
211
|
-
Please consult the regex source and the test cases for precise information on
|
212
|
-
when regex or division is matched (should you need to know). In short, you
|
213
|
-
could sum it up as:
|
214
|
-
|
215
|
-
If the end of a statement looks like a regex literal (even if it isn’t), it
|
216
|
-
will be treated as one. Otherwise it should work as expected (if you write sane
|
217
|
-
code).
|
218
|
-
|
219
|
-
### ES2018 ###
|
220
|
-
|
221
|
-
ES2018 added some nice regex improvements to the language.
|
222
|
-
|
223
|
-
- [Unicode property escapes] should allow telling names and invalid non-ASCII
|
224
|
-
characters apart without blowing up the regex size.
|
225
|
-
- [Lookbehind assertions] should allow matching telling division and regex
|
226
|
-
literals apart in more cases.
|
227
|
-
- [Named capture groups] might simplify some things.
|
228
|
-
|
229
|
-
These things would be nice to do, but are not critical. They probably have to
|
230
|
-
wait until the oldest maintained Node.js LTS release supports those features.
|
231
|
-
|
232
|
-
[Unicode property escapes]: http://2ality.com/2017/07/regexp-unicode-property-escapes.html
|
233
|
-
[Lookbehind assertions]: http://2ality.com/2017/05/regexp-lookbehind-assertions.html
|
234
|
-
[Named capture groups]: http://2ality.com/2017/05/regexp-named-capture-groups.html
|
235
|
-
|
236
|
-
|
237
|
-
License
|
238
|
-
=======
|
239
|
-
|
240
|
-
[MIT](LICENSE).
|
@@ -1,23 +0,0 @@
|
|
1
|
-
// Copyright 2014, 2015, 2016, 2017, 2018 Simon Lydell
|
2
|
-
// License: MIT. (See LICENSE.)
|
3
|
-
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
5
|
-
value: true
|
6
|
-
})
|
7
|
-
|
8
|
-
// This regex comes from regex.coffee, and is inserted here by generate-index.js
|
9
|
-
// (run `npm run build`).
|
10
|
-
exports.default = /((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g
|
11
|
-
|
12
|
-
exports.matchToToken = function(match) {
|
13
|
-
var token = {type: "invalid", value: match[0], closed: undefined}
|
14
|
-
if (match[ 1]) token.type = "string" , token.closed = !!(match[3] || match[4])
|
15
|
-
else if (match[ 5]) token.type = "comment"
|
16
|
-
else if (match[ 6]) token.type = "comment", token.closed = !!match[7]
|
17
|
-
else if (match[ 8]) token.type = "regex"
|
18
|
-
else if (match[ 9]) token.type = "number"
|
19
|
-
else if (match[10]) token.type = "name"
|
20
|
-
else if (match[11]) token.type = "punctuator"
|
21
|
-
else if (match[12]) token.type = "whitespace"
|
22
|
-
return token
|
23
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "js-tokens",
|
3
|
-
"version": "4.0.0",
|
4
|
-
"author": "Simon Lydell",
|
5
|
-
"license": "MIT",
|
6
|
-
"description": "A regex that tokenizes JavaScript.",
|
7
|
-
"keywords": [
|
8
|
-
"JavaScript",
|
9
|
-
"js",
|
10
|
-
"token",
|
11
|
-
"tokenize",
|
12
|
-
"regex"
|
13
|
-
],
|
14
|
-
"files": [
|
15
|
-
"index.js"
|
16
|
-
],
|
17
|
-
"repository": "lydell/js-tokens",
|
18
|
-
"scripts": {
|
19
|
-
"test": "mocha --ui tdd",
|
20
|
-
"esprima-compare": "node esprima-compare ./index.js everything.js/es5.js",
|
21
|
-
"build": "node generate-index.js",
|
22
|
-
"dev": "npm run build && npm test"
|
23
|
-
},
|
24
|
-
"devDependencies": {
|
25
|
-
"coffeescript": "2.1.1",
|
26
|
-
"esprima": "4.0.0",
|
27
|
-
"everything.js": "1.0.3",
|
28
|
-
"mocha": "5.0.0"
|
29
|
-
}
|
30
|
-
}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2015 Andres Suarez <zertosh@gmail.com>
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
@@ -1,45 +0,0 @@
|
|
1
|
-
# loose-envify
|
2
|
-
|
3
|
-
[![Build Status](https://travis-ci.org/zertosh/loose-envify.svg?branch=master)](https://travis-ci.org/zertosh/loose-envify)
|
4
|
-
|
5
|
-
Fast (and loose) selective `process.env` replacer using [js-tokens](https://github.com/lydell/js-tokens) instead of an AST. Works just like [envify](https://github.com/hughsk/envify) but much faster.
|
6
|
-
|
7
|
-
## Gotchas
|
8
|
-
|
9
|
-
* Doesn't handle broken syntax.
|
10
|
-
* Doesn't look inside embedded expressions in template strings.
|
11
|
-
- **this won't work:**
|
12
|
-
```js
|
13
|
-
console.log(`the current env is ${process.env.NODE_ENV}`);
|
14
|
-
```
|
15
|
-
* Doesn't replace oddly-spaced or oddly-commented expressions.
|
16
|
-
- **this won't work:**
|
17
|
-
```js
|
18
|
-
console.log(process./*won't*/env./*work*/NODE_ENV);
|
19
|
-
```
|
20
|
-
|
21
|
-
## Usage/Options
|
22
|
-
|
23
|
-
loose-envify has the exact same interface as [envify](https://github.com/hughsk/envify), including the CLI.
|
24
|
-
|
25
|
-
## Benchmark
|
26
|
-
|
27
|
-
```
|
28
|
-
envify:
|
29
|
-
|
30
|
-
$ for i in {1..5}; do node bench/bench.js 'envify'; done
|
31
|
-
708ms
|
32
|
-
727ms
|
33
|
-
791ms
|
34
|
-
719ms
|
35
|
-
720ms
|
36
|
-
|
37
|
-
loose-envify:
|
38
|
-
|
39
|
-
$ for i in {1..5}; do node bench/bench.js '../'; done
|
40
|
-
51ms
|
41
|
-
52ms
|
42
|
-
52ms
|
43
|
-
52ms
|
44
|
-
52ms
|
45
|
-
```
|
@@ -1,16 +0,0 @@
|
|
1
|
-
#!/usr/bin/env node
|
2
|
-
'use strict';
|
3
|
-
|
4
|
-
var looseEnvify = require('./');
|
5
|
-
var fs = require('fs');
|
6
|
-
|
7
|
-
if (process.argv[2]) {
|
8
|
-
fs.createReadStream(process.argv[2], {encoding: 'utf8'})
|
9
|
-
.pipe(looseEnvify(process.argv[2]))
|
10
|
-
.pipe(process.stdout);
|
11
|
-
} else {
|
12
|
-
process.stdin.resume()
|
13
|
-
process.stdin
|
14
|
-
.pipe(looseEnvify(__filename))
|
15
|
-
.pipe(process.stdout);
|
16
|
-
}
|