1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
| {
| "name": "es-to-primitive",
| "version": "1.3.0",
| "author": "Jordan Harband <ljharb@gmail.com>",
| "funding": {
| "url": "https://github.com/sponsors/ljharb"
| },
| "description": "ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.",
| "license": "MIT",
| "main": "index.js",
| "scripts": {
| "prepack": "npmignore --auto --commentLines=autogenerated",
| "prepublish": "not-in-publish || npm run prepublishOnly",
| "prepublishOnly": "safe-publish-latest",
| "pretest": "npm run lint",
| "test": "npm run tests-only",
| "posttest": "npx npm@'>=10.2' audit --production",
| "tests-only": "nyc tape 'test/**/*.js'",
| "lint": "eslint --ext=js,mjs .",
| "postlint": "tsc && attw -P",
| "version": "auto-changelog && git add CHANGELOG.md",
| "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
| },
| "repository": {
| "type": "git",
| "url": "git://github.com/ljharb/es-to-primitive.git"
| },
| "keywords": [
| "primitive",
| "abstract",
| "ecmascript",
| "es5",
| "es6",
| "es2015",
| "toPrimitive",
| "coerce",
| "type",
| "object",
| "string",
| "number",
| "boolean",
| "symbol",
| "null",
| "undefined"
| ],
| "dependencies": {
| "is-callable": "^1.2.7",
| "is-date-object": "^1.0.5",
| "is-symbol": "^1.0.4"
| },
| "devDependencies": {
| "@arethetypeswrong/cli": "^0.17.0",
| "@ljharb/eslint-config": "^21.1.1",
| "@ljharb/tsconfig": "^0.2.0",
| "@types/for-each": "^0.3.3",
| "@types/function.prototype.name": "^1.1.3",
| "@types/is-callable": "^1.1.2",
| "@types/is-date-object": "^1.0.4",
| "@types/is-symbol": "^1.0.2",
| "@types/object-inspect": "^1.13.0",
| "@types/object-is": "^1.1.0",
| "@types/tape": "^5.6.4",
| "auto-changelog": "^2.5.0",
| "encoding": "^0.1.13",
| "es-value-fixtures": "^1.5.0",
| "eslint": "=8.8.0",
| "for-each": "^0.3.3",
| "function.prototype.name": "^1.1.6",
| "npmignore": "^0.3.1",
| "nyc": "^10.3.2",
| "object-inspect": "^1.13.3",
| "object-is": "^1.1.6",
| "safe-publish-latest": "^2.0.0",
| "tape": "^5.9.0",
| "typescript": "next"
| },
| "testling": {
| "files": "test/index.js"
| },
| "engines": {
| "node": ">= 0.4"
| },
| "auto-changelog": {
| "output": "CHANGELOG.md",
| "template": "keepachangelog",
| "unreleased": false,
| "commitLimit": false,
| "backfillLimit": false,
| "hideCredit": true,
| "startingVersion": "1.2.2"
| },
| "publishConfig": {
| "ignore": [
| ".github/workflows"
| ]
| }
|
| ,"_resolved": "https://registry.npmmirror.com/es-to-primitive/-/es-to-primitive-1.3.0.tgz"
| ,"_integrity": "sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g=="
| ,"_from": "es-to-primitive@^1.3.0"
| }
|
|