5.9.77 • Published 2 years ago

@zitterorg/dolores-nostrum-corrupti v5.9.77

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@zitterorg/dolores-nostrum-corrupti Version Badge

github actions coverage License Downloads

npm badge

Define a data property on an object. Will fall back to assignment in an engine without descriptors.

The three non* argument can also be passed null, which will use the existing state if available.

The loose argument will mean that if you attempt to set a non-normal data property, in an environment without descriptor support, it will fall back to normal assignment.

Usage

var defineDataProperty = require('@zitterorg/dolores-nostrum-corrupti');
var assert = require('assert');

var obj = {};
defineDataProperty(obj, 'key', 'value');
defineDataProperty(
	obj,
	'key2',
	'value',
	true, // nonEnumerable, optional
	false, // nonWritable, optional
	true, // nonConfigurable, optional
	false // loose, optional
);

assert.deepEqual(
	Object.getOwnPropertyDescriptors(obj),
	{
		key: {
			configurable: true,
			enumerable: true,
			value: 'value',
			writable: true,
		},
		key2: {
			configurable: false,
			enumerable: false,
			value: 'value',
			writable: true,
		},
	}
);
typanion@@toStringTaghttptoStringTagtslibbreakdefaulttake256ES2020reducefromPromisebyteOffsetsharedarraybufferpatchinternal slotwgetJSON-Schemaastcheckl10nmodulesprettyObject.fromEntriesa11yloadbalancingawaitlastPushuptrimRightrangeerrorwordwrapaccessorroute53intrinsictrimLeftutil.inspectloadinggetPrototypeOfcryptothroatprunerm -frbrowserObject.getPrototypeOfES3resolvehooksdescriptiones2016gettercurlcallbackpluginloggingreact-hooksobjgroupByisObject.isenvironmentstoragegatewaylint-0autoprefixerqueryES2022esmetadatachaitypedarraysArray.prototype.flatMaparrayssymbolsttyconsumeworkflowredactMicrosoftparsingformsECMAScript 2023nopeopenerchromiumjsdomcallboundautoscalingelectronsortedObservablesqsreduxBigInt64Arrayregexpnametyped arraytextquerystringdateHyBiimportexportshellnumbermatchesreact-testing-libraryjoiwaapiasyncnamesequalityindicatorformwalkinghasOwnProperty[[Prototype]]functionskarmapackage.jsonmochasnses7flagextraclass-validatorUint8ClampedArraysymbolcliCSSjshintargumentrfc4122ES8fullcontainsscheme-validationunicodetypedparentfastcopyTypeScriptspawncolorsfigletdomdirectoryiterationdataViewcacheeveryECMAScript 6toolsconvertinstalles2015prefixschemerandomfindLastIndexpushminimalArray.prototype.filterObject.assigngraphqlstringifierexeSetuninstallreact-hook-formsettingsdeterministicpnpm9walkstructuredClonecoerciblevpcregularwhichgroupObject.keysjsonpathenumerablechromedataviewArrayBuffer#slicebrowserslistsuperstructfilterchanneljsonMapFloat64ArrayendpointreusecloudtrailapimoduleairbnbimportjsdiffsymlinkspropertiesprocessArray.prototype.includesrobusttc39test.envicuassertmake dirpersistentansiformatargparseTypeBoxfpsproxystylinglook-upimmutableconfigurablerdssliceenvironmentsschemastyled-componentsguidjQueryhasconsoleworkerArray.prototype.containsagenttrimStartcmdlaunchbundlinglocationprivateelbreact posesomepackagessameValueZeroreact animationclonedropboundlockfiletaskoptioninvariantECMAScript 3findCSSStyleDeclarationbanneryupdeepcloneruntimetouchcollectionbindtypeofiteratorbufferscommand-lineinternalasciipreserve-symlinksstringifyqueuecallURLbyteES2018limitpopmotionlibphonenumberUint16ArraycircularequalconcatMapsymlinkimmercloudformationenvreduceremrmobilejstoobjectkinesiseslintplugintoolkitArray.prototype.findLastchildfull-widthprotodefinePropertywaitArray.prototype.flattenglobalparsestablees2018es5byteLengthfunction.lengtharktypewidthphonerapidpathcommanderflattenURLSearchParamswebBigUint64Arraycolumnurlseditorform-validationbluebirdstreams2ECMAScript 2017trimEndWeakSetassertsInt8Arrayspeccssfastcloneredux-toolkithigher-orderroutingespreexhrponyfillconcurrencystylevisualappemojiES2015ECMAScript 2019keysopensbatchspringes-shimsgetintrinsicvalidationpromiseECMAScript 5call-bounduuidArraylooksetPrototypeOfprototypeincludesdirtypeslinkajaxmatchiteratecharactervalueslengthhttpsInt32ArrayReactiveXdotenv__proto__fast-deep-clonediffperformanceweaksetebsextendformattingRegExp.prototype.flagsdynamodbpropextensiondescriptorvaluewritableforEachRFC-6455tapmrues8drages-shim APIwritenegative zerovestfolderECMAScript 7xdgECMAScript 2015wafmonorepojapaneseeslint-pluginprivate datagenericsperformant0Streamfastifyduplexdependency managermomentArray.prototype.findLastIndexyamlinstallerObject.definePropertycompilercall-bindmkdirsentrieses2017lruECMAScript 2020Function.prototype.nameprotocol-buffersobjectisConcatSpreadablejasmineomithelperassertionRxfast-copysetterdeepSymbol.toStringTagESnextcharsetcreaterouteconcatbeanstalkECMAScript 2018flagsJSONdefineworkspace:*websitethreecolourArrayBuffer.prototype.sliceAsyncIteratorglobalsspinnerpicomatchsequencesharedtraverselogreactUnderscorewrapsyntaxerrorhashzerocode pointsclientec2eventEmitterbufferutilitiessetImmediateglobhardlinksxdg-openmergetrimcloudwatchexpressionreadablestreamapollorequiresortkeyhookformendermakeframermatchAlleslintconfigcopysqsObservablecore-jscjkxtermgetoptlistenerspostcss-pluginoutputpropertyratecharacterscolumnsdataECMAScript 2021stylesutilES2023streamseast-asian-widthes6flatfindLastinspectdeletemapreduceidvalidateObjectstyleguidenativeajvInt16Arrayrmi18nescapenodespinnerslinewrapString.prototype.matchAllshamvarstester_.extendtermredirectfastObject.valuesaccessibilitytostringtagavaes-abstractslottelephoneArray.prototype.flatregular expressionUint8ArrayYAMLrm -rfparentsio-tstddwhatwgcss-in-jssimpledbmimetypesESES6regular expressionsshimsideshrinkwrapRegExp#flagsratelimitkoreanestreevalidmovehas-owntoArraytoSorteds3Reflect.getPrototypeOfcloudfrontString.prototype.trimoptimistpackageiamloggerexpresssyntaxoptimizerIteratorecmascriptcorehelpersES2019deep-cloneargumentsexecassignerrormime-dbprogresstspyyamlstreampolyfill
5.9.77

