File tree 2 files changed +3
-15
lines changed
2 files changed +3
-15
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- var define = require ( 'define-properties' ) ;
4
-
5
- var implementation = require ( './implementation' ) ;
6
3
var getPolyfill = require ( './polyfill' ) ;
7
- var shim = require ( './shim' ) ;
8
-
9
- var polyfill = getPolyfill ( ) ;
10
-
11
- define ( polyfill , {
12
- getPolyfill : getPolyfill ,
13
- implementation : implementation ,
14
- shim : shim
15
- } ) ;
16
4
17
- module . exports = polyfill ;
5
+ module . exports = getPolyfill ( ) ;
Original file line number Diff line number Diff line change 18
18
"prepublish" : " not-in-publish || npm run prepublishOnly" ,
19
19
"pretest" : " npm run lint" ,
20
20
"lint" : " eslint --ext=js,mjs ." ,
21
- "postlint" : " es-shim-api --bound " ,
21
+ "postlint" : " es-shim-api --type=constructor " ,
22
22
"tests-only" : " nyc tape 'test/**/*.js'" ,
23
23
"test" : " npm run tests-only" ,
24
24
"posttest" : " npx npm@'>=10.2' audit --production" ,
48
48
},
49
49
"homepage" : " https://github.com/es-shims/Set#readme" ,
50
50
"devDependencies" : {
51
- "@es-shims/api" : " =2.5.0 " ,
51
+ "@es-shims/api" : " ^3.0.1 " ,
52
52
"@ljharb/eslint-config" : " ^21.1.1" ,
53
53
"array.from" : " ^1.1.6" ,
54
54
"auto-changelog" : " ^2.5.0" ,
You can’t perform that action at this time.
0 commit comments