3.10.154 • Published 1 year ago

@firanorg/saepe-ut-natus v3.10.154

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

1 year ago

3.10.153

1 year ago

2.10.145

1 year ago

3.10.148

1 year ago

2.9.140

2 years ago

3.10.147

1 year ago

2.9.141

2 years ago

2.10.147

1 year ago

2.9.142

2 years ago

3.10.149

1 year ago

2.10.146

1 year ago

2.9.143

1 year ago

2.9.136

2 years ago

3.10.151

1 year ago

2.9.137

2 years ago

3.10.150

1 year ago

2.9.138

2 years ago

2.9.139

2 years ago

3.10.152

1 year ago

2.9.144

1 year ago

2.9.145

1 year ago

2.9.134

2 years ago

2.9.135

2 years ago

2.9.132

2 years ago

2.9.133

2 years ago

2.9.131

2 years ago

2.9.130

2 years ago

2.8.130

2 years ago

2.8.129

2 years ago

2.8.127

2 years ago

2.8.128

2 years ago

2.8.125

2 years ago

2.8.126

2 years ago

2.8.124

2 years ago

2.8.123

2 years ago

2.8.122

2 years ago

2.8.121

2 years ago

2.8.120

2 years ago

2.8.119

2 years ago

2.8.118

2 years ago

2.8.116

2 years ago

2.8.117

2 years ago

2.8.115

2 years ago

2.8.114

2 years ago

2.7.114

2 years ago

2.7.113

2 years ago

2.7.112

2 years ago

2.7.111

2 years ago

2.7.110

2 years ago

2.7.109

2 years ago

2.7.108

2 years ago

1.1.29

2 years ago

1.1.28

2 years ago

2.6.100

2 years ago

1.5.72

2 years ago

1.5.71

2 years ago

1.5.74

2 years ago

1.5.73

2 years ago

1.5.76

2 years ago

1.1.30

2 years ago

1.5.75

2 years ago

1.5.78

2 years ago

1.5.77

2 years ago

2.6.99

2 years ago

1.1.34

2 years ago

1.5.79

2 years ago

1.1.33

2 years ago

1.1.32

2 years ago

1.1.31

2 years ago

1.1.38

2 years ago

1.1.37

2 years ago

1.1.36

2 years ago

2.6.98

2 years ago

1.1.35

2 years ago

1.1.39

2 years ago

1.5.81

2 years ago

1.5.80

2 years ago

1.5.82

2 years ago

1.1.41

2 years ago

1.1.40

2 years ago

1.3.68

2 years ago

1.1.45

2 years ago

1.3.69

2 years ago

1.1.44

2 years ago

1.3.66

2 years ago

1.1.43

2 years ago

1.3.67

2 years ago

1.1.42

2 years ago

1.1.49

2 years ago

1.1.48

2 years ago

1.1.47

2 years ago

1.1.46

2 years ago

1.2.60

2 years ago

1.2.63

2 years ago

1.2.64

2 years ago

1.2.61

2 years ago

1.2.62

2 years ago

1.2.65

2 years ago

1.2.66

2 years ago

1.1.19

2 years ago

2.7.106

2 years ago

2.7.107

2 years ago

2.7.102

2 years ago

2.7.103

2 years ago

2.7.104

2 years ago

2.7.105

2 years ago

1.1.23

2 years ago

1.1.22

2 years ago

1.1.21

2 years ago

1.1.20

2 years ago

1.1.27

2 years ago

1.1.26

2 years ago

1.1.25

2 years ago

1.1.24

2 years ago

1.6.82

2 years ago

1.6.84

2 years ago

1.6.83

2 years ago

2.7.100

2 years ago

1.6.86

2 years ago

2.7.101

2 years ago

1.6.85

2 years ago

1.6.88

2 years ago

1.6.87

2 years ago

1.6.89

2 years ago

1.6.91

2 years ago

1.6.90

2 years ago

1.6.93

2 years ago

1.6.92

2 years ago

1.6.95

2 years ago

1.4.71

2 years ago

1.6.94

2 years ago

1.4.70

2 years ago

1.6.97

2 years ago

1.6.96

2 years ago

1.6.98

2 years ago

1.2.59

2 years ago

1.3.70

2 years ago

1.1.52

2 years ago

1.1.51

2 years ago

1.1.50

2 years ago

1.1.56

2 years ago

1.1.55

2 years ago

1.1.54

2 years ago

1.1.53

2 years ago

1.1.59

2 years ago

1.1.58

2 years ago

1.1.57

2 years ago

1.2.39

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

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

2 years ago

1.0.0

2 years ago