Mon, 06 May 2024 18:12:34 UTC | login

Information for RPM nodejs010-nodejs-sorted-object-1.0.0-0.bootstrap1.3.el7.src.rpm

ID14672
Namenodejs010-nodejs-sorted-object
Version1.0.0
Release0.bootstrap1.3.el7
Epoch
Archsrc
SummaryReturns a copy of an object with its keys sorted
DescriptionAlthough objects in JavaScript are theoretically unsorted, in practice most engines use insertion order—at least, ignoring numeric keys. This manifests itself most prominently when dealing with an object's JSON serialization. So, for example, you might be trying to serialize some object to a JSON file. But every time you write it, it ends up being output in a different order, depending on how you created it in the first place! This makes for some ugly diffs. sorted-object gives you the answer. Just use this package to create a version of your object with its keys sorted before serializing, and you'll get a consistent order every time.
Build Time2015-08-19 13:55:43 GMT
Size5.49 KB
befca3bb5488b4551e295ffecec09c95
LicenseWTFPL
Buildrootsclo7-nodejs010-rh-el7-build-3290-5413
Provides No Provides
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
nodejs010
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
scl-utils-build
Recommends No Recommends
Suggests No Suggests
Supplements No Supplements
Enhances No Enhances
Files
1 through 2 of 2
Name ascending sort Size
nodejs-sorted-object.spec1.81 KB
sorted-object-1.0.0.tgz1.46 KB
Component of No Buildroots