New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@filerobot/utils

Package Overview
Dependencies
Maintainers
2
Versions
1527
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@filerobot/utils - npm Package Compare versions

Comparing version 1.0.91-rc.6 to 1.0.91-rc.7

0

lib/AbortController.js

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /* API change from file.url_permalink to file.url.permalink

@@ -0,0 +0,0 @@ import { decode83 } from './base83';

@@ -0,0 +0,0 @@ import dataURItoBlob from './dataURItoBlob';

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ import { createAbortError } from './AbortController';

@@ -0,0 +0,0 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }

@@ -0,0 +0,0 @@ import NetworkError from '@filerobot/utils/lib/NetworkError';

@@ -0,0 +0,0 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

@@ -0,0 +0,0 @@ import isDOMElement from './isDOMElement';

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ import webkitGetAsEntryApi from './utils/webkitGetAsEntryApi/index';

@@ -0,0 +0,0 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }

@@ -0,0 +0,0 @@ import toArray from '../../../toArray';

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

@@ -0,0 +0,0 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

@@ -0,0 +0,0 @@ import checkFieldValidation from './checkFieldValidation';

@@ -0,0 +0,0 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

7

lib/provideSvgStrWithCurrColor.js
var provideSvgStrWithCurrColor = function provideSvgStrWithCurrColor(svgString) {
var endOfSvgTagIndex = svgString.indexOf('>');
var svgTagWithPreparedColor = svgString.substr(0, endOfSvgTagIndex).replace(/\s*(?:fill|stroke|color)[:=]\s*['"]?.*['"; }]/i, '').trim() + ' color="currentColor" fill="currentColor"';
var restOfSvgElementPreparedColor = svgString.substr(endOfSvgTagIndex, svgString.length).replaceAll(/(\s*(?:fill|stroke|color)[:=]\s*['"]?)#?\b(?!\s*?none).+?([\r\n'";})])/gi, '$1currentColor$2');
var preparedSvgString = svgString.replaceAll(/(<\?xml.*?>|<!--.*-->)[\r\n]?/gi, '');
var endOfSvgTagIndex = preparedSvgString.indexOf('>');
var svgTagWithPreparedColor = preparedSvgString.substr(0, endOfSvgTagIndex).replace(/\s*(?:fill|stroke|color)[:=]\s*['"]?.*['"; }]/i, '').trim() + ' color="currentColor" fill="currentColor"';
var restOfSvgElementPreparedColor = preparedSvgString.substr(endOfSvgTagIndex, preparedSvgString.length).replaceAll(/(\s*(?:fill|stroke|color)[:=]\s*['"]?)#?\b(?!\s*?none).+?([\r\n'";})])/gi, '$1currentColor$2');
return svgTagWithPreparedColor + restOfSvgElementPreparedColor;

@@ -6,0 +7,0 @@ };

@@ -0,0 +0,0 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

@@ -6,3 +6,3 @@ {

"types": "types/index.d.ts",
"version": "1.0.91-rc.6",
"version": "1.0.91-rc.7",
"files": [

@@ -15,3 +15,3 @@ "/dist",

"dependencies": {
"@filerobot/icons": "1.0.91-rc.6",
"@filerobot/icons": "1.0.91-rc.7",
"abortcontroller-polyfill": "^1.4.0",

@@ -18,0 +18,0 @@ "lodash.throttle": "^4.1.1"

@@ -0,0 +0,0 @@ # `@filerobot/utils`

@@ -0,0 +0,0 @@ declare module '@filerobot/utils/lib/Translator' {

@@ -0,0 +0,0 @@ // Can't get this to work correctly with `tsd` right now 🙃

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc