Socket
Socket
Sign inDemoInstall

@interop-ui/utils

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@interop-ui/utils - npm Package Compare versions

Comparing version 0.0.1-3 to 0.0.1-4

25

dist/index.d.ts
export function arrayRemove<T>(array: T[], item: T): T[];
export function arrayInsert<T>(array: T[], item: T, index: number): T[];
/**
* This type is included in the DOM lib but is deprecated. It's still quite useful, so we want to
* include it here and reference it when possible to avoid any issues when updating TS.
*/
export type ElementTagNameMap = HTMLElementTagNameMap & Pick<SVGElementTagNameMap, Exclude<keyof SVGElementTagNameMap, keyof HTMLElementTagNameMap>>;
export type Optional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
type CSSObject = any;
export type CssResetTagName = keyof ElementTagNameMap;
/**
* Get css reset for a given tag.
* We could eventually make this available as a library.
*/
export function cssReset(tagName: CssResetTagName | null): any;
export function getFocusableResetStyles(): CSSObject;
export function interopDataAttr(componentPart: string): string;
export function interopDataAttrObj(componentPart: string): {
export function getPartDataAttr(componentPart: string): string;
export function getPartDataAttrObj(componentPart: string): {
[x: string]: string;
};
export function interopDataAttrSelector(componentPart: string): string;
export function canUseDOM(): boolean;

@@ -88,3 +73,9 @@ export function makeId(...args: (string | number | null | undefined)[]): string;

export function isUndefined(value: any): value is undefined;
/**
* This type is included in the DOM lib but is deprecated. It's still quite useful, so we want to
* include it here and reference it when possible to avoid any issues when updating TS.
*/
export type ElementTagNameMap = HTMLElementTagNameMap & Pick<SVGElementTagNameMap, Exclude<keyof SVGElementTagNameMap, keyof HTMLElementTagNameMap>>;
export type Optional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
//# sourceMappingURL=index.d.ts.map

@@ -1,2 +0,2 @@

var t,r=(t=require("lodash.kebabcase"))&&t.__esModule?t.default:t;function e(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,r){if(!t)return;if("string"==typeof t)return n(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return n(t,r)}(t)||function(){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 n(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function o(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function i(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?o(Object(e),!0).forEach((function(r){a(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):o(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function a(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}exports.arrayRemove=function(t,r){var n=e(t),o=n.indexOf(r);return-1!==o&&n.splice(o,1),n},exports.arrayInsert=function(t,r,n){return[].concat(e(t.slice(0,n)),[r],e(t.slice(n)))},exports.cssReset=function(t){return i(i({},{boxSizing:"border-box"}),t&&c[t]||{})};var c={a:i(i({},{WebkitTapHighlightColor:"rgba(0, 0, 0, 0)","&:focus":{outline:"none"}}),{},{color:"inherit",textDecoration:"none"}),blockquote:{margin:0},button:u(),code:{fontFamily:"inherit"},div:{},h1:{margin:0,fontSize:"inherit",fontWeight:"normal"},h2:{margin:0,fontSize:"inherit",fontWeight:"normal"},h3:{margin:0,fontSize:"inherit",fontWeight:"normal"},h4:{margin:0,fontSize:"inherit",fontWeight:"normal"},h5:{margin:0,fontSize:"inherit",fontWeight:"normal"},h6:{margin:0,fontSize:"inherit",fontWeight:"normal"},header:{},hr:{margin:0,border:"none"},img:{},input:i(i({},u()),{},{verticalAlign:"middle",width:"100%","&::-webkit-slider-runnable-track":{backgroundColor:"transparent"},"&::-moz-range-track":{backgroundColor:"transparent"},"::-moz-focus-outer":{border:0},"&::-webkit-slider-thumb":{appearance:"none",marginTop:0},"&::-moz-range-thumb":{appearance:"none",marginTop:0}}),p:{margin:0},select:i(i({},u()),{},{backgroundColor:"transparent",borderRadius:0}),span:{},svg:{display:"block",verticalAlign:"middle"},table:{},thead:{},tfoot:{},tbody:{},tr:{},th:{fontWeight:"normal",padding:0,textAlign:"left"},td:{padding:0},textarea:u()};function u(){return i(i({},{WebkitTapHighlightColor:"rgba(0, 0, 0, 0)","&:focus":{outline:"none"}}),{},{appearance:"none",backgroundColor:"transparent",border:"none",borderRadius:0,color:"inherit",fontFamily:"inherit",fontSize:"inherit",fontWeight:"normal",margin:0,padding:0})}function l(){return{WebkitTapHighlightColor:"rgba(0, 0, 0, 0)","&:focus":{outline:"none"}}}function f(t){return"data-interop-".concat(r(t))}exports.getFocusableResetStyles=l,exports.interopDataAttr=f,exports.interopDataAttrObj=function(t){return r={},e=f(t),n="",e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r;var r,e,n},exports.interopDataAttrSelector=function(t){return"[".concat(f(t),"]")},exports.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},exports.makeId=function(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];return r.filter((function(t){return null!=t})).join("-")};exports.SIDE_OPTIONS=["top","right","bottom","left"];function s(t,r){return t.width===r.width&&t.height===r.height&&t.top===r.top&&t.right===r.right&&t.bottom===r.bottom&&t.left===r.left}exports.ALIGN_OPTIONS=["start","center","end"],exports.makeRect=function(t,r){var e=t.width,n=t.height,o=r.x,i=r.y;return{width:e,height:n,top:i,bottom:i+n,left:o,right:o+e}},exports.getOppositeSide=function(t){return{top:"bottom",right:"left",bottom:"top",left:"right"}[t]},exports.rectEquals=s,exports.isInsideRect=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=e.inclusive,o=void 0===n||n;return o?r.x>=t.left&&r.x<=t.right&&r.y>=t.top&&r.y<=t.bottom:r.x>t.left&&r.x<t.right&&r.y>t.top&&r.y<t.bottom},exports.getCollisions=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{top:t.top<r,right:t.right>window.innerWidth-r,bottom:t.bottom>window.innerHeight-r,left:t.left<r}};var p,h={};function b(t,r){if(!t){0;try{throw new Error(r)}catch(t){}}}function g(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var e=[],n=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(e.push(a.value),!r||e.length!==r);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return e}(t,r)||function(t,r){if(!t)return;if("string"==typeof t)return d(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return d(t,r)}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}exports.warning=b,exports.warningOnce=function(t,r,e){r||h[t]||(h[t]=!0,b(!1,e))},exports.clamp=function(t,r){var e=g(r,2),n=e[0],o=e[1];return Math.min(o,Math.max(n,t))},exports.observeElementRect=function(t,r){var e=m.get(t);return void 0===e?(m.set(t,{rect:{},callbacks:[r]}),1===m.size&&(p=requestAnimationFrame(y))):e.callbacks.push(r),function(){var e=m.get(t);if(void 0!==e){var n=e.callbacks.indexOf(r);n>-1&&e.callbacks.splice(n,1),0===e.callbacks.length&&(m.delete(t),0===m.size&&cancelAnimationFrame(p))}}};var m=new Map;function y(){var t=[];m.forEach((function(r,e){var n=e.getBoundingClientRect();s(r.rect,n)||(r.rect=n,t.push(r))})),t.forEach((function(t){t.callbacks.forEach((function(r){return r(t.rect)}))})),p=requestAnimationFrame(y)}exports.isFunction=function(t){return!(!t||"[object Function]"!=={}.toString.call(t))},exports.isUndefined=function(t){return void 0===t};
function t(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(t,e)}(t)||function(){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 r(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}exports.arrayRemove=function(r,e){var n=t(r),o=n.indexOf(e);return-1!==o&&n.splice(o,1),n},exports.arrayInsert=function(r,e,n){return[].concat(t(r.slice(0,n)),[e],t(r.slice(n)))};function e(t){return"data-".concat(function(t){var r=t.replace(".","").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();return"".concat("interop-ui","-").concat(r)}(t))}exports.getPartDataAttr=e,exports.getPartDataAttrObj=function(t){return r={},n=e(t),o="",n in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,r;var r,n,o},exports.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},exports.makeId=function(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];return r.filter((function(t){return null!=t})).join("-")};exports.SIDE_OPTIONS=["top","right","bottom","left"];function n(t,r){return t.width===r.width&&t.height===r.height&&t.top===r.top&&t.right===r.right&&t.bottom===r.bottom&&t.left===r.left}exports.ALIGN_OPTIONS=["start","center","end"],exports.makeRect=function(t,r){var e=t.width,n=t.height,o=r.x,i=r.y;return{width:e,height:n,top:i,bottom:i+n,left:o,right:o+e}},exports.getOppositeSide=function(t){return{top:"bottom",right:"left",bottom:"top",left:"right"}[t]},exports.rectEquals=n,exports.isInsideRect=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=e.inclusive,o=void 0===n||n;return o?r.x>=t.left&&r.x<=t.right&&r.y>=t.top&&r.y<=t.bottom:r.x>t.left&&r.x<t.right&&r.y>t.top&&r.y<t.bottom},exports.getCollisions=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{top:t.top<r,right:t.right>window.innerWidth-r,bottom:t.bottom>window.innerHeight-r,left:t.left<r}};var o,i={};function a(t,r){if(!t){0;try{throw new Error(r)}catch(t){}}}function c(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var e=[],n=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(e.push(a.value),!r||e.length!==r);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return e}(t,r)||function(t,r){if(!t)return;if("string"==typeof t)return u(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return u(t,r)}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}exports.warning=a,exports.warningOnce=function(t,r,e){r||i[t]||(i[t]=!0,a(!1,e))},exports.clamp=function(t,r){var e=c(r,2),n=e[0],o=e[1];return Math.min(o,Math.max(n,t))},exports.observeElementRect=function(t,r){var e=l.get(t);return void 0===e?(l.set(t,{rect:{},callbacks:[r]}),1===l.size&&(o=requestAnimationFrame(f))):e.callbacks.push(r),function(){var e=l.get(t);if(void 0!==e){var n=e.callbacks.indexOf(r);n>-1&&e.callbacks.splice(n,1),0===e.callbacks.length&&(l.delete(t),0===l.size&&cancelAnimationFrame(o))}}};var l=new Map;function f(){var t=[];l.forEach((function(r,e){var o=e.getBoundingClientRect();n(r.rect,o)||(r.rect=o,t.push(r))})),t.forEach((function(t){t.callbacks.forEach((function(r){return r(t.rect)}))})),o=requestAnimationFrame(f)}exports.isFunction=function(t){return!(!t||"[object Function]"!=={}.toString.call(t))},exports.isUndefined=function(t){return void 0===t};
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

import t from"lodash.kebabcase";export function arrayRemove(t,e){const n=[...t],r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}export function arrayInsert(t,e,n){return[...t.slice(0,n),e,...t.slice(n)]}function e(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function n(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?e(Object(o),!0).forEach((function(e){r(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}export function cssReset(t){return n(n({},{boxSizing:"border-box"}),t&&o[t]||{})}const o={a:n(n({},getFocusableResetStyles()),{},{color:"inherit",textDecoration:"none"}),blockquote:{margin:0},button:i(),code:{fontFamily:"inherit"},div:{},h1:{margin:0,fontSize:"inherit",fontWeight:"normal"},h2:{margin:0,fontSize:"inherit",fontWeight:"normal"},h3:{margin:0,fontSize:"inherit",fontWeight:"normal"},h4:{margin:0,fontSize:"inherit",fontWeight:"normal"},h5:{margin:0,fontSize:"inherit",fontWeight:"normal"},h6:{margin:0,fontSize:"inherit",fontWeight:"normal"},header:{},hr:{margin:0,border:"none"},img:{},input:n(n({},i()),{},{verticalAlign:"middle",width:"100%","&::-webkit-slider-runnable-track":{backgroundColor:"transparent"},"&::-moz-range-track":{backgroundColor:"transparent"},"::-moz-focus-outer":{border:0},"&::-webkit-slider-thumb":{appearance:"none",marginTop:0},"&::-moz-range-thumb":{appearance:"none",marginTop:0}}),p:{margin:0},select:n(n({},i()),{},{backgroundColor:"transparent",borderRadius:0}),span:{},svg:{display:"block",verticalAlign:"middle"},table:{},thead:{},tfoot:{},tbody:{},tr:{},th:{fontWeight:"normal",padding:0,textAlign:"left"},td:{padding:0},textarea:i()};function i(){return n(n({},getFocusableResetStyles()),{},{appearance:"none",backgroundColor:"transparent",border:"none",borderRadius:0,color:"inherit",fontFamily:"inherit",fontSize:"inherit",fontWeight:"normal",margin:0,padding:0})}export function getFocusableResetStyles(){return{WebkitTapHighlightColor:"rgba(0, 0, 0, 0)","&:focus":{outline:"none"}}}export function interopDataAttr(e){return"data-interop-".concat(t(e))}export function interopDataAttrObj(t){return{[interopDataAttr(t)]:""}}export function interopDataAttrSelector(t){return"[".concat(interopDataAttr(t),"]")}export function canUseDOM(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}export function makeId(...t){return t.filter(t=>null!=t).join("-")}export const SIDE_OPTIONS=["top","right","bottom","left"];export const ALIGN_OPTIONS=["start","center","end"];export function makeRect({width:t,height:e},{x:n,y:r}){return{width:t,height:e,top:r,bottom:r+e,left:n,right:n+t}}export function getOppositeSide(t){return{top:"bottom",right:"left",bottom:"top",left:"right"}[t]}export function rectEquals(t,e){return t.width===e.width&&t.height===e.height&&t.top===e.top&&t.right===e.right&&t.bottom===e.bottom&&t.left===e.left}export function isInsideRect(t,e,{inclusive:n=!0}={}){return n?e.x>=t.left&&e.x<=t.right&&e.y>=t.top&&e.y<=t.bottom:e.x>t.left&&e.x<t.right&&e.y>t.top&&e.y<t.bottom}export function getCollisions(t,e=0){return{top:t.top<e,right:t.right>window.innerWidth-e,bottom:t.bottom>window.innerHeight-e,left:t.left<e}}const a={};export function warning(t,e){if(!t){0;try{throw new Error(e)}catch(t){}}}export function warningOnce(t,e,n){e||a[t]||(a[t]=!0,warning(!1,n))}export function clamp(t,[e,n]){return Math.min(n,Math.max(e,t))}export function observeElementRect(t,e){const n=l.get(t);return void 0===n?(l.set(t,{rect:{},callbacks:[e]}),1===l.size&&(c=requestAnimationFrame(u))):n.callbacks.push(e),()=>{const n=l.get(t);if(void 0===n)return;const r=n.callbacks.indexOf(e);r>-1&&n.callbacks.splice(r,1),0===n.callbacks.length&&(l.delete(t),0===l.size&&cancelAnimationFrame(c))}}let c;const l=new Map;function u(){const t=[];l.forEach((e,n)=>{const r=n.getBoundingClientRect();rectEquals(e.rect,r)||(e.rect=r,t.push(e))}),t.forEach(t=>{t.callbacks.forEach(e=>e(t.rect))}),c=requestAnimationFrame(u)}export function isFunction(t){return!(!t||"[object Function]"!=={}.toString.call(t))}export function isUndefined(t){return void 0===t}
export function arrayRemove(t,e){const n=[...t],o=n.indexOf(e);return-1!==o&&n.splice(o,1),n}export function arrayInsert(t,e,n){return[...t.slice(0,n),e,...t.slice(n)]}export function getPartDataAttr(t){return"data-".concat(function(t){const e=t.replace(".","").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();return"".concat("interop-ui","-").concat(e)}(t))}export function getPartDataAttrObj(t){return{[getPartDataAttr(t)]:""}}export function canUseDOM(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}export function makeId(...t){return t.filter((t=>null!=t)).join("-")}export const SIDE_OPTIONS=["top","right","bottom","left"];export const ALIGN_OPTIONS=["start","center","end"];export function makeRect({width:t,height:e},{x:n,y:o}){return{width:t,height:e,top:o,bottom:o+e,left:n,right:n+t}}export function getOppositeSide(t){return{top:"bottom",right:"left",bottom:"top",left:"right"}[t]}export function rectEquals(t,e){return t.width===e.width&&t.height===e.height&&t.top===e.top&&t.right===e.right&&t.bottom===e.bottom&&t.left===e.left}export function isInsideRect(t,e,{inclusive:n=!0}={}){return n?e.x>=t.left&&e.x<=t.right&&e.y>=t.top&&e.y<=t.bottom:e.x>t.left&&e.x<t.right&&e.y>t.top&&e.y<t.bottom}export function getCollisions(t,e=0){return{top:t.top<e,right:t.right>window.innerWidth-e,bottom:t.bottom>window.innerHeight-e,left:t.left<e}}const t={};export function warning(t,e){if(!t){0;try{throw new Error(e)}catch(t){}}}export function warningOnce(e,n,o){n||t[e]||(t[e]=!0,warning(!1,o))}export function clamp(t,[e,n]){return Math.min(n,Math.max(e,t))}export function observeElementRect(t,r){const i=n.get(t);return void 0===i?(n.set(t,{rect:{},callbacks:[r]}),1===n.size&&(e=requestAnimationFrame(o))):i.callbacks.push(r),()=>{const o=n.get(t);if(void 0===o)return;const i=o.callbacks.indexOf(r);i>-1&&o.callbacks.splice(i,1),0===o.callbacks.length&&(n.delete(t),0===n.size&&cancelAnimationFrame(e))}}let e;const n=new Map;function o(){const t=[];n.forEach(((e,n)=>{const o=n.getBoundingClientRect();rectEquals(e.rect,o)||(e.rect=o,t.push(e))})),t.forEach((t=>{t.callbacks.forEach((e=>e(t.rect)))})),e=requestAnimationFrame(o)}export function isFunction(t){return!(!t||"[object Function]"!=={}.toString.call(t))}export function isUndefined(t){return void 0===t}
//# sourceMappingURL=index.module.js.map
{
"name": "@interop-ui/utils",
"version": "0.0.1-3",
"version": "0.0.1-4",
"license": "MIT",

@@ -19,11 +19,5 @@ "source": "src/index.ts",

},
"dependencies": {
"lodash.camelcase": "^4.3.0",
"lodash.kebabcase": "^4.1.1"
},
"devDependencies": {
"@types/lodash.camelcase": "^4.3.6",
"@types/lodash.kebabcase": "^4.1.6",
"parcel": "^2.0.0-beta.1"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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