Comparing version 0.1.4 to 0.1.5
"use strict"; | ||
var _interopRequireWildcard = require("reshow-runtime/helpers/interopRequireWildcard"); | ||
var _interopRequireDefault = require("reshow-runtime/helpers/interopRequireDefault"); | ||
var _typeof = require("reshow-runtime/helpers/typeof"); | ||
var _classCallCheck2 = _interopRequireDefault(require("reshow-runtime/helpers/classCallCheck")); | ||
@@ -15,6 +15,2 @@ | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(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; } | ||
describe("Test call func", function () { | ||
@@ -21,0 +17,0 @@ it("test call", function () { |
"use strict"; | ||
var _interopRequireWildcard = require("reshow-runtime/helpers/interopRequireWildcard"); | ||
var _interopRequireDefault = require("reshow-runtime/helpers/interopRequireDefault"); | ||
var _typeof = require("reshow-runtime/helpers/typeof"); | ||
var _chai = require("chai"); | ||
@@ -17,6 +17,2 @@ | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(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 keys = Object.keys; | ||
@@ -23,0 +19,0 @@ describe("Test Register", function () { |
"use strict"; | ||
var _interopRequireWildcard = require("reshow-runtime/helpers/interopRequireWildcard"); | ||
var _interopRequireDefault = require("reshow-runtime/helpers/interopRequireDefault"); | ||
var _typeof = require("reshow-runtime/helpers/typeof"); | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
Object.defineProperty(exports, "register", { | ||
Object.defineProperty(exports, "cleanAllRegister", { | ||
enumerable: true, | ||
get: function get() { | ||
return _register["default"]; | ||
return _register.cleanAllRegister; | ||
} | ||
}); | ||
Object.defineProperty(exports, "cleanAllRegister", { | ||
exports.isRequired = exports.defaultCall = exports["default"] = exports.debounce = void 0; | ||
Object.defineProperty(exports, "register", { | ||
enumerable: true, | ||
get: function get() { | ||
return _register.cleanAllRegister; | ||
return _register["default"]; | ||
} | ||
}); | ||
exports.throttle = exports.debounce = exports.isRequired = exports.defaultCall = exports["default"] = void 0; | ||
exports.throttle = void 0; | ||
@@ -28,6 +29,2 @@ var _callfunc = _interopRequireDefault(require("./callfunc")); | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(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 defaultCall = function defaultCall(defaultFunc, func, scope) { | ||
@@ -34,0 +31,0 @@ return function () { |
@@ -8,3 +8,3 @@ "use strict"; | ||
}); | ||
exports.cleanAllRegister = exports["default"] = void 0; | ||
exports["default"] = exports.cleanAllRegister = void 0; | ||
@@ -11,0 +11,0 @@ var _classCallCheck2 = _interopRequireDefault(require("reshow-runtime/helpers/classCallCheck")); |
{ | ||
"name": "call-func", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "call function", | ||
@@ -12,3 +12,4 @@ "repository": "react-atomic/react-atomic-organism", | ||
"dependencies": { | ||
"reshow-constant": "*" | ||
"reshow-constant": "*", | ||
"get-object-value": "*" | ||
}, | ||
@@ -21,5 +22,5 @@ "devDependencies": { | ||
"clean": "find ./build -name '*.*' | xargs rm -rf", | ||
"build": "npm run clean && npm run build:cjs && npm run build:es", | ||
"build:cjs": "BABEL_ENV=cjs babel src -d build/cjs/src --root-mode upward", | ||
"build:es": "BABEL_ENV=es babel src -d build/es/src --root-mode upward", | ||
"build": "npm run clean && npm run build:cjs && npm run build:es", | ||
"mochaFor": "mocha -r jsdom-global/register", | ||
@@ -30,7 +31,3 @@ "mocha": "npm run mochaFor -- 'build/cjs/**/__tests__/*.js'", | ||
}, | ||
"files": [ | ||
"build", | ||
"package.json", | ||
"README.md" | ||
] | ||
"files": ["build", "package.json", "README.md"] | ||
} |
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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
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
31258
2
920
2
+ Addedget-object-value@*
+ Addedget-object-value@0.7.3(transitive)
+ Addedreshow-runtime@0.17.15(transitive)