@putout/plugin-tape 20.1.0 → 20.3.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.
@@ -2,4 +2,5 @@ export const report = () => `Use destructuring when require 'test' -> '{test}'`;
2
2
 
3
3
  export const replace = () => ({
4
4
  'const test = require("supertape")': 'const {test} = require("supertape")',
5
+ 'const __identifier__a = require("supertape")': 'const {test: __identifier__a} = require("supertape")',
5
6
  });
@@ -3,4 +3,5 @@ export const declare = () => ({
3
3
  stub: 'import {stub} from "supertape"',
4
4
  Test: 'import {Test} from "supertape"',
5
5
  Stub: 'import {Stub} from "supertape"',
6
+ defineEnv: 'import {defineEnv} from "supertape/env"',
6
7
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/plugin-tape",
3
- "version": "20.1.0",
3
+ "version": "20.3.0",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout plugin helps with tests",