babel-plugin-transform-taroapi
Advanced tools
Comparing version 3.8.0-canary.0 to 3.8.0-canary.1
@@ -14,3 +14,3 @@ "use strict"; | ||
return false; | ||
const o = (0, lodash_1.set)({}, scheme, true); | ||
const o = (0, lodash_1.setWith)({}, scheme, true, Object); | ||
return (0, lodash_1.isMatchWith)(definition, o, (a, b) => { | ||
@@ -17,0 +17,0 @@ if (a === '*' || b === true) |
{ | ||
"name": "babel-plugin-transform-taroapi", | ||
"version": "3.8.0-canary.0", | ||
"version": "3.8.0-canary.1", | ||
"main": "dist/index.js", | ||
@@ -21,3 +21,3 @@ "dependencies": { | ||
"test": "cross-env NODE_ENV=jest jest", | ||
"test:ci": "cross-env NODE_ENV=jest jest --ci -i", | ||
"test:ci": "cross-env NODE_ENV=jest jest --ci -i --coverage --silent", | ||
"test:dev": "cross-env NODE_ENV=jest jest --watch", | ||
@@ -24,0 +24,0 @@ "test:coverage": "cross-env NODE_ENV=jest jest --coverage", |
@@ -1,2 +0,2 @@ | ||
import { isMatchWith, set } from 'lodash' | ||
import { isMatchWith, setWith } from 'lodash' | ||
@@ -25,3 +25,3 @@ import type * as BabelCore from '@babel/core' | ||
if (!scheme) return false | ||
const o = set({}, scheme, true) | ||
const o = setWith({}, scheme, true, Object) | ||
return isMatchWith(definition, o, (a, b) => { | ||
@@ -28,0 +28,0 @@ if (a === '*' || b === true) return true |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
130581
14
3772
1