Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
bfb5224c
Unverified
Commit
bfb5224c
authored
Feb 22, 2019
by
Tim Neutkens
Committed by
GitHub
Feb 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove schema-utils dependency (#6413)
parent
6d17a93b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
15 deletions
+9
-15
index.js
.../build/webpack/plugins/terser-webpack-plugin/src/index.js
+0
-5
package.json
packages/next/package.json
+0
-1
yarn.lock
yarn.lock
+9
-9
No files found.
packages/next/build/webpack/plugins/terser-webpack-plugin/src/index.js
View file @
bfb5224c
...
@@ -8,19 +8,14 @@ import { SourceMapConsumer } from 'source-map';
...
@@ -8,19 +8,14 @@ import { SourceMapConsumer } from 'source-map';
import
{
SourceMapSource
,
RawSource
,
ConcatSource
}
from
'webpack-sources'
;
import
{
SourceMapSource
,
RawSource
,
ConcatSource
}
from
'webpack-sources'
;
import
RequestShortener
from
'webpack/lib/RequestShortener'
;
import
RequestShortener
from
'webpack/lib/RequestShortener'
;
import
ModuleFilenameHelpers
from
'webpack/lib/ModuleFilenameHelpers'
;
import
ModuleFilenameHelpers
from
'webpack/lib/ModuleFilenameHelpers'
;
// import validateOptions from 'schema-utils';
import
serialize
from
'serialize-javascript'
;
import
serialize
from
'serialize-javascript'
;
import
terserPackageJson
from
'terser/package.json'
;
import
terserPackageJson
from
'terser/package.json'
;
import
schema
from
'./options.json'
;
import
TaskRunner
from
'./TaskRunner'
;
import
TaskRunner
from
'./TaskRunner'
;
const
warningRegex
=
/
\[
.+:
([
0-9
]
+
)
,
([
0-9
]
+
)\]
/
;
const
warningRegex
=
/
\[
.+:
([
0-9
]
+
)
,
([
0-9
]
+
)\]
/
;
class
TerserPlugin
{
class
TerserPlugin
{
constructor
(
options
=
{})
{
constructor
(
options
=
{})
{
// validateOptions(schema, options, 'Terser Plugin');
const
{
const
{
minify
,
minify
,
terserOptions
=
{},
terserOptions
=
{},
...
...
packages/next/package.json
View file @
bfb5224c
...
@@ -79,7 +79,6 @@
...
@@ -79,7 +79,6 @@
"react-is"
:
"16.6.3"
,
"react-is"
:
"16.6.3"
,
"recursive-copy"
:
"2.0.6"
,
"recursive-copy"
:
"2.0.6"
,
"resolve"
:
"1.5.0"
,
"resolve"
:
"1.5.0"
,
"schema-utils"
:
"1.0.0"
,
"serialize-javascript"
:
"1.4.0"
,
"serialize-javascript"
:
"1.4.0"
,
"source-map"
:
"0.6.1"
,
"source-map"
:
"0.6.1"
,
"strip-ansi"
:
"3.0.1"
,
"strip-ansi"
:
"3.0.1"
,
...
...
yarn.lock
View file @
bfb5224c
...
@@ -10671,15 +10671,6 @@ scheduler@^0.13.0:
...
@@ -10671,15 +10671,6 @@ scheduler@^0.13.0:
loose-envify "^1.1.0"
loose-envify "^1.1.0"
object-assign "^4.1.1"
object-assign "^4.1.1"
schema-utils@1.0.0, schema-utils@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770"
integrity sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==
dependencies:
ajv "^6.1.0"
ajv-errors "^1.0.0"
ajv-keywords "^3.1.0"
schema-utils@^0.4.4:
schema-utils@^0.4.4:
version "0.4.7"
version "0.4.7"
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.4.7.tgz#ba74f597d2be2ea880131746ee17d0a093c68187"
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.4.7.tgz#ba74f597d2be2ea880131746ee17d0a093c68187"
...
@@ -10688,6 +10679,15 @@ schema-utils@^0.4.4:
...
@@ -10688,6 +10679,15 @@ schema-utils@^0.4.4:
ajv "^6.1.0"
ajv "^6.1.0"
ajv-keywords "^3.1.0"
ajv-keywords "^3.1.0"
schema-utils@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770"
integrity sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==
dependencies:
ajv "^6.1.0"
ajv-errors "^1.0.0"
ajv-keywords "^3.1.0"
scss-tokenizer@^0.2.3:
scss-tokenizer@^0.2.3:
version "0.2.3"
version "0.2.3"
resolved "https://registry.yarnpkg.com/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz#8eb06db9a9723333824d3f5530641149847ce5d1"
resolved "https://registry.yarnpkg.com/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz#8eb06db9a9723333824d3f5530641149847ce5d1"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment