Comparing version 0.0.161 to 0.0.165-beta.0
@@ -12,3 +12,3 @@ 'use strict'; | ||
get: function get() { | ||
return _interopRequireDefault(_band).default; | ||
return babelHelpers.interopRequireDefault(_band).default; | ||
} | ||
@@ -22,3 +22,3 @@ }); | ||
get: function get() { | ||
return _interopRequireDefault(_point).default; | ||
return babelHelpers.interopRequireDefault(_point).default; | ||
} | ||
@@ -32,3 +32,3 @@ }); | ||
get: function get() { | ||
return _interopRequireDefault(_linear).default; | ||
return babelHelpers.interopRequireDefault(_linear).default; | ||
} | ||
@@ -42,3 +42,3 @@ }); | ||
get: function get() { | ||
return _interopRequireDefault(_time).default; | ||
return babelHelpers.interopRequireDefault(_time).default; | ||
} | ||
@@ -52,3 +52,3 @@ }); | ||
get: function get() { | ||
return _interopRequireDefault(_utc).default; | ||
return babelHelpers.interopRequireDefault(_utc).default; | ||
} | ||
@@ -62,3 +62,3 @@ }); | ||
get: function get() { | ||
return _interopRequireDefault(_log).default; | ||
return babelHelpers.interopRequireDefault(_log).default; | ||
} | ||
@@ -72,3 +72,3 @@ }); | ||
get: function get() { | ||
return _interopRequireDefault(_power).default; | ||
return babelHelpers.interopRequireDefault(_power).default; | ||
} | ||
@@ -82,3 +82,3 @@ }); | ||
get: function get() { | ||
return _interopRequireDefault(_ordinal).default; | ||
return babelHelpers.interopRequireDefault(_ordinal).default; | ||
} | ||
@@ -92,3 +92,3 @@ }); | ||
get: function get() { | ||
return _interopRequireDefault(_quantize).default; | ||
return babelHelpers.interopRequireDefault(_quantize).default; | ||
} | ||
@@ -102,3 +102,3 @@ }); | ||
get: function get() { | ||
return _interopRequireDefault(_quantile).default; | ||
return babelHelpers.interopRequireDefault(_quantile).default; | ||
} | ||
@@ -112,3 +112,3 @@ }); | ||
get: function get() { | ||
return _interopRequireDefault(_threshold).default; | ||
return babelHelpers.interopRequireDefault(_threshold).default; | ||
} | ||
@@ -122,6 +122,4 @@ }); | ||
get: function get() { | ||
return _interopRequireDefault(_updateScale).default; | ||
return babelHelpers.interopRequireDefault(_updateScale).default; | ||
} | ||
}); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
}); |
@@ -7,7 +7,4 @@ "use strict"; | ||
exports.default = updateScale; | ||
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } | ||
function updateScale(scale, _ref) { | ||
var args = _objectWithoutProperties(_ref, []); | ||
var args = babelHelpers.objectWithoutProperties(_ref, []); | ||
@@ -14,0 +11,0 @@ var nextScale = scale.copy(); |
{ | ||
"name": "@vx/scale", | ||
"version": "0.0.161", | ||
"version": "0.0.165-beta.0", | ||
"description": "vx scale", | ||
"sideEffects": false, | ||
"main": "build/index.js", | ||
"main": "dist/vx-scale.umd.js", | ||
"module": "dist/vx-scale.es.js", | ||
"scripts": { | ||
"build": "make build SRC=./src", | ||
"prepublish": "make build SRC=./src", | ||
"build": "npm run build:babel && npm run build:dist", | ||
"build:dist": "rm -rf dist && mkdir dist && rollup -c", | ||
"build:babel": "rm -rf build && mkdir build && babel src --out-dir build --ignore node_modules/ --presets stage-0,react,env --plugins external-helpers", | ||
"prepublish": "npm run build", | ||
"test": "jest" | ||
}, | ||
"files": [ | ||
"dist", | ||
"build" | ||
@@ -33,13 +37,23 @@ ], | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-core": "^6.26.3", | ||
"babel-jest": "^21.2.0", | ||
"babel-plugin-external-helpers": "^6.22.0", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-preset-react": "^6.24.1", | ||
"babel-preset-stage-0": "^6.24.1", | ||
"enzyme": "^3.1.0", | ||
"enzyme-adapter-react-16": "^1.0.2", | ||
"jest": "^21.2.1", | ||
"jest-cli": "^21.2.1", | ||
"raf": "^3.4.0", | ||
"react": "^16.0.0", | ||
"react-dom": "^16.0.0", | ||
"react-fatigue-dev": "github:tj/react-fatigue-dev", | ||
"react-test-renderer": "^16.0.0", | ||
"react-tools": "^0.10.0", | ||
"regenerator-runtime": "^0.10.5" | ||
"rollup": "^0.59.4", | ||
"rollup-plugin-babel": "^3.0.4", | ||
"rollup-plugin-commonjs": "^9.1.3", | ||
"rollup-plugin-node-resolve": "^3.3.0", | ||
"rollup-plugin-replace": "^2.0.0", | ||
"rollup-plugin-uglify": "^4.0.0" | ||
}, | ||
@@ -46,0 +60,0 @@ "dependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24558
497
21
17
2