@as-pect/assembly 8.0.1 → 8.1.0

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,7 +1,7 @@
1
- Copyright 2019 Joshua Tenner
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
-
5
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
-
1
+ Copyright 2019 Joshua Tenner
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
7
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -424,7 +424,6 @@ export class Reflect {
424
424
  ) {
425
425
  return Reflect.FAILED_MATCH;
426
426
  }
427
- // @ts-expect-error: operator overload check
428
427
  if (left! == right!) return Reflect.SUCCESSFUL_MATCH;
429
428
  } else {
430
429
  if (left == right) return Reflect.SUCCESSFUL_MATCH;
@@ -692,7 +691,7 @@ function referencesEqual<T>(
692
691
  }
693
692
 
694
693
  export namespace Reflect {
695
- export const FAILED_MATCH = 0;
696
- export const SUCCESSFUL_MATCH = 1;
697
- export const DEFER_MATCH = 2;
694
+ @lazy export const FAILED_MATCH = 0;
695
+ @lazy export const SUCCESSFUL_MATCH = 1;
696
+ @lazy export const DEFER_MATCH = 2;
698
697
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@as-pect/assembly",
3
- "version": "8.0.1",
3
+ "version": "8.1.0",
4
4
  "description": "Write AssemblyScript tests at blazing fast speeds",
5
5
  "types": "types/as-pect.d.ts",
6
6
  "type": "module",
@@ -41,5 +41,6 @@
41
41
  "import": "./build/release.js",
42
42
  "types": "./build/release.d.ts"
43
43
  }
44
- }
44
+ },
45
+ "gitHead": "aa6aa77222efb41b3d9889ab190e452fa0f091c8"
45
46
  }