The latest deprecation feature has a small bug which can be seen here. We were passing in the names of the packages directly from the package.json property which is formatted with quotations but the npm deprecate command does not like that.
Approach
Inside synchronize-with-npm the package names are being filtered so that any quotation marks at the beginning and end of the string is removed.
Motivation
The latest deprecation feature has a small bug which can be seen here. We were passing in the names of the packages directly from the
package.json
property which is formatted with quotations but thenpm deprecate
command does not like that.Approach
Inside
synchronize-with-npm
the package names are being filtered so that any quotation marks at the beginning and end of the string is removed.