You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@diotoborg/et-asperiores

Package Overview
Dependencies
Maintainers
0
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@diotoborg/et-asperiores

ArrayBuffer.prototype.detached <sup>[![Version Badge][npm-version-svg]][package-url]</sup>


Version published
Maintainers
0
Created

Readme

Source

ArrayBuffer.prototype.detached Version Badge

Build Status License Downloads

npm badge

browser support

An ES6 spec-compliant ArrayBuffer.prototype.detached shim. Invoke its "shim" method to shim ArrayBuffer.prototype.detached if it is unavailable. Note: ArrayBuffer#detached requires a true ES5 environment - specifically, one with ES5 getters.

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

Most common usage:

var detached = require('@diotoborg/et-asperiores');

assert(detached(new ArrayBuffer('a') === false);

if (!ArrayBuffer.prototype.detached) {
	detached.shim();
}

assert(new ArrayBuffer('a').detached, false);

Tests

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

Keywords

FAQs

Package last updated on 26 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc