typed-array-byte-offset 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/index.js +1 -1
  3. package/package.json +10 -8
package/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [v1.0.1](https://github.com/inspect-js/typed-array-byte-offset/compare/v1.0.0...v1.0.1) - 2024-02-17
9
+
10
+ ### Commits
11
+
12
+ - [Dev Deps] update `aud`, `npmignore`, `object-inspect`, `tape` [`ffe7494`](https://github.com/inspect-js/typed-array-byte-offset/commit/ffe7494826fbb6d6bd11c40e03619b12a4ec2266)
13
+ - [Deps] update `available-typed-arrays`, `call-bind`, `is-typed-array` [`3006bd7`](https://github.com/inspect-js/typed-array-byte-offset/commit/3006bd7e343d191093802473277801d12bfdc7b2)
14
+ - [Refactor] use `gopd` [`45827ea`](https://github.com/inspect-js/typed-array-byte-offset/commit/45827ea7d9709cb1b3a9f2313eed76b71052b9c5)
15
+ - [Dev Deps] update `tape` [`e33d080`](https://github.com/inspect-js/typed-array-byte-offset/commit/e33d080ef6488b5f15afe1078a9e5711d9656538)
16
+ - [meta] add `sideEffects` flag [`f1dc0db`](https://github.com/inspect-js/typed-array-byte-offset/commit/f1dc0db73c1c4b93c15076602a3e30353878312c)
17
+
8
18
  ## v1.0.0 - 2023-06-06
9
19
 
10
20
  ### Commits
package/index.js CHANGED
@@ -8,7 +8,7 @@ var typedArrays = require('available-typed-arrays')();
8
8
  var getters = {};
9
9
  var hasProto = require('has-proto')();
10
10
 
11
- var gOPD = Object.getOwnPropertyDescriptor;
11
+ var gOPD = require('gopd');
12
12
  var oDP = Object.defineProperty;
13
13
  if (gOPD) {
14
14
  var getByteOffset = function (x) {
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "typed-array-byte-offset",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Robustly get the byte offset of a Typed Array",
5
5
  "main": "index.js",
6
6
  "exports": {
7
7
  ".": "./index.js",
8
8
  "./package.json": "./package.json"
9
9
  },
10
+ "sideEffects": false,
10
11
  "scripts": {
11
12
  "prepack": "npmignore --auto --commentLines=autogenerated",
12
13
  "prepublishOnly": "safe-publish-latest",
@@ -54,15 +55,16 @@
54
55
  },
55
56
  "homepage": "https://github.com/inspect-js/typed-array-byte-offset#readme",
56
57
  "dependencies": {
57
- "available-typed-arrays": "^1.0.5",
58
- "call-bind": "^1.0.2",
58
+ "available-typed-arrays": "^1.0.6",
59
+ "call-bind": "^1.0.7",
59
60
  "for-each": "^0.3.3",
61
+ "gopd": "^1.0.1",
60
62
  "has-proto": "^1.0.1",
61
- "is-typed-array": "^1.1.10"
63
+ "is-typed-array": "^1.1.13"
62
64
  },
63
65
  "devDependencies": {
64
66
  "@ljharb/eslint-config": "^21.1.0",
65
- "aud": "^2.0.2",
67
+ "aud": "^2.0.4",
66
68
  "auto-changelog": "^2.4.0",
67
69
  "eslint": "=8.8.0",
68
70
  "evalmd": "^0.0.19",
@@ -70,11 +72,11 @@
70
72
  "is-callable": "^1.2.7",
71
73
  "make-arrow-function": "^1.2.0",
72
74
  "make-generator-function": "^2.0.0",
73
- "npmignore": "^0.3.0",
75
+ "npmignore": "^0.3.1",
74
76
  "nyc": "^10.3.2",
75
- "object-inspect": "^1.12.3",
77
+ "object-inspect": "^1.13.1",
76
78
  "safe-publish-latest": "^2.0.0",
77
- "tape": "^5.6.3"
79
+ "tape": "^5.7.5"
78
80
  },
79
81
  "engines": {
80
82
  "node": ">= 0.4"