File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed
docs/migration-guides/lodash Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 1+ # /
2+ # @license Apache-2.0
3+ #
4+ # Copyright (c) 2020 The Stdlib Authors.
5+ #
6+ # Licensed under the Apache License, Version 2.0 (the "License");
7+ # you may not use this file except in compliance with the License.
8+ # You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing, software
13+ # distributed under the License is distributed on an "AS IS" BASIS,
14+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ # See the License for the specific language governing permissions and
16+ # limitations under the License.
17+ # /
18+
19+ # Configuration for [npm][1].
20+ #
21+ # [1]: https://docs.npmjs.com/files/npmrc
22+
23+ # Disable the creation of a lock file:
24+ package-lock = false
25+ shrinkwrap = false
26+
27+ # Disable automatically "saving" dependencies on install:
28+ save = false
Original file line number Diff line number Diff line change 2020
2121// MODULES //
2222
23+ var resolve = require ( 'path' ) . resolve ;
2324var bench = require ( '@stdlib/bench' ) ;
2425var isnan = require ( '@stdlib/math/base/assert/is-nan' ) ;
2526var randu = require ( '@stdlib/random/base/randu' ) ;
@@ -31,7 +32,7 @@ var pkg = require( './../package.json' ).name;
3132
3233// VARIABLES //
3334
34- var _ = tryRequire ( ' lodash' ) ;
35+ var _ = tryRequire ( resolve ( __dirname , '..' , 'node_modules' , ' lodash' ) ) ;
3536var opts = {
3637 'skip' : ( _ instanceof Error )
3738} ;
You can’t perform that action at this time.
0 commit comments