Upgrade dependencies (#379)

pull/381/head
Glen Cheney 2 years ago committed by GitHub
parent 05dd46dc92
commit 34b086274b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

13
dist/shuffle.js vendored

@ -2,7 +2,7 @@
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) : typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Shuffle = factory()); (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Shuffle = factory());
}(this, (function () { 'use strict'; })(this, (function () { 'use strict';
function _classCallCheck(instance, Constructor) { function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) { if (!(instance instanceof Constructor)) {
@ -23,6 +23,9 @@
function _createClass(Constructor, protoProps, staticProps) { function _createClass(Constructor, protoProps, staticProps) {
if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (protoProps) _defineProperties(Constructor.prototype, protoProps);
if (staticProps) _defineProperties(Constructor, staticProps); if (staticProps) _defineProperties(Constructor, staticProps);
Object.defineProperty(Constructor, "prototype", {
writable: false
});
return Constructor; return Constructor;
} }
@ -38,6 +41,9 @@
configurable: true configurable: true
} }
}); });
Object.defineProperty(subClass, "prototype", {
writable: false
});
if (superClass) _setPrototypeOf(subClass, superClass); if (superClass) _setPrototypeOf(subClass, superClass);
} }
@ -81,6 +87,8 @@
function _possibleConstructorReturn(self, call) { function _possibleConstructorReturn(self, call) {
if (call && (typeof call === "object" || typeof call === "function")) { if (call && (typeof call === "object" || typeof call === "function")) {
return call; return call;
} else if (call !== void 0) {
throw new TypeError("Derived constructors may only return object or undefined");
} }
return _assertThisInitialized(self); return _assertThisInitialized(self);
@ -2068,6 +2076,7 @@
this._disposeItems(this.items); this._disposeItems(this.items);
this.items.length = 0; this.items.length = 0;
this.sortedItems.length = 0;
this._transitions.length = 0; // Null DOM references this._transitions.length = 0; // Null DOM references
this.options.sizer = null; this.options.sizer = null;
@ -2246,5 +2255,5 @@
return Shuffle; return Shuffle;
}))); }));
//# sourceMappingURL=shuffle.js.map //# sourceMappingURL=shuffle.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -2,7 +2,7 @@
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) : typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Shuffle = factory()); (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Shuffle = factory());
}(this, (function () { 'use strict'; })(this, (function () { 'use strict';
function _classCallCheck(instance, Constructor) { function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) { if (!(instance instanceof Constructor)) {
@ -23,6 +23,9 @@
function _createClass(Constructor, protoProps, staticProps) { function _createClass(Constructor, protoProps, staticProps) {
if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (protoProps) _defineProperties(Constructor.prototype, protoProps);
if (staticProps) _defineProperties(Constructor, staticProps); if (staticProps) _defineProperties(Constructor, staticProps);
Object.defineProperty(Constructor, "prototype", {
writable: false
});
return Constructor; return Constructor;
} }
@ -38,6 +41,9 @@
configurable: true configurable: true
} }
}); });
Object.defineProperty(subClass, "prototype", {
writable: false
});
if (superClass) _setPrototypeOf(subClass, superClass); if (superClass) _setPrototypeOf(subClass, superClass);
} }
@ -81,6 +87,8 @@
function _possibleConstructorReturn(self, call) { function _possibleConstructorReturn(self, call) {
if (call && (typeof call === "object" || typeof call === "function")) { if (call && (typeof call === "object" || typeof call === "function")) {
return call; return call;
} else if (call !== void 0) {
throw new TypeError("Derived constructors may only return object or undefined");
} }
return _assertThisInitialized(self); return _assertThisInitialized(self);
@ -2068,6 +2076,7 @@
this._disposeItems(this.items); this._disposeItems(this.items);
this.items.length = 0; this.items.length = 0;
this.sortedItems.length = 0;
this._transitions.length = 0; // Null DOM references this._transitions.length = 0; // Null DOM references
this.options.sizer = null; this.options.sizer = null;
@ -2246,5 +2255,5 @@
return Shuffle; return Shuffle;
}))); }));
//# sourceMappingURL=shuffle.js.map //# sourceMappingURL=shuffle.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,17 +1,16 @@
const gulp = require('gulp'); const gulp = require('gulp');
const sass = require('gulp-sass'); const dartSass = require('sass');
const gulpSass = require('gulp-sass');
const postcss = require('gulp-postcss'); const postcss = require('gulp-postcss');
const autoprefixer = require('autoprefixer'); const autoprefixer = require('autoprefixer');
const cssnano = require('cssnano'); const cssnano = require('cssnano');
const sass = gulpSass(dartSass);
module.exports = function css() { module.exports = function css() {
return gulp.src([ return gulp
'./docs/_scss/shuffle-styles.scss', .src(['./docs/_scss/shuffle-styles.scss', './docs/_scss/style.scss'])
'./docs/_scss/style.scss', .pipe(sass().on('error', sass.logError))
])
.pipe(sass().on('error', (err) => {
console.error(err.formatted);
}))
.pipe(postcss([autoprefixer(), cssnano()])) .pipe(postcss([autoprefixer(), cssnano()]))
.pipe(gulp.dest('./docs/css/')); .pipe(gulp.dest('./docs/css/'));
}; };

@ -52,26 +52,27 @@
"tiny-emitter": "^2.1.0" "tiny-emitter": "^2.1.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.4.5", "@babel/core": "^7.16.12",
"@babel/preset-env": "^7.4.5", "@babel/preset-env": "^7.16.11",
"@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.0", "@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.0.0", "@rollup/plugin-node-resolve": "^13.1.3",
"autoprefixer": "^10.2.4", "autoprefixer": "^10.4.2",
"cssnano": "^5.0.4", "cssnano": "^5.0.16",
"eslint": "^7.5.0", "eslint": "^8.7.0",
"eslint-config-airbnb-base": "^14.0.0", "eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.17.3", "eslint-plugin-import": "^2.25.4",
"gulp": "^4.0.2", "gulp": "^4.0.2",
"gulp-postcss": "^9.0.0", "gulp-postcss": "^9.0.1",
"gulp-sass": "^4.0.0", "gulp-sass": "^5.1.0",
"gulp-shell": "^0.8.0", "gulp-shell": "^0.8.0",
"jest": "^27.0.3", "jest": "^27.4.7",
"postcss": "^8.2.8", "postcss": "^8.4.5",
"rollup": "^2.2.0", "rollup": "^2.66.1",
"rollup-plugin-terser": "^7.0.0", "rollup-plugin-terser": "^7.0.0",
"sinon": "^11.1.1", "sass": "^1.49.0",
"typescript": "^4.0.5" "sinon": "^12.0.1",
"typescript": "^4.5.5"
} }
} }

Loading…
Cancel
Save