Information about the package, nodejs-weak-map, which is shipped with common Linux distributions. The nodejs-weak-map package is designed for, A WeakMap shim for Node.js and browsers.
Package Name:
nodejs-weak-map
Summary:
A WeakMap shim for Node.js and browsers
Description:
WeakMap is a collection introduced to JavaScript with EcmaScript 6. It provides a mapping from objects to values, but allows any entry to be garbage collected if the key is provably lost. In order for it to be possible that a key is provably lost, weak maps do not provide a way to access the key list. This is a Node.js module that provides a shim and patcher for missing or broken WeakMap implementations, suitable for use in Node.js and browsers that provide the EcmaScript 5 property description interfaces.
Architecture:
noarch
Version:
1.0.5
Release:
1.el6
Size:
15 k
Repository:
epel
From Repository:
Licence:
ASL 2.0
Control the nodejs-weak-map package with the following handy commands outlined below.
yum install nodejs-weak-map
This command will install nodejs-weak-map on the server.
yum remove nodejs-weak-map
This command will un-install nodejs-weak-map on the server. When you run this command, you will be asked if you are sure that you want to remove nodejs-weak-map, so you have to manually confirm that you want to do this.
yum -y remove nodejs-weak-map
This command will un-install nodejs-weak-map on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove nodejs-weak-map when using the -y flag.
yum update nodejs-weak-map
This command will update nodejs-weak-map to the latest version. When you run this command, you will be asked if you are sure that you want to remove nodejs-weak-map, so you have to manually confirm that you want to do this.
yum -y update nodejs-weak-map
This command will update nodejs-weak-map to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove nodejs-weak-map when using the -y flag.
yum info nodejs-weak-map
This command will show you core information about the nodejs-weak-map package.
yum deplist nodejs-weak-map
This command will show you the dependencies for nodejs-weak-map. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update nodejs-weak-map
This command will check if there is an update waiting on nodejs-weak-map. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.