fela-preset-web
Advanced tools
Comparing version 11.7.0 to 12.0.0-rc.0
@@ -1,3 +0,13 @@ | ||
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } | ||
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } | ||
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } | ||
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } | ||
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } | ||
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } | ||
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } | ||
import extend from 'fela-plugin-extend'; | ||
@@ -8,13 +18,11 @@ import embedded from 'fela-plugin-embedded'; | ||
import unit from 'fela-plugin-unit'; | ||
export var createWebPreset = function createWebPreset() { | ||
export function createWebPreset() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, | ||
_ref$extend = _ref.extend, | ||
extendConfig = _ref$extend === undefined ? [] : _ref$extend, | ||
extendConfig = _ref$extend === void 0 ? [] : _ref$extend, | ||
_ref$unit = _ref.unit, | ||
unitConfig = _ref$unit === undefined ? [] : _ref$unit; | ||
unitConfig = _ref$unit === void 0 ? [] : _ref$unit; | ||
return [extend.apply(undefined, _toConsumableArray(extendConfig)), embedded(), prefixer(), fallbackValue(), unit.apply(undefined, _toConsumableArray(unitConfig))]; | ||
}; | ||
return [extend.apply(void 0, _toConsumableArray(extendConfig)), embedded(), unit.apply(void 0, _toConsumableArray(unitConfig)), prefixer(), fallbackValue()]; | ||
} | ||
export default createWebPreset(); |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
"use strict"; | ||
@@ -6,38 +6,41 @@ Object.defineProperty(exports, "__esModule", { | ||
}); | ||
exports.createWebPreset = undefined; | ||
exports.createWebPreset = createWebPreset; | ||
exports["default"] = void 0; | ||
var _felaPluginExtend = require('fela-plugin-extend'); | ||
var _felaPluginExtend = _interopRequireDefault(require("fela-plugin-extend")); | ||
var _felaPluginExtend2 = _interopRequireDefault(_felaPluginExtend); | ||
var _felaPluginEmbedded = _interopRequireDefault(require("fela-plugin-embedded")); | ||
var _felaPluginEmbedded = require('fela-plugin-embedded'); | ||
var _felaPluginPrefixer = _interopRequireDefault(require("fela-plugin-prefixer")); | ||
var _felaPluginEmbedded2 = _interopRequireDefault(_felaPluginEmbedded); | ||
var _felaPluginFallbackValue = _interopRequireDefault(require("fela-plugin-fallback-value")); | ||
var _felaPluginPrefixer = require('fela-plugin-prefixer'); | ||
var _felaPluginUnit = _interopRequireDefault(require("fela-plugin-unit")); | ||
var _felaPluginPrefixer2 = _interopRequireDefault(_felaPluginPrefixer); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
var _felaPluginFallbackValue = require('fela-plugin-fallback-value'); | ||
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } | ||
var _felaPluginFallbackValue2 = _interopRequireDefault(_felaPluginFallbackValue); | ||
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } | ||
var _felaPluginUnit = require('fela-plugin-unit'); | ||
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } | ||
var _felaPluginUnit2 = _interopRequireDefault(_felaPluginUnit); | ||
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } | ||
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } | ||
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } | ||
var createWebPreset = exports.createWebPreset = function createWebPreset() { | ||
function createWebPreset() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, | ||
_ref$extend = _ref.extend, | ||
extendConfig = _ref$extend === undefined ? [] : _ref$extend, | ||
extendConfig = _ref$extend === void 0 ? [] : _ref$extend, | ||
_ref$unit = _ref.unit, | ||
unitConfig = _ref$unit === undefined ? [] : _ref$unit; | ||
unitConfig = _ref$unit === void 0 ? [] : _ref$unit; | ||
return [_felaPluginExtend2.default.apply(undefined, _toConsumableArray(extendConfig)), (0, _felaPluginEmbedded2.default)(), (0, _felaPluginPrefixer2.default)(), (0, _felaPluginFallbackValue2.default)(), _felaPluginUnit2.default.apply(undefined, _toConsumableArray(unitConfig))]; | ||
}; | ||
return [_felaPluginExtend["default"].apply(void 0, _toConsumableArray(extendConfig)), (0, _felaPluginEmbedded["default"])(), _felaPluginUnit["default"].apply(void 0, _toConsumableArray(unitConfig)), (0, _felaPluginPrefixer["default"])(), (0, _felaPluginFallbackValue["default"])()]; | ||
} | ||
exports.default = createWebPreset(); | ||
var _default = createWebPreset(); | ||
exports["default"] = _default; |
{ | ||
"name": "fela-preset-web", | ||
"version": "11.7.0", | ||
"version": "12.0.0-rc.0", | ||
"description": "Fela plugin preset for web applications", | ||
@@ -13,4 +13,18 @@ "main": "lib/index.js", | ||
"lib/**", | ||
"es/**" | ||
"es/**", | ||
"umd/**" | ||
], | ||
"scripts": { | ||
"setup": "yarn build", | ||
"clean": "rimraf lib es coverage", | ||
"build": "yarn clean && yarn build:es && yarn build:lib", | ||
"build:es": "babel src --out-dir es --ignore **/__tests__", | ||
"build:lib": "cross-env BABEL_ENV=commonjs babel src --out-dir lib --ignore **/__tests__", | ||
"build:umd": "webpack --config webpack.config.js", | ||
"watch": "npm run watch:lib & npm run watch:es", | ||
"watch:lib": "BABEL_ENV=commonjs babel src -d lib -w", | ||
"watch:es": "babel src -d es -w", | ||
"test": "jest --config=jest.config.js", | ||
"coverage": "yarn test --coverage" | ||
}, | ||
"repository": "https://github.com/robinweser/fela/", | ||
@@ -25,13 +39,27 @@ "keywords": [ | ||
"dependencies": { | ||
"fela-plugin-embedded": "^11.7.0", | ||
"fela-plugin-extend": "^11.7.0", | ||
"fela-plugin-fallback-value": "^11.7.0", | ||
"fela-plugin-prefixer": "^11.7.0", | ||
"fela-plugin-unit": "^11.7.0" | ||
"fela-plugin-embedded": "^12.0.0-rc.0", | ||
"fela-plugin-extend": "^12.0.0-rc.0", | ||
"fela-plugin-fallback-value": "^12.0.0-rc.0", | ||
"fela-plugin-prefixer": "^12.0.0-rc.0", | ||
"fela-plugin-unit": "^12.0.0-rc.0" | ||
}, | ||
"devDependencies": { | ||
"fela-combine-arrays": "^1.0.9", | ||
"fela-tools": "^11.7.0" | ||
"@babel/cli": "^7.2.0", | ||
"@babel/core": "^7.2.2", | ||
"@babel/node": "^7.13.0", | ||
"@babel/plugin-transform-modules-commonjs": "^7.5.0", | ||
"@babel/polyfill": "^7.7.0", | ||
"@babel/preset-env": "^7.5.5", | ||
"babel-core": "7.0.0-bridge.0", | ||
"babel-jest": "^26.6.0", | ||
"babel-loader": "^8.2.3", | ||
"clean-webpack-plugin": "^3.0.0", | ||
"cross-env": "^6.0.3", | ||
"fela-tools": "^12.0.0-rc.0", | ||
"jest": "^26.6.0", | ||
"rimraf": "^3.0.0", | ||
"webpack": "^4.41.6", | ||
"webpack-cli": "^3.3.10" | ||
}, | ||
"gitHead": "e067b284984d3dbfc259fcbffde9bb50679fda9b" | ||
"gitHead": "00f02f410f17a7693479ea3349bb3a9f223359af" | ||
} |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
33556
6
60
16
2
+ Addedfela@12.2.1(transitive)
+ Addedfela-plugin-embedded@12.2.1(transitive)
+ Addedfela-plugin-extend@12.2.1(transitive)
+ Addedfela-plugin-fallback-value@12.2.1(transitive)
+ Addedfela-plugin-prefixer@12.2.1(transitive)
+ Addedfela-plugin-unit@12.2.1(transitive)
+ Addedfela-utils@12.2.1(transitive)
+ Addedisobject@4.0.0(transitive)
- Removedcss-in-js-utils@2.0.1(transitive)
- Removedfela@11.7.0(transitive)
- Removedfela-plugin-embedded@11.7.0(transitive)
- Removedfela-plugin-extend@11.7.0(transitive)
- Removedfela-plugin-fallback-value@11.7.0(transitive)
- Removedfela-plugin-prefixer@11.7.0(transitive)
- Removedfela-plugin-unit@11.7.0(transitive)
- Removedfela-utils@11.7.0(transitive)
- Removedinline-style-prefixer@5.1.2(transitive)