@travetto/context 4.0.7 → 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/context",
3
- "version": "4.0.7",
3
+ "version": "4.1.1",
4
4
  "description": "Async-aware state management, maintaining context across asynchronous calls.",
5
5
  "keywords": [
6
6
  "async-hooks",
@@ -26,10 +26,10 @@
26
26
  "directory": "module/context"
27
27
  },
28
28
  "dependencies": {
29
- "@travetto/di": "^4.0.7"
29
+ "@travetto/di": "^4.1.1"
30
30
  },
31
31
  "peerDependencies": {
32
- "@travetto/test": "^4.0.7"
32
+ "@travetto/test": "^4.1.1"
33
33
  },
34
34
  "peerDependenciesMeta": {
35
35
  "@travetto/test": {
@@ -26,7 +26,6 @@ export function WithSuiteContext(data: Record<string, unknown> = {}) {
26
26
  await RootRegistry.init();
27
27
  const ctx = await DependencyRegistry.getInstance(AsyncContext);
28
28
  for (const t of SuiteRegistry.get(target).tests) {
29
- // eslint-disable-next-line @typescript-eslint/consistent-type-assertions
30
29
  const fn = wrapped(ctx, this[t.methodName] as Function);
31
30
  Object.defineProperty(fn, 'name', { value: t.methodName });
32
31
  this[t.methodName] = fn;