2 years ago

5.8.75

2 years ago

5.8.76

2 years ago

5.8.77

2 years ago

5.7.75

2 years ago

4.7.74

2 years ago

4.7.75

2 years ago

4.7.73

2 years ago

4.7.70

2 years ago

4.7.71

2 years ago

4.7.72

2 years ago

4.7.67

2 years ago

4.7.68

2 years ago

4.7.66

2 years ago

4.7.69

2 years ago

4.6.40

2 years ago

4.6.41

2 years ago

4.7.56

2 years ago

4.6.44

2 years ago

4.7.57

2 years ago

4.6.45

2 years ago

4.7.54

2 years ago

4.6.42

2 years ago

4.7.55

2 years ago

4.6.43

2 years ago

4.6.48

2 years ago

4.6.49

2 years ago

4.5.37

2 years ago

4.7.58

2 years ago

4.6.46

2 years ago

4.7.59

2 years ago

4.6.47

2 years ago

4.5.38

2 years ago

4.6.38

2 years ago

4.6.39

2 years ago

3.5.36

2 years ago

3.5.35

2 years ago

3.5.34

2 years ago

3.5.33

2 years ago

3.5.32

2 years ago

3.5.31

2 years ago

3.5.30

2 years ago

3.5.37

2 years ago

4.7.60

2 years ago

4.7.63

2 years ago

4.6.51

2 years ago

4.7.64

2 years ago

4.6.52

2 years ago

4.7.61

2 years ago

4.7.62

2 years ago

4.6.50

2 years ago

4.7.65

2 years ago

4.6.53

2 years ago

4.6.54

2 years ago

3.5.29

2 years ago

3.5.25

2 years ago

3.5.28

2 years ago

3.5.27

2 years ago

3.5.26

2 years ago

3.4.25

2 years ago

3.4.23

2 years ago

3.4.24

2 years ago

3.3.19

2 years ago

3.4.20

2 years ago

3.4.21

2 years ago

3.4.22

2 years ago

2.2.17

2 years ago

2.2.15

2 years ago

2.2.16

2 years ago

2.2.14

2 years ago

3.4.19

2 years ago

2.3.17

2 years ago

2.3.19

2 years ago

2.3.18

2 years ago

2.2.13

2 years ago

2.2.12

2 years ago

1.2.12

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago