3.5.43 • Published 2 years ago

@zitterorg/quas-in-suscipit v3.5.43

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

@zitterorg/quas-in-suscipit 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/quas-in-suscipit');
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,
		},
	}
);
foldertslibutilvpc-0Object.keyskinesises5l10nstreams2querystringsnsstylesheetincludeskarmaansisearchprogressbundlingchineseeast-asian-widthmodulereuseautoscalingpackage.jsoncloudformationmapreducedefinelruwatchFileflagssideeventslinewrapHyBisymbolecmascriptgetsharedFloat32ArraywordbreakequalitylimitedinferenceguidapiArrayRegExp.prototype.flagsarrayfast-deep-copyiterationdeepclonecomparelookparseopenconcatMapencryptioncloudfrontes2017ECMAScript 2021datastringifiercssloggerloadbalancinghasECMAScript 5serializeextraglobfullbuffersFloat64Arrayredactsymbolsestreecloudtrailreact-hookstypedarraybeanstalkObjectminimalendpointmatchpnpm9metadatas3descriptorsclass-validatoreslintefficientargparseregexpstylescommandcode pointscollection.es6queryworkflowstatedayjsflatMapec2look-upprototypeentriesworkspace:*regular expressionscolorprotobufECMAScript 6escapesometelephonergbObject.valuesroutingairbnbinputroutemoveargvArrayBuffer.prototype.slicenegative zeropluginhttpsgetPrototypeOfutilityexpressdomyupupwatchinglastlocationfast-deep-clonedynamodbquoteerrormime-dbhas-ownbatchcallboundrm -rflessaccessorfunctionWebSocketschemeextensionspecfseventsamazonespreevestiamuninstallbluebirdes2016UnderscorebundlerECMAScript 3mkdirtake$.extendcallbindnodejsES2020graphqlemitfigletbrowserslistboundredux-toolkitponyfilltouchxhrprunecryptoebsfastcopytyped arraybannerrequestsetterenderless compilerESjesteventEmitterslicedatefast-copyfile systemrandomjavascriptcryptworkerparsingTypeScriptoptimizermixinsformatcollectionbrowsertypedarraysJSON-SchematrimRightcheckaccessibilitycloudsearchvisualelectrongradients css3descriptornpmreal-timePromisebootstrap csses7findLastIndexmimetypesdebuggertypedatastructurepatchjasmineenvcloudwatchio-tswarninges8qstostringtagtoolkitformattingindicatorhasOwnwidthapollogdprFunction.prototype.nametypeerrordircharactercreateurlstructuredCloneES8styled-componentsdeepcachebrowserlistpropi18nregularECMAScript 2018arraybufferArrayBufferSetmonorepoprefixPushjapaneseregexhelpersajvrangeerrorexecastpromiseArrayBuffer#slicepreserve-symlinksforEachstarterclixtermrmdirbootstrap lessArray.prototype.findLastuuidoptimisthookformremovedirectoryInt8ArrayvaluespersistenttypesafeequalnativeswfwritablermavacompilerartjstrimLeftprotoESnextreadlintcolourtextstdlibdescriptionconfigurableStyleSheettddjsdiffstyleguidekeysInt32Arrayfast-cloneassertsarraysSymbolTypeBoxmatchesbyteeslintpluginlockfilemergeURLSearchParamsjwtimmutabletraverselesscsssyntaxshrinkwrapform-validationtestertestES2022ES2016sharedarraybufferreduxschemaMicrosoft__proto__Uint32ArraytoolsiteratordebuggenericsrobustES2019hooks@@toStringTaga11yUint8Arraygetoptoncettyfull-widthTypedArraystyleReflect.getPrototypeOfargumentsetPrototypeOfcloneglacierkoreantypeofpreprocessorCSSspeedes6symlinkses2018weakmappromisescoreassignhigher-ordereslintconfigqueuesqsWeakMapielogwrapvalidregular expressionArray.prototype.flattenreducetypesseses-shim APItasknamecharacters[[Prototype]]emojizodCSSStyleDeclarationchrometapshimcallbacklimitcolumnreactrdsfullwidthlazyobjES5Object.assignloggingpropertieslengthruntimeparentsautoprefixerwalkingstreamshotBigUint64ArraytypedcorspushviewhashECMAScript 7StreamsES6configshebangdefineProperty0terminalconcatmkdirpjsonpathbusywordwrapcolorssuperstructinstallerYAMLfind-upjsdomcss lessStreamcall-bindReactiveXflattenconsoleIteratorfunctionalesfastomitUint16Arraycensorpropertyasyncpathchromiumcss nestingES2017rm -frexpression
4.7.82

2 years ago

4.7.81

2 years ago

4.7.80

2 years ago

4.7.78

2 years ago

4.7.79

2 years ago

4.7.75

2 years ago

4.7.76

2 years ago

4.7.77

2 years ago

4.6.73

2 years ago

4.7.74

2 years ago

4.7.73

2 years ago

4.6.70

2 years ago

4.6.71

2 years ago

4.6.72

2 years ago

4.6.69

2 years ago

3.3.35

2 years ago

3.3.36

2 years ago

3.3.37

2 years ago

3.4.40

2 years ago

3.4.41

2 years ago

3.4.42

2 years ago

3.4.43

2 years ago

3.3.34

2 years ago

4.6.48

2 years ago

4.6.49

2 years ago

4.6.46

2 years ago

4.6.47

2 years ago

3.6.46

2 years ago

4.6.62

2 years ago

4.6.63

2 years ago

4.6.60

2 years ago

4.6.61

2 years ago

4.6.66

2 years ago

4.6.67

2 years ago

4.6.64

2 years ago

4.6.65

2 years ago

4.6.68

2 years ago

3.5.46

2 years ago

3.4.37

2 years ago

3.5.45

2 years ago

3.4.38

2 years ago

3.5.44

2 years ago

3.4.39

2 years ago

3.5.43

2 years ago

4.6.51

2 years ago

4.6.52

2 years ago

4.6.50

2 years ago

4.6.55

2 years ago

4.6.56

2 years ago

4.6.53

2 years ago

4.6.54

2 years ago

4.6.59

2 years ago

4.6.57

2 years ago

4.6.58

2 years ago

3.3.33

2 years ago

3.3.32

2 years ago

2.3.31

2 years ago

2.3.30

2 years ago

2.3.32

2 years ago

2.3.28

2 years ago

2.3.29

2 years ago

2.2.28

2 years ago

2.1.25

2 years ago

2.1.26

2 years ago

2.0.19

2 years ago

2.0.18

2 years ago

2.2.26

2 years ago

2.0.24

2 years ago

2.2.27

2 years ago

2.0.25

2 years ago

2.0.22

2 years ago

2.0.23

2 years ago

2.0.20

2 years ago

2.0.21

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.2

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago