@travetto/transformer 4.0.4 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 ArcSine Technologies
3
+ Copyright (c) 2020 ArcSine Technologies
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/transformer",
3
- "version": "4.0.4",
3
+ "version": "4.1.1",
4
4
  "description": "Functionality for AST transformations, with transformer registration, and general utils",
5
5
  "keywords": [
6
6
  "typescript",
@@ -24,9 +24,9 @@
24
24
  "directory": "module/transformer"
25
25
  },
26
26
  "dependencies": {
27
- "@travetto/manifest": "^4.0.3",
28
- "tslib": "^2.6.2",
29
- "typescript": "^5.4.2"
27
+ "@travetto/manifest": "^4.1.0",
28
+ "tslib": "^2.6.3",
29
+ "typescript": "^5.4.5"
30
30
  },
31
31
  "travetto": {
32
32
  "displayName": "Transformation",
@@ -131,7 +131,6 @@ export const TypeBuilder: {
131
131
  template: {
132
132
  build: (resolver, type) => {
133
133
  // If we are have a template literal type, we need to make our own type node
134
- // eslint-disable-next-line @typescript-eslint/consistent-type-assertions
135
134
  if (type.flags & ts.TypeFlags.TemplateLiteral) {
136
135
  const values: TemplateLiteralPart[] = [];
137
136
  const texts = 'texts' in type && (typeof type.texts === 'object') && Array.isArray(type.texts) ? type.texts : undefined;