babel-plugin-transform-taroapi
Advanced tools
Comparing version 2.0.4 to 3.0.0-alpha.5
{ | ||
"name": "babel-plugin-transform-taroapi", | ||
"version": "2.0.4", | ||
"main": "dist/index.js", | ||
"license": "MIT", | ||
"version": "3.0.0-alpha.5", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"build": "npm run test && tsc", | ||
"dev": "jest --watch", | ||
"prepack": "npm run build", | ||
"test": "jest" | ||
"build": "tsc" | ||
}, | ||
"devDependencies": { | ||
"@tarojs/taro-h5": "2.0.4", | ||
"@types/babel-core": "^6.25.5", | ||
"@types/babel-traverse": "^6.25.4", | ||
"@types/babel-types": "^7.0.4", | ||
"@types/jest": "^23.3.13", | ||
"@types/node": "^10.12.18", | ||
"babel-core": "^6.26.3", | ||
"babel-types": "^6.26.0", | ||
"jest": "23.6.0", | ||
"ts-jest": "^23.10.5", | ||
"tslint": "^5.12.1", | ||
"tslint-config-prettier": "^1.17.0", | ||
"tslint-config-standard": "^8.0.1", | ||
"typescript": "^3.2.4" | ||
} | ||
"license": "MIT", | ||
"gitHead": "730c1bb119a57302c44a2f9fc6ebf861f92f62bb" | ||
} |
@@ -1,2 +0,2 @@ | ||
import { types as Types, PluginObj } from 'babel-core'; | ||
import { types as Types, PluginObj } from 'babel-core' | ||
@@ -7,3 +7,3 @@ const plugin = function (babel: { | ||
const t = babel.types | ||
// 这些变量需要在每个programe里重置 | ||
@@ -10,0 +10,0 @@ const invokedApis: Map<string, string> = new Map() |
@@ -20,3 +20,6 @@ { | ||
"traceResolution": false, | ||
"types": ["jest"] | ||
"types": ["jest"], | ||
"paths": { | ||
"@tarojs/taro-h5": ["../packages/taro-h5"] | ||
} | ||
}, | ||
@@ -23,0 +26,0 @@ "include": [ |
@@ -1,2 +0,2 @@ | ||
declare module "@tarojs/taro-h5/dist/taroApis" { | ||
declare module '@tarojs/taro-h5/dist/taroApis' { | ||
export const apis: { | ||
@@ -3,0 +3,0 @@ [key: string]: boolean |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
19121
8
420
2
1