Wed, 24 Apr 2024 07:36:35 UTC | login

Information for RPM nodejs010-nodejs-sorted-object-1.0.0-2.bootstrap1.3.el6.src.rpm

ID19435
Namenodejs010-nodejs-sorted-object
Version1.0.0
Release2.bootstrap1.3.el6
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-21 18:47:44 GMT
Size5.48 KB
67c957f5bd38efc57cbb18416d66c2bd
LicenseWTFPL
Buildrootsclo6-nodejs010-rh-el6-build-4396-6660
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