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

@mui/x-license-pro

Package Overview
Dependencies
Maintainers
10
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mui/x-license-pro - npm Package Compare versions

Comparing version 6.10.2 to 7.0.0-alpha.0

2

index.js
/**
* @mui/x-license-pro v6.10.2
* @mui/x-license-pro v7.0.0-alpha.0
*

@@ -4,0 +4,0 @@ * @license MUI X Commercial

/**
* @mui/x-license-pro v6.10.2
* @mui/x-license-pro v7.0.0-alpha.0
*

@@ -4,0 +4,0 @@ * @license MUI X Commercial

@@ -26,6 +26,2 @@ import _extends from "@babel/runtime/helpers/esm/extends";

});
sharedLicenseStatuses[packageName] = {
key: licenseKey,
licenseVerifier: licenseStatus
};
var fullPackageName = "@mui/".concat(packageName);

@@ -58,4 +54,8 @@ if (licenseStatus.status === LICENSE_STATUS.Valid) {

}
sharedLicenseStatuses[packageName] = {
key: licenseKey,
licenseVerifier: licenseStatus
};
return licenseStatus;
}, [packageName, releaseInfo, contextKey]);
}
/**
* @mui/x-license-pro v6.10.2
* @mui/x-license-pro v7.0.0-alpha.0
*

@@ -4,0 +4,0 @@ * @license MUI X Commercial

@@ -27,6 +27,2 @@ import _extends from "@babel/runtime/helpers/esm/extends";

});
sharedLicenseStatuses[packageName] = {
key: licenseKey,
licenseVerifier: licenseStatus
};
const fullPackageName = `@mui/${packageName}`;

@@ -59,4 +55,8 @@ if (licenseStatus.status === LICENSE_STATUS.Valid) {

}
sharedLicenseStatuses[packageName] = {
key: licenseKey,
licenseVerifier: licenseStatus
};
return licenseStatus;
}, [packageName, releaseInfo, contextKey]);
}
/**
* @mui/x-license-pro v6.10.2
* @mui/x-license-pro v7.0.0-alpha.0
*

@@ -4,0 +4,0 @@ * @license MUI X Commercial

@@ -8,7 +8,6 @@ "use strict";

var React = _interopRequireWildcard(require("react"));
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
var _default = /*#__PURE__*/React.createContext({
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
var _default = exports.default = /*#__PURE__*/React.createContext({
key: undefined
});
exports.default = _default;
});

@@ -11,4 +11,4 @@ "use strict";

var _jsxRuntime = require("react/jsx-runtime");
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
/**

@@ -15,0 +15,0 @@ * @ignore - do not document.

@@ -16,6 +16,5 @@ "use strict";

var _LicenseInfoContext = _interopRequireDefault(require("../Unstable_LicenseInfoProvider/LicenseInfoContext"));
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
const sharedLicenseStatuses = {};
exports.sharedLicenseStatuses = sharedLicenseStatuses;
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
const sharedLicenseStatuses = exports.sharedLicenseStatuses = {};
function useLicenseVerifier(packageName, releaseInfo) {

@@ -39,6 +38,2 @@ const {

});
sharedLicenseStatuses[packageName] = {
key: licenseKey,
licenseVerifier: licenseStatus
};
const fullPackageName = `@mui/${packageName}`;

@@ -71,4 +66,8 @@ if (licenseStatus.status === _licenseStatus.LICENSE_STATUS.Valid) {

}
sharedLicenseStatuses[packageName] = {
key: licenseKey,
licenseVerifier: licenseStatus
};
return licenseStatus;
}, [packageName, releaseInfo, contextKey]);
}

@@ -7,3 +7,2 @@ "use strict";

exports.LICENSE_SCOPES = void 0;
const LICENSE_SCOPES = ['pro', 'premium'];
exports.LICENSE_SCOPES = LICENSE_SCOPES;
const LICENSE_SCOPES = exports.LICENSE_SCOPES = ['pro', 'premium'];

@@ -8,3 +8,3 @@ "use strict";

// eslint-disable-next-line @typescript-eslint/naming-convention
let LICENSE_STATUS = /*#__PURE__*/function (LICENSE_STATUS) {
let LICENSE_STATUS = exports.LICENSE_STATUS = /*#__PURE__*/function (LICENSE_STATUS) {
LICENSE_STATUS["NotFound"] = "NotFound";

@@ -18,3 +18,2 @@ LICENSE_STATUS["Invalid"] = "Invalid";

return LICENSE_STATUS;
}({});
exports.LICENSE_STATUS = LICENSE_STATUS;
}({});

@@ -7,3 +7,3 @@ "use strict";

exports.LICENSING_MODELS = void 0;
const LICENSING_MODELS = [
const LICENSING_MODELS = exports.LICENSING_MODELS = [
/**

@@ -22,3 +22,2 @@ * A license is outdated if the current version of the software was released after the expiry date of the license.

*/
'subscription'];
exports.LICENSING_MODELS = LICENSING_MODELS;
'subscription'];

@@ -11,4 +11,4 @@ "use strict";

var _jsxRuntime = require("react/jsx-runtime");
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
function getLicenseErrorMessage(licenseStatus) {

@@ -15,0 +15,0 @@ switch (licenseStatus) {

{
"name": "@mui/x-license-pro",
"version": "6.10.2",
"version": "7.0.0-alpha.0",
"description": "MUI X License verification",

@@ -27,4 +27,4 @@ "author": "MUI Team",

"dependencies": {
"@babel/runtime": "^7.22.6",
"@mui/utils": "^5.13.7"
"@babel/runtime": "^7.23.2",
"@mui/utils": "^5.14.16"
},

@@ -31,0 +31,0 @@ "peerDependencies": {

@@ -27,6 +27,2 @@ import _extends from "@babel/runtime/helpers/esm/extends";

});
sharedLicenseStatuses[packageName] = {
key: licenseKey,
licenseVerifier: licenseStatus
};
const fullPackageName = `@mui/${packageName}`;

@@ -59,4 +55,8 @@ if (licenseStatus.status === LICENSE_STATUS.Valid) {

}
sharedLicenseStatuses[packageName] = {
key: licenseKey,
licenseVerifier: licenseStatus
};
return licenseStatus;
}, [packageName, releaseInfo, contextKey]);
}

Sorry, the diff of this file is too big to display

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