3.10.154 • Published 9 months ago

@firanorg/saepe-ut-natus v3.10.154

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

ArrayBuffer.prototype.slice Version Badge

github actions coverage License Downloads

npm badge

An ES spec-compliant ArrayBuffer.prototype.slice shim. Invoke its "shim" method to shim ArrayBuffer.prototype.slice if it is unavailable.

This package implements the es-shim API interface. It works in an ES5-supported environment and complies with the spec.

Most common usage:

var assert = require('assert');
var slice = require('@firanorg/saepe-ut-natus');

var ab = new ArrayBuffer(1);
var arr = new Uint8Array(ab);
arr[0] = 123;

var ab2 = slice(ab);

var arr2 = new Uint8Array(ab2);
arr2[0] = 234;

assert.deepEqual(arr, new Uint8Array([123]));
assert.deepEqual(arr2, new Uint8Array([234]));

if (!ArrayBuffer.prototype.transfer) {
	slice.shim();
}

var ab2 = ab.slice();

var arr2 = new Uint8Array(ab2);
arr2[0] = 234;

assert.deepEqual(arr, new Uint8Array([123]));
assert.deepEqual(arr2, new Uint8Array([234]));

Tests

Simply clone the repo, npm install, and run npm test

windowspostcss-pluginfunctionssymbolswrapcolumnsAsyncIteratorprocessio-ts@@toStringTagworkerreducephoneargumentpipeimportECMAScript 2021ECMAScript 7errorassertBigInt64ArrayES2015statelessmodulepropertycloudsearchcolorpicomatchdirectoryrm -frRxJSstringsidetapepatheast-asian-widthirqvisualcompilerartswfgradients css3schemetouchsymlinkECMAScript 3grouppropertiessortedparentnodejslinewrapRFC-6455ObservablesdayjsaccessibilitysinatraautoprefixervpcbusyJSONpnpm9Symboldeep-clonekeyshebangconfigurablePromiseliveESECMAScript 2022scheme-validationflattencall-bindArraynamesArray.prototype.containselectron256commandertypescriptprivate datanegative zerohashArray.prototype.flatMapstablequerytasktypedsymlinkstestersuperagentRegExp#flagsspeedfpsincludesbluebirdwidthcryptObject.valuesURLSearchParamsinstallerfast-clonebindless compilerform-validationpruneawswritablereadablestreamrm -rfgenericsPusharraysfilefastcloneESnextutilitiessqssespredictablemimetelephoneterminalvestfigletnativeequalitychrometypedarraybatchMicrosoftajaxfast-copytypesafeFunction.prototype.namereal-timeenumerablepackage managerxhrObject.assignawaitinsigintcharacterfetchperformanceextradropcss nestingjapanesecontainsBigUint64ArrayObject.getPrototypeOfrmregularparentssharedarraybuffermappersistentutil.inspectCSSStyleDeclarationsliceloggerpackagekarmaprefixtypanionrangeerrortrimStartproxyFloat64Arraysignalsreact-testing-librarycloneinferenceboundtoStringTagenderglobalhttpimportexportlimitedArrayBuffer.prototype.slicereact-hooksjsdiffclassnamesmetadatauuidjwtwget.envString.prototype.matchAllthroatopensearchapiprotodynamodbvalidshrinkwrapwatcherwatchingdatastructurenegativees-shim APIreact-hook-formglobcsstoArraytsoptimizerparsinggetintrinsicRegExp.prototype.flagsfseventsarktypecodeslengthavaroute53stringifierqueues3a11ysettingsstylingconcurrencyenvsetPrototypeOfRxdateownjQueryECMAScript 2015shellkeysbufferassignhaseslintArray.prototype.includescheckmimetypesstoragegatewayeventEmitterbyteLengthfastcopycommand-lineserializebddbundlerdependency manageres8ES7syntaxerrorcircularconsole$.extenddescriptionreadablepackagesrestmkdirebsdescriptorminimalstructuredCloneassertstslibweakmapruntimeoffsetelmsignalES3jasminetypeofcloudfronttypetakeaccessorinvariantnpmwhatwginternalmake dirregular expressionsspeccss variablesetternested cssinstallfunctionalagentflagsES2023es-shimsdeepstylefunctionimmutableoptionoptimistframeworkvariablesECMAScript 2016browserslistautoscalingStyleSheethandlerseslintpluginrestfullinuxclass-validatorauthObject.isbuffersfindobjprettyeventDispatcherdataconnectredactcollection.es6corefullwidthelbsetfindLastcollectionsequencechinesecallbacksafewordwrapcliprivatemruequalcode pointsvalueemojiTypedArrayrateairbnbemrzodtoSortedECMAScript 2017classnameformexeces2017javascriptconcatMapfoldersymbolfind-upUnderscoredataviewformatcompile lessstdlibamazonreuseformattingremovestatusextendproplazyUint8ClampedArray0package.json_.extendfindLastIndexrgbpluginl10nrecursiveprotocol-buffersyupcreateerror-handlinglimitconcatidObject.entriesperformantfsObservableforEacheventsES5callboundgetPrototypeOfbeanstalklibphonenumberwatchFileglacierUint8ArraystylesxtermjsonthrottletextWeakSetpreprocessorpreserve-symlinkses-abstractomitfast-deep-clonemomenthasOwnPropertycopy
3.10.154

9 months ago

3.10.153

9 months ago

2.10.145

9 months ago

3.10.148

9 months ago

2.9.140

10 months ago

3.10.147

9 months ago

2.9.141

10 months ago

2.10.147

9 months ago

2.9.142

10 months ago

3.10.149

9 months ago

2.10.146

9 months ago

2.9.143

10 months ago

2.9.136

10 months ago

3.10.151

9 months ago

2.9.137

10 months ago

3.10.150

9 months ago

2.9.138

10 months ago

2.9.139

10 months ago

3.10.152

9 months ago

2.9.144

10 months ago

2.9.145

10 months ago

2.9.134

10 months ago

2.9.135

10 months ago

2.9.132

10 months ago

2.9.133

10 months ago

2.9.131

10 months ago

2.9.130

10 months ago

2.8.130

10 months ago

2.8.129

10 months ago

2.8.127

10 months ago

2.8.128

10 months ago

2.8.125

10 months ago

2.8.126

10 months ago

2.8.124

10 months ago

2.8.123

10 months ago

2.8.122

10 months ago

2.8.121

10 months ago

2.8.120

10 months ago

2.8.119

10 months ago

2.8.118

10 months ago

2.8.116

11 months ago

2.8.117

10 months ago

2.8.115

11 months ago

2.8.114

11 months ago

2.7.114

11 months ago

2.7.113

11 months ago

2.7.112

11 months ago

2.7.111

11 months ago

2.7.110

11 months ago

2.7.109

11 months ago

2.7.108

11 months ago

1.1.29

1 year ago

1.1.28

1 year ago

2.6.100

11 months ago

1.5.72

12 months ago

1.5.71

12 months ago

1.5.74

12 months ago

1.5.73

12 months ago

1.5.76

12 months ago

1.1.30

1 year ago

1.5.75

12 months ago

1.5.78

12 months ago

1.5.77

12 months ago

2.6.99

11 months ago

1.1.34

1 year ago

1.5.79

12 months ago

1.1.33

1 year ago

1.1.32

1 year ago

1.1.31

1 year ago

1.1.38

1 year ago

1.1.37

1 year ago

1.1.36

1 year ago

2.6.98

11 months ago

1.1.35

1 year ago

1.1.39

1 year ago

1.5.81

12 months ago

1.5.80

12 months ago

1.5.82

12 months ago

1.1.41

1 year ago

1.1.40

1 year ago

1.3.68

1 year ago

1.1.45

1 year ago

1.3.69

1 year ago

1.1.44

1 year ago

1.3.66

1 year ago

1.1.43

1 year ago

1.3.67

1 year ago

1.1.42

1 year ago

1.1.49

1 year ago

1.1.48

1 year ago

1.1.47

1 year ago

1.1.46

1 year ago

1.2.60

1 year ago

1.2.63

1 year ago

1.2.64

1 year ago

1.2.61

1 year ago

1.2.62

1 year ago

1.2.65

1 year ago

1.2.66

1 year ago

1.1.19

1 year ago

2.7.106

11 months ago

2.7.107

11 months ago

2.7.102

11 months ago

2.7.103

11 months ago

2.7.104

11 months ago

2.7.105

11 months ago

1.1.23

1 year ago

1.1.22

1 year ago

1.1.21

1 year ago

1.1.20

1 year ago

1.1.27

1 year ago

1.1.26

1 year ago

1.1.25

1 year ago

1.1.24

1 year ago

1.6.82

12 months ago

1.6.84

12 months ago

1.6.83

12 months ago

2.7.100

11 months ago

1.6.86

12 months ago

2.7.101

11 months ago

1.6.85

12 months ago

1.6.88

12 months ago

1.6.87

12 months ago

1.6.89

12 months ago

1.6.91

11 months ago

1.6.90

11 months ago

1.6.93

11 months ago

1.6.92

11 months ago

1.6.95

11 months ago

1.4.71

1 year ago

1.6.94

11 months ago

1.4.70

1 year ago

1.6.97

11 months ago

1.6.96

11 months ago

1.6.98

11 months ago

1.2.59

1 year ago

1.3.70

1 year ago

1.1.52

1 year ago

1.1.51

1 year ago

1.1.50

1 year ago

1.1.56

1 year ago

1.1.55

1 year ago

1.1.54

1 year ago

1.1.53

1 year ago

1.1.59

1 year ago

1.1.58

1 year ago

1.1.57

1 year ago

1.2.39

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

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

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago