@three11/debounce
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -1,1 +0,1 @@ | ||
(function(a,b){if("function"==typeof define&&define.amd)define(["exports"],b);else if("undefined"!=typeof exports)b(exports);else{var c={exports:{}};b(c.exports),a.debounce=c.exports}})(this,function(a){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var b=arguments;a.default=function f(a,c,d){var e;return c=c?c:15,function(){var f=b,g=d&&e;clearTimeout(e),e=setTimeout(function b(){e=null,d||a.apply(void 0,f)},c),g&&a.apply(void 0,f)}}}); | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):e.debounce=n()}(this,function(){"use strict";var r=arguments;return function(o,u,i){var f;return u=u||15,function(){var e=void 0,n=r,t=i&&f;clearTimeout(f),f=setTimeout(function(){f=null,i||o.apply(e,n)},u),t&&o.apply(e,n)}}}); |
{ | ||
"name": "@three11/debounce", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Debounce multiple function executions", | ||
"main": "dist/debounce.js", | ||
"main": "dist/debounce.min.js", | ||
"scripts": { | ||
"dist": "babel src/debounce.js --out-file dist/debounce.js", | ||
"minify": "babel src/debounce.js --out-file dist/debounce.min.js --presets minify,@babel/env", | ||
"build": "npm run dist && npm run minify" | ||
"build": "rollup -c" | ||
}, | ||
@@ -47,15 +45,7 @@ "repository": { | ||
"@babel/core": "7.1.2", | ||
"@babel/plugin-proposal-class-properties": "7.1.0", | ||
"@babel/plugin-proposal-decorators": "7.1.2", | ||
"@babel/plugin-proposal-export-namespace-from": "7.0.0", | ||
"@babel/plugin-proposal-function-sent": "7.1.0", | ||
"@babel/plugin-proposal-json-strings": "7.0.0", | ||
"@babel/plugin-proposal-numeric-separator": "7.0.0", | ||
"@babel/plugin-proposal-throw-expressions": "7.0.0", | ||
"@babel/plugin-syntax-dynamic-import": "7.0.0", | ||
"@babel/plugin-syntax-import-meta": "7.0.0", | ||
"@babel/preset-env": "7.1.0", | ||
"babel-loader": "8.0.4", | ||
"babel-minify": "0.5.0" | ||
"rollup": "^0.66.4", | ||
"rollup-plugin-babel": "^4.0.3", | ||
"rollup-plugin-uglify": "^6.0.0" | ||
} | ||
} |
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
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
6
39502
48