3.10.97 • Published 1 year ago

@kollorg/ratione-sint v3.10.97

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@kollorg/ratione-sint 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('@kollorg/ratione-sint');
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,
		},
	}
);
dataviewcircularES2017fpisConcatSpreadablereuseES2020namesgetterglobalsinatraregexregularenvironmentHyBiqueuehttps256ObservableflagspicomatchglobinspectYAMLapiECMAScript 2023touchregexptestingreact-hook-formregular expressionmodulesReactiveExtensionsdefinefullJSON-SchemacolumnnamewarningBigUint64Arrayimmutableprivateobjyuppositivetermaccessibilitymkdirpsnsemrreact poseprettyfetchtypaniontranspilermkdirshellpatcharktypeindicatorgetPrototypeOfstructuredClonepure_.extendasterisksforkpropairbnbwalkwafamazonfindLastIndexcontainsnopebrowserlistdebuggersyntaxerrorsuperagentreduxreactfastcopyfunctionsatomeslintconfigtoStringTagpackage managermomentphoneutilredactexpressionjapaneseES2018pathec2bundlingmovefunctionvalidatorconsumeglobalsflatstylepruneReactiveXES6querystringslicedatasortgitignoreidupstyled-componentsbusychromeboundaccessorjavascripthigher-orderiteratenodejsconcatfsreverse0__proto__sortedunicoderm -rferrorECMAScript 7helperdescriptionfastifystableES5full-widtheventsTypedArraySymboltacitcoveragecheckESbrowserslistRxJStoolsownendpointperformancebannergraphqlshimfind-upimportvaluescallutilitytc39RFC-6455eslintpluginvariablesprogressoncewaittddprotocol-buffersminimalfnmatchlistenersoptimista11ytesttakeUint32Arraydiffextendmapreducekeykinesisreal-timeroutermglacier@@toStringTagcurriedutilsmetadatasqsclientenumerablevisualkoreanjasminetesteres2017Observablescopypinofunction.lengthfindLasttriminstrumentationspringwritesyntaxnativeRegExp.prototype.flagslruarraysymlinkscreateMicrosoftprefixpackagedependency managerdropdependenciesinferenceiteratorcolumnscallboundagentdeepvalidationbuffersObject.isiamjsxES7classesTypeBoxreact-testing-librarymulti-packagecharactertypedarraystringifiersidecssasciiCSSStyleDeclarationeventDispatcherUint8ArraylocationmakehooksrmdirignoregetArray.prototype.containselasticacheformattingbabel$.extendrdsrm -frkarmaUnderscorees-shimsforms.envbinCSSpyyamlcloudwatchvarscollectionpnpm9assertiondeep-copyclidefinePropertytyped arrayelectronECMAScript 5schemaregular expressionszeroenvcurlspinnermergesettingsrangeerrorhookformstringifywhichexecuteequalproxycompilerreduceArrayBuffer#sliceio-tslookfast-copyStreamparentssetFloat64ArrayxmlObject.fromEntriescensorcomputed-typesObject.assignrandomECMAScript 2016walkingES2015findupECMAScript 2022StyleSheetequalityECMAScript 2021invalidvalueawesomesauceuser-streamssomeajaxeffect-tsremovefunctionalflattencommanderclass-validatornumberarraybufferfastcloneinstalleroutputtypedastRxzodemitstreamconcatMapObjectloggingstylingArraytapeECMAScript 6pluginloggeruuidArrayBufferintrinsicguidmonorepoglobal this valuereducerbabel-coreArrayBuffer.prototype.slicefastexecURLimportexportes-abstractgetintrinsicwebArray.prototype.findLastECMAScript 2018chinesedataViewes7jsonschemaArray.prototype.flatletnegativeinputlibphonenumberhttphtmlchaitypesafesetPrototypeOfwgetString.prototype.trimfast-clonedeletetslibses3dcloudfrontrequirestoragegatewayrssSymbol.toStringTagbyteOffsethasOwnomittrimEndserializescheme-validationinternales2015formruleslockfiletimeObject.getPrototypeOfSystem.globallinkenvironmentssource map6to5widthinvariantcolourawsforEachreact-hooksfantasy-landeslint-pluginselfruntimerecursiveArray.prototype.findLastIndexecmascriptschemeposespecbindES2019dynamodbWeakMapassignECMAScript 2019installflatMapsubprocesspreprocessorES2021es5expressfpssharedarraybufferpoint-freeReflect.getPrototypeOfPushInt8ArrayidleexecfilecolorsgetOwnPropertyDescriptorjoiobjectzxECMAScript 2020has-ownuninstallfeedmake dirESnextcomparejsdommanagerECMAScript 3argumentvareast-asian-widthttyoptimizerPromiseimmeracornutilitiesredux-toolkittsgroupBymanipulationdeep-clonetypeerrorroute53iesymbolweaksetendernegative zerocall-boundhashperformantyamlasyncUint8ClampedArraymkdirsshebangrgbharmonyreadablestreamfolderes2016readabledescriptorclassnameclassnamesparserconsolelogautoprefixerECMAScript 2017assertfilterdirectoryartString.prototype.matchAllcjkvpcformateslintlintfixed-widthtoolkitquerycoercibleObject.keyscacheistanbulspeedtoSortedpropertiesBigInt64Arrayrequestrapidrouterdeterministiccss-in-jsi18njsargswaapiespreeTypeScriptidentifiersprivate datadom-testing-libraryes2018ES8includessharedsymbolsArray.prototype.includesstreamsnodeinternal slotbundlerrestfulvestweakmapstarterES2022serializationreadUint16Arraygesturesdeepclonechromiumkeyses6mochadescriptorsprocessInt32Array[[Prototype]]languageassertswritableURLSearchParamsAsyncIteratorpostcss-plugintrimStartreworkrestworkspace:*Object.valuesl10ncloudtrailsameValueZerohelpersredirectrobustvalidatepostcssfast-deep-copypackage.jsoncryptocorecommand-lineparseresolvebrowserroutinglastjQuerywindowparentMapviewstringquotebyteevery.gitignorecolorconstgroupcloudsearchpipefast-deep-clonereact animationWeakSetpopmotionchilds3qstextdeepcopy
3.10.97

1 year ago

3.10.96

1 year ago

3.9.95

1 year ago

3.9.96

1 year ago

3.9.94

1 year ago

3.9.93

1 year ago

3.9.92

1 year ago

3.9.91

1 year ago

3.9.90

1 year ago

3.9.89

1 year ago

3.9.88

1 year ago

3.9.87

1 year ago

3.8.87

1 year ago

3.8.86

1 year ago

3.8.85

1 year ago

3.7.85

1 year ago

3.7.84

1 year ago

3.7.83

1 year ago

3.7.82

1 year ago

3.7.81

1 year ago

3.7.80

1 year ago

3.7.79

1 year ago

3.7.78

1 year ago

3.7.77

1 year ago

3.7.76

1 year ago

3.7.75

1 year ago

3.7.74

1 year ago

3.7.73

1 year ago

3.6.73

1 year ago

2.6.73

1 year ago

2.6.72

1 year ago

2.6.71

1 year ago

2.6.70

1 year ago

2.6.69

1 year ago

2.6.68

1 year ago

1.6.68

1 year ago

1.6.67

1 year ago

1.6.66

1 year ago

1.6.65

1 year ago

1.6.64

1 year ago

1.6.63

1 year ago

1.6.62

1 year ago

1.6.61

1 year ago

1.6.60

1 year ago

1.6.59

1 year ago

1.6.58

1 year ago

1.6.57

1 year ago

1.6.56

1 year ago

1.6.55

1 year ago

1.6.54

1 year ago

1.6.53

1 year ago

1.6.52

1 year ago

1.6.51

1 year ago

1.6.50

1 year ago

1.6.49

1 year ago

1.5.49

1 year ago

1.5.48

1 year ago

1.5.47

1 year ago

1.5.46

1 year ago

1.5.45

1 year ago

1.5.44

1 year ago

1.5.43

1 year ago

1.5.42

1 year ago

1.5.41

1 year ago

1.5.40

1 year ago

1.5.39

1 year ago

1.5.38

1 year ago

1.5.37

1 year ago

1.5.36

1 year ago

1.5.35

1 year ago

1.5.34

1 year ago

1.5.33

1 year ago

1.5.32

1 year ago

1.5.31

1 year ago

1.5.30

1 year ago

1.5.29

1 year ago

1.5.28

1 year ago

1.5.27

1 year ago

1.5.26

1 year ago

1.5.25

1 year ago

1.5.24

1 year ago

1.5.23

1 year ago

1.5.22

1 year ago

1.5.21

1 year ago

1.4.21

1 year ago

1.4.20

1 year ago

1.4.19

1 year ago

1.3.19

1 year ago

1.3.18

1 year ago

1.3.17

1 year ago

1.3.16

1 year ago

1.2.16

1 year ago

1.2.15

1 year ago

1.2.14

1 year ago

1.2.13

1 year ago

1.2.12

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

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.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago