@vx/pattern
Advanced tools
Comparing version 0.0.161 to 0.0.165-beta.0
@@ -12,3 +12,3 @@ 'use strict'; | ||
get: function get() { | ||
return _interopRequireDefault(_Pattern).default; | ||
return babelHelpers.interopRequireDefault(_Pattern).default; | ||
} | ||
@@ -22,3 +22,3 @@ }); | ||
get: function get() { | ||
return _interopRequireDefault(_Lines).default; | ||
return babelHelpers.interopRequireDefault(_Lines).default; | ||
} | ||
@@ -32,3 +32,3 @@ }); | ||
get: function get() { | ||
return _interopRequireDefault(_Circles).default; | ||
return babelHelpers.interopRequireDefault(_Circles).default; | ||
} | ||
@@ -42,3 +42,3 @@ }); | ||
get: function get() { | ||
return _interopRequireDefault(_Waves).default; | ||
return babelHelpers.interopRequireDefault(_Waves).default; | ||
} | ||
@@ -52,3 +52,3 @@ }); | ||
get: function get() { | ||
return _interopRequireDefault(_Hexagons).default; | ||
return babelHelpers.interopRequireDefault(_Hexagons).default; | ||
} | ||
@@ -62,3 +62,3 @@ }); | ||
get: function get() { | ||
return _interopRequireDefault(_Path).default; | ||
return babelHelpers.interopRequireDefault(_Path).default; | ||
} | ||
@@ -72,6 +72,4 @@ }); | ||
get: function get() { | ||
return _interopRequireDefault(_constants).default; | ||
return babelHelpers.interopRequireDefault(_constants).default; | ||
} | ||
}); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
}); |
@@ -6,5 +6,2 @@ 'use strict'; | ||
}); | ||
var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }(); | ||
exports.createCircles = createCircles; | ||
@@ -15,18 +12,16 @@ exports.default = PatternCircles; | ||
var _react2 = _interopRequireDefault(_react); | ||
var _react2 = babelHelpers.interopRequireDefault(_react); | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _propTypes2 = babelHelpers.interopRequireDefault(_propTypes); | ||
var _classnames = require('classnames'); | ||
var _classnames2 = _interopRequireDefault(_classnames); | ||
var _classnames2 = babelHelpers.interopRequireDefault(_classnames); | ||
var _Pattern = require('./Pattern'); | ||
var _Pattern2 = _interopRequireDefault(_Pattern); | ||
var _Pattern2 = babelHelpers.interopRequireDefault(_Pattern); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
/** | ||
@@ -47,3 +42,3 @@ * Creates an array of cirlces for a list of corners | ||
return corners.map(function (_ref2) { | ||
var _ref3 = _slicedToArray(_ref2, 2), | ||
var _ref3 = babelHelpers.slicedToArray(_ref2, 2), | ||
cornerX = _ref3[0], | ||
@@ -50,0 +45,0 @@ cornerY = _ref3[1]; |
@@ -10,18 +10,16 @@ 'use strict'; | ||
var _react2 = _interopRequireDefault(_react); | ||
var _react2 = babelHelpers.interopRequireDefault(_react); | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _propTypes2 = babelHelpers.interopRequireDefault(_propTypes); | ||
var _classnames = require('classnames'); | ||
var _classnames2 = _interopRequireDefault(_classnames); | ||
var _classnames2 = babelHelpers.interopRequireDefault(_classnames); | ||
var _Path = require('./Path'); | ||
var _Path2 = _interopRequireDefault(_Path); | ||
var _Path2 = babelHelpers.interopRequireDefault(_Path); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function PatternHexagons(_ref) { | ||
@@ -28,0 +26,0 @@ var id = _ref.id, |
@@ -10,22 +10,20 @@ 'use strict'; | ||
var _react2 = _interopRequireDefault(_react); | ||
var _react2 = babelHelpers.interopRequireDefault(_react); | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _propTypes2 = babelHelpers.interopRequireDefault(_propTypes); | ||
var _classnames = require('classnames'); | ||
var _classnames2 = _interopRequireDefault(_classnames); | ||
var _classnames2 = babelHelpers.interopRequireDefault(_classnames); | ||
var _Pattern = require('./Pattern'); | ||
var _Pattern2 = _interopRequireDefault(_Pattern); | ||
var _Pattern2 = babelHelpers.interopRequireDefault(_Pattern); | ||
var _constants = require('../constants'); | ||
var _constants2 = _interopRequireDefault(_constants); | ||
var _constants2 = babelHelpers.interopRequireDefault(_constants); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function pathForOrientation(_ref) { | ||
@@ -32,0 +30,0 @@ var height = _ref.height, |
@@ -10,18 +10,16 @@ 'use strict'; | ||
var _react2 = _interopRequireDefault(_react); | ||
var _react2 = babelHelpers.interopRequireDefault(_react); | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _propTypes2 = babelHelpers.interopRequireDefault(_propTypes); | ||
var _classnames = require('classnames'); | ||
var _classnames2 = _interopRequireDefault(_classnames); | ||
var _classnames2 = babelHelpers.interopRequireDefault(_classnames); | ||
var _Pattern = require('./Pattern'); | ||
var _Pattern2 = _interopRequireDefault(_Pattern); | ||
var _Pattern2 = babelHelpers.interopRequireDefault(_Pattern); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function PatternPath(_ref) { | ||
@@ -28,0 +26,0 @@ var id = _ref.id, |
@@ -10,10 +10,8 @@ 'use strict'; | ||
var _react2 = _interopRequireDefault(_react); | ||
var _react2 = babelHelpers.interopRequireDefault(_react); | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _propTypes2 = babelHelpers.interopRequireDefault(_propTypes); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function Pattern(_ref) { | ||
@@ -20,0 +18,0 @@ var id = _ref.id, |
@@ -10,18 +10,16 @@ 'use strict'; | ||
var _react2 = _interopRequireDefault(_react); | ||
var _react2 = babelHelpers.interopRequireDefault(_react); | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _propTypes2 = babelHelpers.interopRequireDefault(_propTypes); | ||
var _classnames = require('classnames'); | ||
var _classnames2 = _interopRequireDefault(_classnames); | ||
var _classnames2 = babelHelpers.interopRequireDefault(_classnames); | ||
var _Path = require('./Path'); | ||
var _Path2 = _interopRequireDefault(_Path); | ||
var _Path2 = babelHelpers.interopRequireDefault(_Path); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function PatternWaves(_ref) { | ||
@@ -28,0 +26,0 @@ var id = _ref.id, |
{ | ||
"name": "@vx/pattern", | ||
"version": "0.0.161", | ||
"version": "0.0.165-beta.0", | ||
"description": "vx pattern", | ||
"sideEffects": false, | ||
"main": "build/index.js", | ||
"main": "dist/vx-pattern.umd.js", | ||
"module": "dist/vx-pattern.es.js", | ||
"files": [ | ||
"dist", | ||
"build" | ||
], | ||
"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" | ||
@@ -37,13 +41,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" | ||
}, | ||
@@ -50,0 +64,0 @@ "peerDependencies": { |
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
38201
12
799
21
2