@jimp/plugin-color
Advanced tools
Comparing version 0.8.6-canary.810.481.0 to 0.8.6-canary.815.488.0
"use strict"; | ||
require("core-js/modules/es6.object.define-property"); | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports["default"] = void 0; | ||
require("core-js/modules/es.array.for-each"); | ||
require("core-js/modules/es6.string.iterator"); | ||
require("core-js/modules/es.array.is-array"); | ||
require("core-js/modules/es6.array.from"); | ||
require("core-js/modules/es.array.map"); | ||
require("core-js/modules/es6.regexp.to-string"); | ||
require("core-js/modules/es.parse-int"); | ||
require("core-js/modules/es6.date.to-string"); | ||
require("core-js/modules/web.dom-collections.for-each"); | ||
require("core-js/modules/es6.object.to-string"); | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports["default"] = void 0; | ||
require("core-js/modules/es7.symbol.async-iterator"); | ||
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")); | ||
require("core-js/modules/es6.symbol"); | ||
require("core-js/modules/web.dom.iterable"); | ||
require("core-js/modules/es6.array.for-each"); | ||
require("core-js/modules/es6.array.map"); | ||
require("core-js/modules/es6.array.is-array"); | ||
var _tinycolor = _interopRequireDefault(require("tinycolor2")); | ||
@@ -36,12 +26,2 @@ | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); } | ||
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } | ||
function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } | ||
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } | ||
function applyKernel(im, kernel, x, y) { | ||
@@ -156,3 +136,3 @@ var value = [0, 0, 0]; | ||
clr = (_clr = clr)[action.apply].apply(_clr, _toConsumableArray(action.params)).toRgb(); | ||
clr = (_clr = clr)[action.apply].apply(_clr, (0, _toConsumableArray2["default"])(action.params)).toRgb(); | ||
} | ||
@@ -159,0 +139,0 @@ }); |
@@ -1,9 +0,2 @@ | ||
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); } | ||
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } | ||
function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } | ||
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } | ||
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray"; | ||
import tinyColor from 'tinycolor2'; | ||
@@ -10,0 +3,0 @@ import { throwError, isNodePattern } from '@jimp/utils'; |
{ | ||
"name": "@jimp/plugin-color", | ||
"version": "0.8.6-canary.810.481.0", | ||
"version": "0.8.6-canary.815.488.0", | ||
"description": "Bitmap manipulation to adjust the color in an image.", | ||
@@ -23,10 +23,11 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@jimp/utils": "0.8.6-canary.810.481.0", | ||
"core-js": "^2.5.7", | ||
"@babel/runtime": "^7.7.2", | ||
"@jimp/utils": "0.8.6-canary.815.488.0", | ||
"core-js": "^3.4.1", | ||
"tinycolor2": "^1.4.1" | ||
}, | ||
"devDependencies": { | ||
"@jimp/custom": "0.8.6-canary.810.481.0", | ||
"@jimp/test-utils": "0.8.6-canary.810.481.0", | ||
"@jimp/types": "0.8.6-canary.810.481.0" | ||
"@jimp/custom": "0.8.6-canary.815.488.0", | ||
"@jimp/test-utils": "0.8.6-canary.815.488.0", | ||
"@jimp/types": "0.8.6-canary.815.488.0" | ||
}, | ||
@@ -39,3 +40,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "941ed08d9215f928708b7ab6a9a942a2fc5995df" | ||
"gitHead": "3260b0cc7bddc7360f70248e28fdd815b7d17c8c" | ||
} |
Sorry, the diff of this file is not supported yet
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
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
407893
5
1721
+ Added@babel/runtime@^7.7.2
+ Added@babel/runtime@7.26.0(transitive)
+ Added@jimp/utils@0.8.6-canary.815.488.0(transitive)
+ Addedcore-js@3.38.1(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)
- Removed@jimp/utils@0.8.6-canary.810.481.0(transitive)
- Removedcore-js@2.6.12(transitive)
Updatedcore-js@^3.4.1