Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

reakit-system

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reakit-system - npm Package Compare versions

Comparing version 0.14.0 to 0.14.1

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.14.1](https://github.com/reakit/reakit/tree/master/packages/reakit-system/compare/reakit-system@0.14.0...reakit-system@0.14.1) (2020-08-13)
**Note:** Version bump only for package reakit-system
# [0.14.0](https://github.com/reakit/reakit/tree/master/packages/reakit-system/compare/reakit-system@0.13.1...reakit-system@0.14.0) (2020-08-06)

@@ -8,0 +16,0 @@

2

dist/reakit-system.min.js

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

!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],r):r((e=e||self).ReakitSystem={},e.React)}(this,(function(e,r){"use strict";function t(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function o(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?n(Object(o),!0).forEach((function(r){t(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))}))}return e}function u(e,r){if(null==e)return{};var t,n,o={},u=Object.keys(e);for(n=0;n<u.length;n++)t=u[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}function i(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function a(e,r){var t;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=function(e,r){if(e){if("string"==typeof e)return i(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function s(e,r){for(var t={},n={},o=0,u=Object.keys(e);o<u.length;o++){var i=u[o];r.indexOf(i)>=0?t[i]=e[i]:n[i]=e[i]}return[t,n]}function c(e,r){if(e===r)return!0;if(!e)return!1;if(!r)return!1;if("object"!=typeof e)return!1;if("object"!=typeof r)return!1;var t=Object.keys(e),n=Object.keys(r),o=t.length;if(n.length!==o)return!1;for(var u=0,i=t;u<i.length;u++){var a=i[u];if(e[a]!==r[a])return!1}return!0}var f=r.createContext({}),l=function(e,t,n){void 0===n&&(n=t.children);var o=r.useContext(f);if(o.useCreateElement)return o.useCreateElement(e,t,n);if("string"==typeof e&&function(e){return"function"==typeof e}(n)){t.children;return n(u(t,["children"]))}return r.createElement(e,t,n)};function p(e,t){r.useDebugValue(e);var n=r.useContext(f);return null!=n[e]?n[e]:t}function v(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var u="use"+e+"Options";r.useDebugValue(u);var i=p(u);return i?o(o({},t),i(t,n)):t}function y(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var o="use"+e+"Props";r.useDebugValue(o);var u=p(o);return u?u(t,n):n}function d(e){return"object"==typeof e&&null!=e}function b(e,r){for(var t,n={},o=a(e);!(t=o()).done;)for(var u=t.value,i=0,s=Object.keys(u);i<s.length;i++){var c=s[i];if(!r||r(u[c],c)){var f=n[c]||[];n[c]=[].concat(f,[u[c]])}}return n}function m(e){for(var r=b(e,(function(e){return"function"==typeof e})),t={},n=0,o=Object.keys(r);n<o.length;n++){var u=o[n],i=r[u];t[u]=1===i.length?i[0]:i.reduce((function(e,r){return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return r.apply(void 0,n.slice(0,-1).concat([e.apply(void 0,n)]))}}))}return t}function O(e){for(var r=b(e,d),t={},n=0,o=Object.keys(r);n<o.length;n++){var u=o[n],i=r[u];t[u]=Object.assign.apply(Object,[{}].concat(i))}return t}e.SystemContext=f,e.SystemProvider=function(e){var t=e.children,n=e.unstable_system;return r.createElement(f.Provider,{value:n},t)},e.createComponent=function(e){var t,n=e.as,i=e.useHook,a=e.memo,f=e.propsAreEqual,p=void 0===f?null==i?void 0:i.unstable_propsAreEqual:f,v=e.keys,y=void 0===v?(null==i?void 0:i.__keys)||[]:v,d=e.useCreateElement,b=void 0===d?l:d,m=function(e,r){var t=e.as,a=void 0===t?n:t,c=u(e,["as"]);if(i){var f,l=s(c,y),p=l[0],v=l[1],d=i(p,o({ref:r},v)),m=d.wrapElement,O=u(d,["wrapElement"]),g=(null===(f=a.render)||void 0===f?void 0:f.__keys)||a.__keys,j=g&&s(c,g)[0],h=j?o(o({},O),j):O,_=b(a,h);return m?m(_):_}return b(a,o({ref:r},c))};return t=m,m=r.forwardRef(t),a&&(m=function(e,t){return r.memo(e,t)}(m,p)),m.__keys=y,m.unstable_propsAreEqual=p||c,m},e.createHook=function(e){var r,t,n,o=(n=e.compose,Array.isArray(n)?n:void 0!==n?[n]:[]),u=function(r,t){if(e.useOptions&&(r=e.useOptions(r,t)),e.name&&(r=v(e.name,r,t)),e.compose)for(var n,u=a(o);!(n=u()).done;){r=n.value.__useOptions(r,t)}return r},i=function(r,t,n){if(void 0===r&&(r={}),void 0===t&&(t={}),void 0===n&&(n=!1),n||(r=u(r,t)),e.useProps&&(t=e.useProps(r,t)),e.name&&(t=y(e.name,r,t)),e.compose)if(e.useComposeOptions&&(r=e.useComposeOptions(r,t)),e.useComposeProps)t=e.useComposeProps(r,t);else for(var i,s=a(o);!(i=s()).done;){t=(0,i.value)(r,t,!0)}var c={},f=t||{};for(var l in f)void 0!==f[l]&&(c[l]=f[l]);return c};i.__useOptions=u;var s=o.reduce((function(e,r){return e.push.apply(e,r.__keys||[]),e}),[]);return i.__keys=[].concat(s,(null===(r=e.useState)||void 0===r?void 0:r.__keys)||[],e.keys||[]),i.unstable_propsAreEqual=e.propsAreEqual||(null===(t=o[0])||void 0===t?void 0:t.unstable_propsAreEqual)||c,i},e.mergeSystem=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return Object.assign.apply(Object,[{}].concat(r,[O(r),m(r)]))},e.useCreateElement=l,e.useOptions=v,e.useProps=y,e.useToken=p,Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self).ReakitSystem={},e.React)}(this,(function(e,r){"use strict";function t(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function o(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?n(Object(o),!0).forEach((function(r){t(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))}))}return e}function u(e,r){if(null==e)return{};var t,n,o={},u=Object.keys(e);for(n=0;n<u.length;n++)t=u[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}function i(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function a(e,r){var t;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=function(e,r){if(e){if("string"==typeof e)return i(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function s(e,r){for(var t={},n={},o=0,u=Object.keys(e);o<u.length;o++){var i=u[o];r.indexOf(i)>=0?t[i]=e[i]:n[i]=e[i]}return[t,n]}function c(e,r){if(e===r)return!0;if(!e)return!1;if(!r)return!1;if("object"!=typeof e)return!1;if("object"!=typeof r)return!1;var t=Object.keys(e),n=Object.keys(r),o=t.length;if(n.length!==o)return!1;for(var u=0,i=t;u<i.length;u++){var a=i[u];if(e[a]!==r[a])return!1}return!0}var f=r.createContext({}),l=function(e,t,n){void 0===n&&(n=t.children);var o=r.useContext(f);if(o.useCreateElement)return o.useCreateElement(e,t,n);if("string"==typeof e&&function(e){return"function"==typeof e}(n)){t.children;return n(u(t,["children"]))}return r.createElement(e,t,n)};function p(e,t){r.useDebugValue(e);var n=r.useContext(f);return null!=n[e]?n[e]:t}function v(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var u="use"+e+"Options";r.useDebugValue(u);var i=p(u);return i?o(o({},t),i(t,n)):t}function y(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var o="use"+e+"Props";r.useDebugValue(o);var u=p(o);return u?u(t,n):n}function d(e){return"object"==typeof e&&null!=e}function b(e,r){for(var t,n={},o=a(e);!(t=o()).done;)for(var u=t.value,i=0,s=Object.keys(u);i<s.length;i++){var c=s[i];if(!r||r(u[c],c)){var f=n[c]||[];n[c]=[].concat(f,[u[c]])}}return n}function m(e){for(var r=b(e,(function(e){return"function"==typeof e})),t={},n=0,o=Object.keys(r);n<o.length;n++){var u=o[n],i=r[u];t[u]=1===i.length?i[0]:i.reduce((function(e,r){return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return r.apply(void 0,n.slice(0,-1).concat([e.apply(void 0,n)]))}}))}return t}function O(e){for(var r=b(e,d),t={},n=0,o=Object.keys(r);n<o.length;n++){var u=o[n],i=r[u];t[u]=Object.assign.apply(Object,[{}].concat(i))}return t}e.SystemContext=f,e.SystemProvider=function(e){var t=e.children,n=e.unstable_system;return r.createElement(f.Provider,{value:n},t)},e.createComponent=function(e){var t,n=e.as,i=e.useHook,a=e.memo,f=e.propsAreEqual,p=void 0===f?null==i?void 0:i.unstable_propsAreEqual:f,v=e.keys,y=void 0===v?(null==i?void 0:i.__keys)||[]:v,d=e.useCreateElement,b=void 0===d?l:d,m=function(e,r){var t=e.as,a=void 0===t?n:t,c=u(e,["as"]);if(i){var f,l=s(c,y),p=l[0],v=l[1],d=i(p,o({ref:r},v)),m=d.wrapElement,O=u(d,["wrapElement"]),g=(null===(f=a.render)||void 0===f?void 0:f.__keys)||a.__keys,j=g&&s(c,g)[0],h=j?o(o({},O),j):O,_=b(a,h);return m?m(_):_}return b(a,o({ref:r},c))};return t=m,m=r.forwardRef(t),a&&(m=function(e,t){return r.memo(e,t)}(m,p)),m.__keys=y,m.unstable_propsAreEqual=p||c,m},e.createHook=function(e){var r,t,n,o=(n=e.compose,Array.isArray(n)?n:void 0!==n?[n]:[]),u=function(r,t){if(e.useOptions&&(r=e.useOptions(r,t)),e.name&&(r=v(e.name,r,t)),e.compose)for(var n,u=a(o);!(n=u()).done;){r=n.value.__useOptions(r,t)}return r},i=function(r,t,n){if(void 0===r&&(r={}),void 0===t&&(t={}),void 0===n&&(n=!1),n||(r=u(r,t)),e.useProps&&(t=e.useProps(r,t)),e.name&&(t=y(e.name,r,t)),e.compose)if(e.useComposeOptions&&(r=e.useComposeOptions(r,t)),e.useComposeProps)t=e.useComposeProps(r,t);else for(var i,s=a(o);!(i=s()).done;){t=(0,i.value)(r,t,!0)}var c={},f=t||{};for(var l in f)void 0!==f[l]&&(c[l]=f[l]);return c};i.__useOptions=u;var s=o.reduce((function(e,r){return e.push.apply(e,r.__keys||[]),e}),[]);return i.__keys=[].concat(s,(null===(r=e.useState)||void 0===r?void 0:r.__keys)||[],e.keys||[]),i.unstable_propsAreEqual=e.propsAreEqual||(null===(t=o[0])||void 0===t?void 0:t.unstable_propsAreEqual)||c,i},e.mergeSystem=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return Object.assign.apply(Object,[{}].concat(r,[O(r),m(r)]))},e.useCreateElement=l,e.useOptions=v,e.useProps=y,e.useToken=p,Object.defineProperty(e,"__esModule",{value:!0})}));
{
"name": "reakit-system",
"version": "0.14.0",
"version": "0.14.1",
"description": "Reakit System utils",

@@ -34,3 +34,3 @@ "sideEffects": false,

"dependencies": {
"reakit-utils": "^0.14.0"
"reakit-utils": "^0.14.1"
},

@@ -41,3 +41,3 @@ "peerDependencies": {

},
"gitHead": "eec7a44be656b49c96c17c1d76796b5800bea29e"
"gitHead": "0e63eb0013c03bdb9b9add9b9cb28aca3c153732"
}
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