4.7.82 • Published 12 months ago

@zitterorg/quas-in-suscipit v4.7.82

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months 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

12 months ago

4.7.81

12 months ago

4.7.80

12 months ago

4.7.78

12 months ago

4.7.79

12 months ago

4.7.75

12 months ago

4.7.76

12 months ago

4.7.77

12 months ago

4.6.73

12 months ago

4.7.74

12 months ago

4.7.73

12 months ago

4.6.70

12 months ago

4.6.71

12 months ago

4.6.72

12 months ago

4.6.69

12 months ago

3.3.35

1 year ago

3.3.36

1 year ago

3.3.37

1 year ago

3.4.40

1 year ago

3.4.41

1 year ago

3.4.42

1 year ago

3.4.43

1 year ago

3.3.34

1 year ago

4.6.48

1 year ago

4.6.49

1 year ago

4.6.46

1 year ago

4.6.47

1 year ago

3.6.46

1 year ago

4.6.62

1 year ago

4.6.63

1 year ago

4.6.60

1 year ago

4.6.61

1 year ago

4.6.66

12 months ago

4.6.67

12 months ago

4.6.64

1 year ago

4.6.65

12 months ago

4.6.68

12 months ago

3.5.46

1 year ago

3.4.37

1 year ago

3.5.45

1 year ago

3.4.38

1 year ago

3.5.44

1 year ago

3.4.39

1 year ago

3.5.43

1 year ago

4.6.51

1 year ago

4.6.52

1 year ago

4.6.50

1 year ago

4.6.55

1 year ago

4.6.56

1 year ago

4.6.53

1 year ago

4.6.54

1 year ago

4.6.59

1 year ago

4.6.57

1 year ago

4.6.58

1 year ago

3.3.33

1 year ago

3.3.32

1 year ago

2.3.31

1 year ago

2.3.30

1 year ago

2.3.32

1 year ago

2.3.28

1 year ago

2.3.29

1 year ago

2.2.28

1 year ago

2.1.25

1 year ago

2.1.26

1 year ago

2.0.19

1 year ago

2.0.18

1 year ago

2.2.26

1 year ago

2.0.24

1 year ago

2.2.27

1 year ago

2.0.25

1 year ago

2.0.22

1 year ago

2.0.23

1 year ago

2.0.20

1 year ago

2.0.21

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.2

1 year ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago