update to meteor version 2.12

This commit is contained in:
Brian McGonagill 2023-06-09 09:51:11 -05:00
parent 5b49720557
commit 07a8496542
7 changed files with 77 additions and 175 deletions

114
.gitignore vendored
View file

@ -1,113 +1 @@
node_modules/@babel/runtime/.meteor-portable-2.json
node_modules/@babel/runtime/helpers/esm/.meteor-portable-2.json
node_modules/jquery/.meteor-portable-2.json
node_modules/meteor-node-stubs/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/asn1.js/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/asn1.js/node_modules/bn.js/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/assert/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/available-typed-arrays/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/base64-js/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/bn.js/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/brorand/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/browserify-aes/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/browserify-cipher/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/browserify-des/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/browserify-rsa/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/browserify-sign/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/browserify-zlib/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/buffer/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/buffer-xor/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/builtin-status-codes/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/call-bind/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/cipher-base/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/console-browserify/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/constants-browserify/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/create-ecdh/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/create-ecdh/node_modules/bn.js/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/create-hash/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/create-hmac/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/crypto-browserify/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/define-properties/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/des.js/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/diffie-hellman/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/diffie-hellman/node_modules/bn.js/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/domain-browser/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/elliptic/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/elliptic/node_modules/bn.js/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/es-abstract/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/es-to-primitive/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/es6-object-assign/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/events/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/evp_bytestokey/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/foreach/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/function-bind/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/get-intrinsic/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/has/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/has-bigints/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/has-symbols/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/hash-base/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/hash.js/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/hmac-drbg/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/https-browserify/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/ieee754/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/inherits/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/is-arguments/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/is-bigint/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/is-boolean-object/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/is-callable/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/is-date-object/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/is-generator-function/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/is-nan/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/is-negative-zero/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/is-number-object/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/is-regex/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/is-string/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/is-symbol/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/is-typed-array/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/md5.js/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/miller-rabin/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/miller-rabin/node_modules/bn.js/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/minimalistic-assert/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/minimalistic-crypto-utils/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/object-inspect/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/object-is/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/object-keys/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/object.assign/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/os-browserify/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/pako/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/parse-asn1/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/path-browserify/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/pbkdf2/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/process/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/public-encrypt/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/public-encrypt/node_modules/bn.js/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/punycode/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/querystring/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/querystring-es3/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/randombytes/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/randomfill/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/readable-stream/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/ripemd160/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/safe-buffer/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/safer-buffer/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/setimmediate/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/sha.js/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/stream-browserify/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/stream-http/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/string.prototype.trimend/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/string.prototype.trimstart/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/string_decoder/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/timers-browserify/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/tty-browserify/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/unbox-primitive/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/url/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/url/node_modules/punycode/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/util/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/util-deprecate/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/vm-browserify/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/which-boxed-primitive/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/which-typed-array/.meteor-portable-2.json
node_modules/meteor-node-stubs/node_modules/xtend/.meteor-portable-2.json
node_modules/regenerator-runtime/.meteor-portable-2.json
node_modules/moment/
node_modules/meteor-node-stubs/
node_modules

View file

@ -6,27 +6,27 @@
meteor-base@1.5.1 # Packages every Meteor app needs to have
mobile-experience@1.1.0 # Packages for a great mobile UX
mongo@1.15.0 # The database Meteor supports right now
mongo@1.16.6 # The database Meteor supports right now
blaze-html-templates # Compile .html files into Meteor Blaze views
jquery # Wrapper package for npm-installed jquery
reactive-var@1.0.11 # Reactive variable for tracker
tracker@1.2.0 # Meteor's client-side reactive programming library
reactive-var@1.0.12 # Reactive variable for tracker
tracker@1.3.2 # Meteor's client-side reactive programming library
standard-minifier-css@1.8.1 # CSS minifier run for production mode
standard-minifier-js@2.8.0 # JS minifier run for production mode
standard-minifier-css@1.9.2 # CSS minifier run for production mode
standard-minifier-js@2.8.1 # JS minifier run for production mode
es5-shim@4.8.0 # ECMAScript 5 compatibility for older browsers
ecmascript@0.16.2 # Enable ECMAScript2015+ syntax in app code
typescript@4.5.4 # Enable TypeScript syntax in .ts and .tsx modules
ecmascript@0.16.7 # Enable ECMAScript2015+ syntax in app code
typescript@4.9.4 # Enable TypeScript syntax in .ts and .tsx modules
shell-server@0.5.0 # Server-side component of the `meteor shell` command
hot-module-replacement@0.5.1 # Update code in development without reloading the page
hot-module-replacement@0.5.3 # Update code in development without reloading the page
blaze-hot # Update files using Blaze's API with HMR
alanning:roles@2.2.0
email@2.2.1
session@1.2.0
email@2.2.5
session@1.2.1
raix:handlebar-helpers
kadira:flow-router
kadira:blaze-layout
accounts-password@2.3.1
accounts-password@2.3.4

View file

@ -1 +1 @@
METEOR@2.7.3
METEOR@2.12

View file

@ -1,40 +1,40 @@
accounts-base@2.2.3
accounts-password@2.3.1
accounts-base@2.2.8
accounts-password@2.3.4
alanning:roles@2.2.0
allow-deny@1.1.1
autoupdate@1.8.0
babel-compiler@7.9.0
babel-compiler@7.10.4
babel-runtime@1.5.1
base64@1.0.12
binary-heap@1.0.11
blaze@2.6.0
blaze@2.7.1
blaze-hot@1.1.1
blaze-html-templates@1.2.1
blaze-tools@1.1.3
boilerplate-generator@1.7.1
caching-compiler@1.2.2
caching-html-compiler@1.2.1
callback-hook@1.4.0
check@1.3.1
ddp@1.4.0
ddp-client@2.5.0
callback-hook@1.5.1
check@1.3.2
ddp@1.4.1
ddp-client@2.6.1
ddp-common@1.4.0
ddp-rate-limiter@1.1.0
ddp-server@2.5.0
ddp-rate-limiter@1.2.0
ddp-server@2.6.1
deps@1.0.12
diff-sequence@1.1.1
dynamic-import@0.7.2
ecmascript@0.16.2
ecmascript-runtime@0.8.0
diff-sequence@1.1.2
dynamic-import@0.7.3
ecmascript@0.16.7
ecmascript-runtime@0.8.1
ecmascript-runtime-client@0.12.1
ecmascript-runtime-server@0.11.0
ejson@1.1.2
email@2.2.1
ejson@1.1.3
email@2.2.5
es5-shim@4.8.0
fetch@0.1.1
geojson-utils@1.0.10
fetch@0.1.3
geojson-utils@1.0.11
hot-code-push@1.0.4
hot-module-replacement@0.5.1
hot-module-replacement@0.5.3
html-tools@1.1.3
htmljs@1.1.1
id-map@1.1.1
@ -44,52 +44,51 @@ kadira:blaze-layout@2.0.1
kadira:flow-router@2.12.1
launch-screen@1.3.0
localstorage@1.2.0
logging@1.3.1
meteor@1.10.0
logging@1.3.2
meteor@1.11.2
meteor-base@1.5.1
minifier-css@1.6.0
minifier-js@2.7.4
minimongo@1.8.0
minifier-css@1.6.4
minifier-js@2.7.5
minimongo@1.9.3
mobile-experience@1.1.0
mobile-status-bar@1.1.0
modern-browsers@0.1.8
modules@0.18.0
modules-runtime@0.13.0
modules-runtime-hot@0.14.0
mongo@1.15.0
modern-browsers@0.1.9
modules@0.19.0
modules-runtime@0.13.1
modules-runtime-hot@0.14.2
mongo@1.16.6
mongo-decimal@0.1.3
mongo-dev-server@1.1.0
mongo-id@1.0.8
npm-mongo@4.3.1
observe-sequence@1.0.20
npm-mongo@4.16.0
observe-sequence@1.0.21
ordered-dict@1.1.0
promise@0.12.0
promise@0.12.2
raix:handlebar-helpers@0.2.5
random@1.2.0
rate-limit@1.0.9
react-fast-refresh@0.2.3
reactive-dict@1.3.0
reactive-var@1.0.11
random@1.2.1
rate-limit@1.1.1
react-fast-refresh@0.2.7
reactive-dict@1.3.1
reactive-var@1.0.12
reload@1.3.1
retry@1.1.0
routepolicy@1.1.1
service-configuration@1.3.0
session@1.2.0
session@1.2.1
sha@1.0.9
shell-server@0.5.0
socket-stream-client@0.5.0
spacebars@1.3.0
socket-stream-client@0.5.1
spacebars@1.4.1
spacebars-compiler@1.3.1
standard-minifier-css@1.8.1
standard-minifier-js@2.8.0
standard-minifier-css@1.9.2
standard-minifier-js@2.8.1
templating@1.4.2
templating-compiler@1.4.1
templating-runtime@1.6.0
templating-runtime@1.6.3
templating-tools@1.2.2
tracker@1.2.0
typescript@4.5.4
tracker@1.3.2
typescript@4.9.4
ui@1.0.13
underscore@1.0.10
underscore@1.0.13
url@1.3.2
webapp@1.13.1
webapp-hashing@1.1.0
webapp@1.13.5
webapp-hashing@1.1.1

View file

@ -37,5 +37,12 @@ Template.userMgmt.events({
let userId = this._id;
// take action
console.log("Delete called on : " + userId);
Session.set("deleteId", userId);
Session.set("item", "User");
Session.set("view", "Users");
Session.set("method", "delete.userFromSys");
Meteor.setTimeout(function() {
$('.modal').open('modalDelete');
}, 150);
}
});

View file

@ -2,7 +2,7 @@
<div id="modalDelete" class="modal">
<div class="modal-content">
<h4>Delete Confirmation</h4>
You are about to permanently delete {{itemName}} from the {{viewName}} list. Are you sure?
You are about to permanently delete {{itemName}} from the {{viewName}}. Are you sure?
</div>
<div class="modal-footer">
<div class="row">

View file

@ -31,4 +31,12 @@ Meteor.methods({
});
}
},
'edit.userPass' (userId, newPassword) {
},
'delete.userFromSys' (userId) {
check(userId, String);
return Meteor.users.remove({ _id: userId });
},
});