Releases: n1ru4l/envelop
December 22, 2022
@envelop/[email protected]
Patch Changes
November 28, 2022
@envelop/[email protected]
Major Changes
-
#1583
f6361e86
Thanks @n1ru4l! - RemovetrackResolvers
functionality.This feature resulted in errors being reported multiple times.
In the future we might re-add it as a standalone plugin, right now we don't see any benefit from it.
Patch Changes
November 24, 2022
@envelop/[email protected]
Patch Changes
- Updated dependencies [
e2ff77ed
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
e2ff77ed
]:- @envelop/[email protected]
- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
e2ff77ed
]:- @envelop/[email protected]
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- #1587
e2ff77ed
Thanks @enisdenjo! - Don't useId
TypeScript generic utility that can cause a circular constraint error
November 15, 2022
@envelop/[email protected]
Patch Changes
October 27, 2022
@envelop/[email protected]
Patch Changes
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
-
#1571
6b48ef96
Thanks @ardatan! - Deeply check if it is an original GraphQL Error -
Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
-
Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
6b48ef96
]:- @envelop/[email protected]
October 17, 2022
@envelop/[email protected]
Patch Changes
- #1560
22f5ccfb
Thanks @enisdenjo! - Plugins with context generic for correct inheritance
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
-
#1560
22f5ccfb
Thanks @enisdenjo! - Plugins with context generic for correct inheritance -
Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
- Updated dependencies []:
- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
@envelop/[email protected]
Patch Changes
- Updated dependencies [
22f5ccfb
]:- @envelop/[email protected]
October 12, 2022
@envelop/[email protected]
Major Changes
-
#1487
dc1e24b5
Thanks @saihaj! - RemoveisIntrospectionQuery
utility -
#1487
dc1e24b5
Thanks @saihaj! - Remove async schema loading plugin. This was a mistake from beginning as we cannot asynchronouslyvalidate
andparse
since with GraphQL.js are synchronous in nature. -
#1487
dc1e24b5
Thanks @saihaj! - RemoveonResolverCalled
We decided to drop onResolverCalled hook and instead provide a new plugin that will let you hook into this phase.
import { parse, validate, execute, subscribe } from 'graphql' import { envelop, Plugin, useEngine } from '@envelop/core' + import { useOnResolve } from '@envelop/on-resolve' import { onResolverCalled } from './my-resolver' function useResolve(): Plugin { return { - onResolverCalled: onResolverCalled, + onPluginInit: ({ addPlugin }) => { + addPlugin(useOnResolve(onResolverCalled)) + }, } } const getEnveloped = envelop({ plugins: [ useEngine({ parse, validate, execute, subscribe }), // ... other plugins ... useResolve(), ], });
-
#1487
dc1e24b5
Thanks @saihaj! - DropuseTiming
pluginThis plugin was dependent on tracing the schema. As we no longer support wrap the schema out of the box we decided to drop this plugin.
-
#1487
dc1e24b5
Thanks @saihaj! - RemoveisIntrospectionDocument
utility -
#1487
dc1e24b5
Thanks @saihaj! - Drop Node v12 supportNode.js v12 is no longer supported by the Node.js team. https://github.com/nodejs/Release/#end-of-life-releases
-
#1487
dc1e24b5
Thanks @saihaj! - DropEnvelopError
classTo keep the core agnostic from a specific implementation we no longer provide the
EnvelopError
class. -
#1487
dc1e24b5
Thanks @saihaj! - RemoveuseAsyncSchema
pluginThis was a mistake from beginning as we cannot asynchronously validate and parse since with graphql these functions are synchronous in nature.
-
#1487
dc1e24b5
Thanks @saihaj! - Removegraphql
as a peer dependencyWe have built the new
envelop
to be engine agnostic.graphql-js
is no longer a peer dependency. Now you can use any spec compliant GraphQL engine withenvelop
and get the benefit of building a plugin system. We have introduced a new plugin that can be used to customize the GraphQL Engine.- import { envelop } from '@envelop/core' + import { envelop, useEngine } from '@envelop/core' + import { parse, validate, execute, subscribe } from 'graphql'; - const getEnveloped = envelop([ ... ]) + const getEnveloped = envelop({ plugins: [useEngine({ parse, validate, execute, subscribe })] })
Checkout the migration guide for more details.
-
#1487
dc1e24b5
Thanks @saihaj! - RenameuseLazyLoadedSchema
touseSchemaByContext
since the original name was vert misleading. -
#1487
dc1e24b5
Thanks @saihaj! - RemoveenableIf
utility in favor of more type safe way to conditionally enable plugins. It wasn't a great experience to have a utilityWe can easily replace usage like this:
- import { envelop, useMaskedErrors, enableIf } from '@envelop/core' + import { envelop, useMaskedErrors } from '@envelop/core' import { parse, validate, execute, subscribe } from 'graphql' const isProd = process.env.NODE_ENV === 'production' const getEnveloped = envelop({ parse, validate, execute, subscribe, plugins: [ // This plugin is enabled only in production - enableIf(isProd, useMaskedErrors()) + isProd && useMaskedErrors() ] })
-
#1487
dc1e24b5
Thanks @saihaj! - RemovehandleValidationErrors
andhandleParseErrors
options fromuseMaskedErrors
.ONLY masking validation errors OR ONLY disabling introspection errors does not make sense, as both can be abused for reverse-engineering the GraphQL schema (see https://github.com/nikitastupin/clairvoyance for reverse-engineering the schema based on validation error suggestions).
#1482 (comment)Rename
formatError
function option tomaskError
-
#1487
dc1e24b5
Thanks @saihaj! - Removed orchestrator tracingGraphQLSchema
was wrapped to provide resolvers/fields tracing from the schema. Issue with this approach was it was very specific to the underlying engine's implementation. With the new version we no longer want to depend to a specific implementation. Now users can wrap their schemas and add tracing themselves.
Minor Changes
- #1487
dc1e24b5
Thanks @saihaj! - respond to context, parse and validate errors inuseErrorHandler
plugin
@envelop/[email protected]
Major Changes
- Updated dependencies [
dc1e24b5
,dc1e24b5
,dc1e24b5
,dc1e24b5
,dc1e24b5
,dc1e24b5
,dc1e24b5
,dc1e24b5
,dc1e24b5
,dc1e24b5
,dc1e24b5
,dc1e24b5
,dc1e24b5
,dc1e24b5
]:- @envelop/[email protected]
@envelop/[email protected]
Major Changes
September 28, 2022
@envelop/[email protected]
Minor Changes
-
#1528
50f214a2
Thanks @{! - give access to execute args invalidateUser
function.This is useful in conjunction with the
fieldAuthExtension
parameter to achieve custom per field validation:import { ValidateUserFn } from '@envelop/generic-auth' const validateUser: ValidateUserFn<UserType> = async ({ user, executionArgs, fieldAuthExtension }) => { if (!user) { throw new Error(`Unauthenticated!`) } // You have access to the object define in the resolver tree, allowing to define any custom logic you want. const validate = fieldAuthExtension?.validate if (validate) { await validate({ user, variables: executionArgs.variableValues, context: executionArgs.contextValue }) } } const resolvers = { Query: { resolve: (_, { userId }) => getUser(userId), extensions: { auth: { validate: ({ user, variables, context }) => { // We can now have access to the operation and variables to decide if the user can execute the query if (user.id !== variables.userId) { throw new Error(`Unauthorized`) } } } } } } }
September 19, 2022
@envelop/[email protected]
Patch Changes
- #1526
4a583b7a
Thanks @kamilkisiela! - fix: EnvelopError was not skipped by default
August 31, 2022
@envelop/[email protected]
Minor Changes
-
#1499
1f7af02b
Thanks @viniciuspalma! - Adding tslib to package dependenciesProjects that currently are using yarn Berry with PnP or any strict dependency
resolver, that requires that all dependencies are specified on
package.json otherwise it would endue in an error if not treated correctSince https://www.typescriptlang.org/tsconfig#importHelpers is currently
being used, tslib should be exported as a dependency to external runners
get the proper import.Change on each package:
// package.json { "dependencies": { "tslib": "^2.4.0" } }
Patch Changes
-
#1496
ae7bc9a3
Thanks @ardatan! - Fix isIntrospectionDocument and isIntrospectionOperation for fragment tricks -
Updated dependencies [
1f7af02b
]:- @envelop/[email protected]
@envelop/[email protected]
Minor Changes
-
#1499
1f7af02b
Thanks @viniciuspalma! - Adding tslib to package dependenciesProjects that currently are using yarn Berry with PnP or any strict dependency
resolver, that requires that all dependencies are specified on
package.json otherwise it would endue in an error if not treated correctSince https://www.typescriptlang.org/tsconfig#importHelpers is currently
being used, tslib should be exported as a dependency to external runners
get the proper import.Change on each package:
// package.json { "dependencies": { "tslib": "^2.4.0" } }
-
Updated dependencies [
1f7af02b
,ae7bc9a3
]:- @envelop/[email protected]
@envelop/[email protected]
Minor Changes
-
#1499
1f7af02b
Thanks @viniciuspalma! - Adding tslib to package dependenciesProjects that currently are using yarn Berry with PnP or any strict dependency
resolver, that requires that all dependencies are specified on
package.json otherwise it would endue in an error if not treated correctSince https://www.typescriptlang.org/tsconfig#importHelpers is currently
being used, tslib should be exported as a dependency to external runners
get the proper import.Change on each package:
// package.json { "dependencies": { "tslib": "^2.4.0" } }
-
Updated dependencies [
1f7af02b
,ae7bc9a3
]:- @envelop/[email protected]
@envelop/[email protected]
Minor Changes
-
#1499
1f7af02b
Thanks @viniciuspalma! - Adding tslib to package dependenciesProjects that currently are using yarn Berry with PnP or any strict dependency
resolver, that requires that all dependencies are specified on
package.json otherwise it would endue in an error if not treated correctSince https://www.typescriptlang.org/tsconfig#importHelpers is currently
being used, tslib should be exported as a dependency to external runners
get the proper import.Change on each package:
// package.json { "dependencies": { "tslib": "^2.4.0" } }
-
Updated dependencies [
1f7af02b
,ae7bc9a3
]:- @envelop/[email protected]
@envelop/[email protected]
Minor Changes
-
#1499
1f7af02b
Thanks @viniciuspalma! - Adding tslib to package dependenciesProjects that currently are using yarn Berry with PnP or any strict dependency
resolver, that requires that all dependencies are specified on
package.json otherwise it would endue in an error if not treated correctSince https://www.typescriptlang.org/tsconfig#importHelpers is currently
being used, tslib should be exported as a dependency to external runners
get the proper import.Change on each package:
// package.json { "dependencies": { "tslib": "^2.4.0" } }
-
Updated dependencies [
1f7af02b
,ae7bc9a3
]:- @envelop/[email protected]
@envelop/[email protected]
Minor Changes
-
#1499
1f7af02b
Thanks @viniciuspalma! - Adding tslib to package dependenciesProjects that currently are using yarn Berry with PnP or any strict dependency
resolver, that requires that all dependencies are specified on
package.json otherwise it would endue in an error if not treated correctSince https://www.typescriptlang.org/tsconfig#importHelpers is currently
being used, tslib should be exported as a dependency to external runners
get the proper import.Change on each package:
// package.json { "dependencies": { "tslib": "^2.4.0" } }
-
Updated dependencies [
1f7af02b
,ae7bc9a3
]:- @envelop/[email protected]
@envelop/[email protected]
Minor Changes
-
#1499
1f7af02b
Thanks @viniciuspalma! - Adding tslib to package dependenciesProjects that currently are using yarn Berry with PnP or any strict dependency
resolver, that requires that all dependencies are specified on
package.json otherwise it would endue in an error if not treated correctSince https://www.typescriptlang.org/tsconfig#importHelpers is currently
being used, tslib should be exported as a dependency to external runners
get the proper import.Change on each package:
// package.json { "dependencies": { "tslib": "^2.4.0" } }
-
Updated dependencies [
1f7af02b
,ae7bc9a3
]:- @envelop/[email protected]
@envelop/[email protected]
Minor Changes
-
#1499
1f7af02b
Thanks @viniciuspalma! - Adding tslib to package dependenciesProjects that currently are using yarn Berry with PnP or any strict dependency
resolver, that requires that all dependencies are specified on
package.json otherwise it would endue in an error if not treated correctSince https://www.typescriptlang.org/tsconfig#importHelpers is currently
being used, tslib should be exported as a dependency to external runners
get the proper import.Change on each package:
// package.json { "dependencies": { "tslib": "^2.4.0" } }
-
Updated dependencies [
1f7af02b
,ae7bc9a3
]:- @envelop/[email protected]
@envelop/[email protected]
Minor Changes
-
#1499
1f7af02b
Thanks @viniciuspalma! - Adding tslib to package dependenciesProjects that currently are using yarn Berry with PnP or any strict dependency
resolver, that requires that all dependencies are specified on
package.json otherwise it would endue in an error if not treated correctSince https://www.typescriptlang.org/tsconfig#importHelpers is currently
being used, tslib should be exported as a dependency to external runners
get the proper import.Change on each package:
// package.json { "dependencies": { "tslib": "^2.4.0" } }
-
Updated dependencies [[
1f7af02b
](https://github.com/n1ru4l/envel...